|
since the camera is moving u r unable to identify that wheater it is a camera
movement / object movement.
Right !!
Grab 3 t 5 image in specific intervel of time, see to that the u need to set the time intervel so that , u will not have any motion in the camera with in this interval(THE CAMERA SHOULD BE MOTION LESS WITH WITH THIS INTERVEL ), and u apply some pattern reco./ and also check the size to the stable object,
(but u need to thing over for the very very slow motion obstacles)
ok any how try it , first , it will not be a major problem
Hope u got the LOGIG
and also to forget to inform how far u sucecceded
ALL THE BEST
|
|
|
|
|
what we can do with NAT API?
JAYARAJ
|
|
|
|
|
What do you want to do? Only the Server OS's have a NAT service (Windows 98 and later have Internet Connection Sharing, which has a very primitive NAT implementation), and I don't think it can be configured by other applications.
If you're talking about client-side NAT (using a NAT-enabled firewall), there's no reason to do so - it's completely transparent to your computer.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
The Network Address Translation (NAT) Traversal API provides applications with the ability to configure port mappings on a remote Internet Gateway Device (IGD) that uses NAT. The IGD could be a personal computer running Windows XP with Internet Connection Sharing and Internet Connection Firewall (ICS/ICF) enabled, a personal computer running software that provides NAT, or it could be a dedicated hardware device.
I got these information from MSDN 2003.
JAYARAJ
|
|
|
|
|
i have to do object tracking(vehicle tracking) i.e like a security system.can anyone give me hint how can i do that.
|
|
|
|
|
while interfacing oscilloscope with pc,can i plot real time display of oscilloscope in pc using vc++?
where do i refer?
please do reply..
with warm regards
nimmy
|
|
|
|
|
It depends of what you mean exactly by 'real time' ? What is the accuracy needed ?
|
|
|
|
|
what i am doing actually is z-scan experimetnt to analyze a sample.each sample ll give a unique signature..while doing the experiment,a window should be opened so that the user can input the necessary data.. and with the data energy versus position graph should be plotted..
now it is being done using xmgrace in linux..
my project is to switch it to windows..so i have to find a graph plot software in windows.. can i do it in visual basic or something like that? other interfacing part is written in c.. so i have to call the graph plot part from c..
with warm regards
nimmy
|
|
|
|
|
You can do it in C++ but you'll have to use a win32 app at least (MFC is better because it will be easier). Do you have any experience with the MFC ?
If you want, there are some plot controls on this website. I developped also a chart control that can be used for real-time data (what I did, was to plot a point approx every 30 msec). This was working fine on a PDA so it will work even better on a computer.
If you are interested, I can find the sources and send them to you (I have to search a little for that). But unfortunately there is no real documentation with it.
|
|
|
|
|
i have no previous experiance with MFC..
it would be very helpful,if u can send it.
thanks
with warm regards
nimmy
|
|
|
|
|
hi! everybody,
I use AnimateWindow to do some special effects and it works well.
But when I put some controls(like edit label button...) on it,then the window shows nothing.
I try to find something solutions out...,
MSDN wants me to take care WM_PRINT or WM_PRINTCLIENT messages, if I use AnimateWindow.
I have no idea how to draw the controls on WM_PRINTCLIENT by myself.
by the way I use DrawText in WM_PRINTCLIENT it is ok.
Any one can help me?! thank you very much.
Bill Lin
|
|
|
|
|
BillTPE wrote: I have no idea how to draw the controls on WM_PRINTCLIENT by myself.
Send the controls a WM_PRINT message to get them to print themselves.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
thank you, i will try it soon.
|
|
|
|
|
someone tell me it from crt0.c any way, is it global variable?
I think it must a global variable. because it be used in my app without passed . forexample
void myfunc()
{
string c = __targv[0]; //__targv is not be pass to the function.
//but it can be use ,so it must a global
}
|
|
|
|
|
If 2 same global variable exist in seperate dll or lib.
must a conflict happen?
|
|
|
|
|
For libs you may have a conflict.
Not for a DLL.
Steve
|
|
|
|
|
Hello,
Why do you have the same variable in 2 locations? Do they share the same purpose? If not, do they share the same namespace? If the answer to the last question is 'yes', you have a problem. This problem will only surface if you use the headers of both the DLL and the static library. You'll get name collissions. To solve this problem, you need to put the variables in different namespaces or give them other names.
Hope this helps.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Good day!
I have a little Problem with the MFC...
I have a static box for Pictures. I use a global variable. This variable changes...
now my problem: i want that different pictures change in my static box -> the global variable must control the picture box.
Example: I have 3 Pictures: IDB_PIC1, IDB_PIC2, IDB_PIC3...
now the variable has (is an integer) contains 1-> the static box must now show the first picture (IDB_PIC1), than the variable changes to 2 -> now the static box must show me the picture2 (IDB_PIC2)
how can i realize this?
-- modified at 18:26 Wednesday 1st March, 2006
|
|
|
|
|
charass wrote: Example: I have 3 Pictures: IDB_PIC1, IDB_PIC2, IDB_PIC3...
Make them strings! In the resource editor when naming them surround them with quotes. For eg: "IDB_PIC1"
Now you can get the name of the picture you want based on the global variable like this...
CString picToBeUsed;
picToBeUsed.Format("IDB_PIC%d", g_globalVariable);
Now load the bitmap and place it on the static control.
CBitmap bmp;
bmp.LoadBitmap(picToBeUsed);
m_static.SetBitmap(bmp);
Nibu thomas
Software Developer
|
|
|
|
|
I did it! But there is an error...
Name of Pic.: IDB_PIC1
Name of Global variable: Promille
Name of the static Picture Box: IDC_PIC_Moe
void CAlkoholmaschineDlg::OnB_Likoer(){
CString IDB_PIC1;
IDB_PIC1.Format(IDB_PIC1, Promille);
CBitmap bmp;
bmp.LoadBitmap(IDB_PIC1);
IDC_PIC_Moe.SetBitmap(bmp);
}
The error message:
error C2228: left of '.SetBitmap' must have class/struct/union type
|
|
|
|
|
charass wrote: CString IDB_PIC1;
IDB_PIC1.Format(IDB_PIC1, Promille);
CBitmap bmp;
bmp.LoadBitmap(IDB_PIC1);
IDC_PIC_Moe.SetBitmap(bmp);
CString picVar;
picVar.Format("IDB_PIC_Moe%d",Promille);
CBitmap bmp;
bmp.LoadBitmap(picVar);
CStatic *pPicStatic = (CStatic*)GetDlgItem(IDC_PIC_Moe);
pPicStatic->SetBitmap(bmp); Nibu thomas
Software Developer
|
|
|
|
|
thx first
now there ist an other error
Alkoholmaschine\AlkoholmaschineDlg.cpp(790) : error C2039: 'LoadBitmapA' : is not a member of 'CStatic'
d:\programme\microsoft visual studio\vc98\mfc\include\afxwin.h(2676) : see declaration of 'CStatic'
edit: what ist this "LoadBitmapA" ? must i declare it before in CString?
-- modified at 4:40 Friday 3rd March, 2006
|
|
|
|
|
It's not LoadBitmap it's SetBitmap .
Nibu thomas
Software Developer
|
|
|
|
|
ok this works:
CBitmap bmp;
bmp.LoadBitmap(IDB_PIC_Moe1);
CStatic *pPicStatic = (CStatic*)GetDlgItem(IDC_PIC_Moe);
pPicStatic->SetBitmap(bmp);
THX VERY MUCH!
-- modified at 4:53 Friday 3rd March, 2006
|
|
|
|
|
But this won't solve your problem. This won't change the picture based on a global variable.
Nibu thomas
Software Developer
|
|
|
|