waiting for your help guys, working on my final project, working with opencv
i want the images of the rendered frame after every movement for the image
processing.........

HELP!!!!!!!!!

On Thu, Aug 5, 2010 at 12:23 AM, Usman Johri <usman.jo...@gmail.com> wrote:

> ok got it in the buffer now how to input it in a function for example
>
> opencv::opticalFlowCalc(image(the image in the buffer));
>
>
>
> On Wed, Aug 4, 2010 at 11:38 PM, Christian Van Brussel <
> christian.vanbrus...@uclouvain.be> wrote:
>
>> >> csRef<iImage> img (csPtr<iImage> (G2D->ScreenShot ()));
>> >>
>> >> This means the current frame! right?
>>
>> It depends when you call it as it will return the current content of the
>> buffer. You may call it for example after the call to view->Draw () at the
>> end of csApplicationFramework::Frame().
>>
>>
>> >> if this gets me the current screen shot then how can i convert this
>> >> iImage
>> >> into a usable image for example an 8bit 3 channel image.
>> >> Help PLS!!!!!!!!!!!!!!!!!!!
>>
>> iImage::GetImageData() should do the trick. Something like:
>>
>> unsigned char *buffer = (unsigned char *) img->GetImageData();
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Crystal-main mailing list
>> Crystal-main@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/crystal-main
>> Unsubscribe: mailto:crystal-main-requ...@lists.sourceforge.net
>> ?subject=unsubscribe
>>
>
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: 
mailto:crystal-main-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to