Hi, Google it. This article would be much help to you. Motion Detection[^] Adios, Cool Ju :cool: Dream Ur Destiny
Cool Ju
Posts
-
motion detection -
motion detectionHi, Are the frames captured color? If it is color then image subtraction is time consuming. I would suggest you convert ur color images to monorchrome amd use image subtraction. Adios, Cool Ju :cool: Dream Ur Destiny
-
deleting a CStatic object [modified]Hi, You can hide instead of deleting it using ShowWindow(SW_HIDE). Just a suggestion. Adios, Cool Ju :cool: Dream Ur Destiny
-
How to disable an accelerator key.Hi, How to disable(at run-time) an accelerator key assigned to a menu item in the accelerator table. Is there any direct API? Thanks, Cool Ju :cool: Dream Ur Destiny
-
TAB CONTROL:-D Cool Ju :cool:
-
Data not received properly using COM Port [modified]Hi, What type of I/O are you performing Overlapped or Non-overlapped? Have you set timeouts? If not, Try setting timeouts. If possible post some code. Adios, Cool Ju :cool: Dream Ur Destiny
-
Data not received properly using COM Port [modified]Ayesha wrote:
result = WriteFile(handlePort,parameterNCheckSumData,99,&length,NULL);
What is parameterNCheckSumData? Should'nt it be dataToSend. Adios, Cool Ju :cool: Dream Ur Destiny -
property sheetHi, You can't remove those buttons, but can hide. To hide back button use the below code.
CWnd* pWnd = GetDlgItem(ID_WIZBACK); if(pWnd) { pWnd->ShowWindow(SW_HIDE); }
Adios, Cool Ju :cool: Dream Ur Destiny -
The Adnan threadIt was the longest thread I ever read in CP. whew.. Adios, Cool Ju :cool: Dream Ur Destiny
-
Reading order of the language of current localeThanks DavidCrow. Adios, Cool Ju :cool: Dream Ur Destiny
-
Reading order of the language of current localeHi, How to find the reading order of the language of the current locale or the input language. Are there any APIs available? Thanks. Adios, Cool Ju :cool: Dream Ur Destiny
-
How to catch mouse move over ListView headerHi, Is there any way to catch the mouse move over listview header? I am able to handle click and dblclick but I did'nt find any message for mouse move over listview header. Adios, Cool Ju :cool: Dream Ur Destiny
-
How to check whether a directory is write protected or not?Thanks Mike, I got it. Its a combination of APIs. Lot of code. But its working fine. Adios, Cool Ju :cool: Dream Ur Destiny
-
How to check whether a directory is write protected or not?Hi, GetFileAttribute doesnot retrieve the write-protection setting. Thats why I specifically mentioned "not read-only attribute" in my post. Thanks. Adios, Cool Ju :cool: Dream Ur Destiny
-
How to check whether a directory is write protected or not?Hi, How to check whether a directory is write protected(not ready-only attribute) or not. I tried using _taccess_s but its not working for directories(MSDN confirms it). Is there any way to check it. Thanks. Adios, Cool Ju :cool: Dream Ur Destiny
-
File or Folderhi, try CPath::IsDirectory(). But it is an ATL class. You have to include atlpath.h Adios, Cool Ju :cool: Dream Ur Destiny
-
how to convert series of BMP to a movie(AVI)Hi, Check this Create Movie[^] Bye, Cool Ju :cool: Dream Ur Destiny
-
MDI QuestionHi, This will be the default menu when no document is opened. try to add the below line in the InitInstance() and see the difference. Add the line cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing; above this line in ur InitInstance() if (!ProcessShellCommand(cmdInfo)) return FALSE; Bye, Cool Ju :cool: Dream Ur Destiny
-
MDI QuestionHi, The application maintains a list(CPtrList) of document templates. When the application starts the document template availalbe at the head of the list is loaded. The AddDocTemplate adds the template to the tail of the above said list. So as per ur code... this list is like below pDocTemplate->pLWDocTemplate Bye, Cool Ju :cool: Dream Ur Destiny
-
image to matrixHi, AFIK there is no other way to distinguish pixels becuase an image is a record of intensity values. But you can use the derivatives of the intensity value like brightness, contrast, color, gamma etc... Regarding your first question...I second chris...because its a huge task to convert any image into a matrix form. Better you opt any tools or libraries. Or else do it for the widely used image formats instead of all. Bye, Cool Ju :cool: Dream Ur Destiny