Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Flipping the Y axis on a Basler scA640-70gc using labview

Solved!
Go to solution

I am running a Baslar scA649-70gc to give me a live stream of experiments run in another room , however the image i get is upside down, and flipping the camera physically is not an option. Does anyone know of a way lab view could solve the issue?

0 Kudos
Message 1 of 5
(6,369 Views)
Solution
Accepted by topic author emmaaleia

Try using IMAQ Symmetry from the Image Manipulation palette.  It flips images and possibly rotates them.  Try the first three options and see what happens to the image.  I believe you want the flip around the horizontal axis to get the vertical flip.  If I remember correctly, flipping around the center rotates it 180 degrees if that is what you want.

 

If none of these do what you want, take a look at IMAQ Rotate.  That can rotate an image an arbitrary number of degrees, including 180.  I think it does a more complicated manipulation, so it would be much slower than Symmetry.  If you have to, you could probably do a vertical and horizontal flip using Symmetry faster than one Rotate.

 

Bruce

Bruce Ammons
Ammons Engineering
Message 2 of 5
(6,361 Views)

I believe all the Basler Ace models have "ReverseX" and "ReverseY" features that allow you to flip the image on either (or both) axises. This has the advantage of both being "free" processing-wise but also means that the image will be correctly oriented in MAX and other applications.

 

I think for the camera being physically rotated you'll need to set both.

 

Eric

0 Kudos
Message 3 of 5
(6,354 Views)

Oops, didn't notice you were using a Scout, not an Ace. The Scout might not have the ReverseY option, so Bruce's suggestion to do it in software might be all you have.

 

Eric

0 Kudos
Message 4 of 5
(6,345 Views)

Thank you tried your suggestion and it works perfectly

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