Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Flips 180 degrees

I am using vision builder AI 2010.  I am having an issue where the image will flip its orientation while running in the inspection.  Has anyone heard of this issue or maybe have some insight into why the image would rotate 180 with the same inspection steps.  I am just using the acquire image step along with a Ueye GigE camera.  Any help would be appreciated. 

0 Kudos
Message 1 of 6
(6,526 Views)

Hi,

 

That camera interfaces with IMAQdx using DirectShow (since it is not a GigE Vision-compliant camera). I believe their driver sometimes sends the image mirrored vertically compared to the standard orientation that DirectShow specifies. You can either go into their driver options and tell their driver to flip the image or you can set the "Vertical Mirror" attribute in IMAQdx to "true" and it will correct for this.

 

Eric

Message 2 of 6
(6,513 Views)

I will give this a try and see if it works.  Thank you for the advice.

0 Kudos
Message 3 of 6
(6,501 Views)

Enabled Vertical Mirror and has made no difference.  Saved configuration and even rebooted PC.  Any other thoughts?

 

Matt

 

Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 4 of 6
(6,272 Views)

Use the IDS Imaging Labview Interface instead of DirectShow for communication.  It is an interface that gives you access to their SDK function calls.  It's much more comprehensive and seems to be more efficient.  Download the drivers for either 32 or 64-bit from www.ueyesetup.com (top left of page) and install them.  When it prompts you for what to install, select "complete".

 

After installing, download the Labview interface and install:  http://en.ids-imaging.com/download-ueye-interfaces.html?file=tl_files/downloads/uEye_SDK/interfaces/...

 

Image mirroring is called through "SetRopEffect" parameter "IS_SET_ROP_MIRROR_LEFTRIGHT".   You would then activate or deactive the function.  It will always return a message, either IS_SUCCESS, or if not successful, one that points to the cause of the problem.  Post the error codes if it still occurs.

 

The Labview manual is online:  http://en.ids-imaging.com/manuals/uEye_SDK/EN/uEye_LabVIEW_Manual/index.html

The error codes are in the appendix.

 

Loren

 

 

0 Kudos
Message 5 of 6
(6,257 Views)

I do this almost daily. I use an imaging sdk found on the internet which can flip images found on the internet . Install it and it becomes a selectable processing option.Then you can flip images in any program at all, including Adobe Acrobat . Just open the images, select flip ,and follow the setps given in the sdk, the task will be finished in several seconds. if you haven't found a good choice , you can have a try. best wishes.

0 Kudos
Message 6 of 6
(5,954 Views)