PDA

View Full Version : can't flip image



trotek
February 26, 2014, 01:47:12
1670
within the TIS.Imaging.ICImagingControl settings
both flip checkboxes (horizontal & vertical)
are disabled ('greyed') - in IC Capture these
boxes work

What's wrong ?

camera DFK 23 UP031 / serial number: 0x42310580

Thanks
Walter

Stefan Geissler
February 26, 2014, 08:39:27
Hi

nothing is wrong. If the device does not support a property, then the property is disabled (greyed).

trotek
February 26, 2014, 23:04:22
Hi

nothing is wrong. If the device does not support a property, then the property is disabled (greyed).

Thanks for the fast response
- but how does IC Capture (see attached picture)
manage to flip (and also rotate) the image of this camera ?

1672

Walter

Stefan Geissler
February 28, 2014, 12:43:50
That is simple: It uses the RotateFlip filter of IC Imaging Control:
http://www.imagingcontrol.com/en_US/support/documentation/class/stdfilterRotateFlip.htm

trotek
March 3, 2014, 00:41:18
That is simple: It uses the RotateFlip filter of IC Imaging Control:
http://www.imagingcontrol.com/en_US/support/documentation/class/stdfilterRotateFlip.htm

Thanks

http://www.imagingcontrol.com/en_US/support/documentation/dotnet/stdfilterRotateFlip.htm
supplies more accurate informations which result in this functional code:

FrameFilter RotateFlipFilter = Camera.FrameFilterCreate("Rotate Flip", "stdfilters.ftf");

RotateFlipFilter.SetIntParameter("Rotation Angle", 180);

if(RotateFlipFilter == null)
MessageBox.Show("RotateFlipFilter not available");
else
Camera.DeviceFrameFilters.Add(RotateFlipFilter);

Stefan Geissler
March 3, 2014, 12:51:00
you can leave the second parameter blank:
FrameFilter RotateFlipFilter = Camera.FrameFilterCreate("Rotate Flip", "");