View Full Version : Rotation
June 16, 2011, 10:33:35
Iím using the camera DFK 72AUC02 with the IC ActiveX control. I need to rotate the image view from the camera, but I found the Rotate Flip filter too much slow: the images are displayed with more or less one second of delay, both if I apply the filter to the Device Path, to the Display path and to the sink path. It seems that in all the three cases the filter rotate the whole image (2592x1944 pixel).
For my application I need just to rotate the image displayed for to the user, and it is displayed in a 300x200 pixel box (more or less). There is a way to speed up the rotation by rotating just the 300x200 pixel image displayed on the IC ActiveX Control?
Thanks for the kind attention.
June 16, 2011, 10:58:28
Well, the display size of IC Imaging Control or a picture box has no effect on the camera image itself, therefore each time the 5M-Pixel is to be rotated.
A possible solution could be to add a resize filter in the display path, which resizes the big image to a 300x200 image an rotate this image. For resizin you use the attached resize filter. It needs the MSVCR100.DLL additionally as runtime.
It is created as:
The parameters of this filter are "Width" and "Height". They determine the size of the output image.
Behind the resize filter you insert the rotate filter.
June 22, 2011, 14:39:01
I tried your solution, but I have problems using the filter “resise.ftf”. I put it on the folder in which the file icimagingcontrol.ocx is located, but the new filter does not appears on the FrameFilterInfos collection.
When I create the filter through the “FrameFilterCreateString (‘Resize', 'resize.ftf')” I receive the error message “An option is not available, e.g. you called setFlipH and the VideoCaptureDevice does not support flipping”. Any suggestion?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.