|
hi all...
i need some help if anyone have an idea about
3d object reconstruction from 2d images
all u have may be useful....
algorithms...samples...libraries
please contact on ibrahimsaleh@msn.com
thank u all
ibrahim saleh
|
|
|
|
|
You should try OpenCv, an Open source image processing library from intel.
It contains some stereo vision applications which you might find useful. if you are using cameras it also contains camera calibration functions.
The library also has Hough Transforms which you can use to find known lines in your images which you could use in 3D transformations.
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
Hi,
I would like to have all the UI strings in the resource file (including the strings for the messageboxes). How can I put them in the resource file and retrieve them?
Thanks,
|
|
|
|
|
You can either add them manually to the .rc file, or do it through the IDE. Just click the ResourceView tab in the Workspace pane. Double-click the String Table resource type, and press the INS key.
To retrieve the values, use LoadString() .
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Go to the resource view in the work space pane and select "String Table", then add your strings.
In your code call LoadString(...) (sdk version or CString version).
INTP
|
|
|
|
|
Go to Project->Add Resource menu item. Select "String Table" and Hit "New". The string editor should come up where you can add strings.
To retrieve them:
Using MFC:
CString strText((LPCTSTR)IDS_MY_TEXT);
or
CString strText;
strText.LoadString( IDS_MY_TEXT );
Non-MFC:
TCHAR pszText[MAX_TEXT];
::LoadString( GetModuleHandle(NULL), IDS_MY_TEXT, pszText, MAX_TEXT )
____________________________________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
|
|
|
|
|
Hi,
I got a big problem, beacause till now, I implemented all my visual lists as a normal CListBox where I had the very useful Function OnSelChange which told me, when the selection changed by Mouse or keyboard. But now, I do have some Lists with multi-columns which I can't handle with the normal CListBox (even not with tabulators). Of course, I took the Report-Style of the CListCtrl-Class. But now, I don't get notified, when the selection changes, which is very important beacause for each selection, there are other Things to be displayed. So my question is:
Is there Notification-Function for to get notified, if the selection changes?
Very lot of thank you for you.
|
|
|
|
|
Manderby wrote:
...CListBox where I had the very useful Function OnSelChange which told me, when the selection changed by Mouse or keyboard.
Now you must handle the LVN_ITEMCHANGED notification.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
I have a remote Win 2K computer on my network which is sharing two folders and these folders are writable to me because I can create files within them. However, when I call NetShareGetInfo ("Path",502,etc. etc.) I get "Access Denied" error because according to documentation I have to be member of admin group on the remote computer.
My question is how can I understand if a share is writable or not ?
I tried to use GetFileSecurity API but I failed because it is too complicated for me. I could not understand how to use it.
Which API I should be using and how ?
Can somebody help me with this please.
Thanks,
Orcun Colak
|
|
|
|
|
Hello!
Try to use
SHPathPrepareForWrite
GetAttributesOf
SHGetFileInfo with SHGFI_ATTRIBUTES
Have a nice day
|
|
|
|
|
how can i communicate with an usb-printer?
the programm for my printer doesn't work korrektly. so i'm going to write a new one.
i hope somebody could help me.
thank you BladeIII
(No Vampires but Programmers)
|
|
|
|
|
When I try to use
pIAMM->DeviceNumGet(WAVE_MAPPER);
I get the error 'WAVE_MAPPER' : undeclared identifier
I've read I can use WAVE_MAPPER if a specific device is not set but, must I declare WAVE_MAPPER?
I have no idea
|
|
|
|
|
What class does DeviceNumGet() belong to? Have you #includ ed the right .h file(s)?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
It is a member function of the IAudioMultiMediaDevice interface. I have just realised I've forgotten a needed .h file as you said.
Thank you!
|
|
|
|
|
Is there a standard way in c (not c++) to down cast
and get the maximum value if "loose significant digits"?
e.g.
/* ISO-c99: */
#include <stdint.h>
int16_t cast32To16( int32_t the32)
{
if( the32 => INT16_MAX )
return INT16_MAX;
if( the32 <= INT16_MIN )
return INT16_MIN;
return (int16_t) the32;
}
Friedrich
|
|
|
|
|
Ralf Friedrich Hain wrote:
Is there a standard way in c (not c++) to down cast
and get the maximum value if "loose significant digits"?
Answer: No!
INTP
|
|
|
|
|
Hi, can someone tell me how I can do to have a pointer from my ToolBar ?
because : I put 2 ComboBoxon the ToolBar and I want to initialise it from the App or the View and select an item before it appears.
Thanks.
|
|
|
|
|
((CMainFrame*)AfxGetMainWnd())->m_wndToolBar
cheers
|
|
|
|
|
Looking to see if someone is familiar with this senerio. Got a VC++ 6.0 .exe that must communicate using DCOM with a C# .dll, and it has been difficult to get these working together, if this is even possible. Any help would be appreciated.
Thanks,
Steve
|
|
|
|
|
stevew023 wrote:
Looking to see if someone is familiar with this senerio. Got a VC++ 6.0 .exe that must communicate using DCOM with a C# .dll, and it has been difficult to get these working together, if this is even possible. Any help would be appreciated.
Have a search on MSDN for "Com Callable Wrapper".
Michael
But you know when the truth is told,
That you can get what you want or you can just get old,
Your're going to kick off before you even get halfway through.
When will you realise... Vienna waits for you? - "The Stranger," Billy Joel
|
|
|
|
|
I want to be able to read the "cdText" that's on a music cd.
Is this possible? And more important, is there any source code I can use.
Frank van der Horst
Una Corda 33
Krimpen aan den IJssel
The Netherlands
|
|
|
|
|
I believe that it is only possible (a) if there is CD-TEXT on the disk (of course), and (b) the drive supports it.
Don't know of any source, might be worth looking on SourceForge at the CD rippers. I know that dBPowerAmp's CD grabber supports it if the drive does (at least, it's a checkable option).
Steve S
|
|
|
|
|
I am trying to create a bitmap for a DC using CreateCompatibleBitmap.
But I have the problem that my bitmap can be very large. Say 6000x4000 pixel with (32bit).
If I try to create such a large bitmap CreateCompatibleBitmap always fails and GetLastError returns ERROR_NOT_ENOUGH_MEMORY.
OK, I have a large bitmap but I should have enough memory on my PC for such a large bitmap...
So why has CreateCompatibleBitmap such problems to find enough memory?
Can I split the bitmap in more junks automatically e.g. using a DIB instead of the DDB?
Any response welcome.
Thanks in advance
|
|
|
|
|
You should be able to create bitmaps of the size mentioned, even though it does require 96000000 bytes of memory (image bits only).
CodeBrain wrote:
Can I split the bitmap in more junks automatically e.g. using a DIB instead of the DDB?
Answer: No, you would have to write your own code to split it into smaller chunks.
I recommend going to the bitmap section and see if any of those programs has the same problem.
Good luck!
INTP
|
|
|
|
|
I made some additional tests. I have found out that 6000x4000 works, but 6000x4100 does not work.
I will take a look on the bitmap section, maybe I'll find something.
|
|
|
|