PDA

View Full Version : Flip of Incoming image



WK Ho
March 12, 2008, 13:23:10
Hi
I want to display the flipped image on the screen so that it is oriented correctly from the operator's view. However, when I try to initialise the pointer:
smart_com<IFrameFilter> m_pRotFlipFilter;
m_pRotFlipFilter = FilterLoader::createFilter( "Rotate Flip" );
if(m_pRotFlipFilter == NULL)
{
retval=-1;
}
The result is a NULL and thus nothing happen. on the incoming image.
What are the preconditions of doing above??

Can I have a simple VC++ example of simply grab and flip using the IC 3.0

WK

Stefan Geissler
March 12, 2008, 14:44:02
HI WK,

the working directory of your application must contain the "stdfilters.ftf" file. If you set your working directory to the "classlib\debug" respective the "classlib\release" directory of your IC Imaging Control installation path, then you should be able to load this filter.

WK Ho
March 14, 2008, 14:31:17
Hi

If I put the file stdfilters.ftf together with my
application exe directory has same effect of what you mentione. If this is the case, it doesn't work either. Pls explain further or you has a small test program for me to refer to ?

WK

Stefan Geissler
March 14, 2008, 14:52:01
What about the "stdfiltersd.ftf"? It is the debug version.

WK Ho
March 20, 2008, 15:40:57
Do you mean to put that to the directory of my application ?

Stefan Geissler
March 25, 2008, 09:14:13
Do you mean to put that to the directory of my application ?

Just try it.