LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to capture image using labview software

Hi everyone,

I made a labview software to image capture from Thorlabs ccd camera. Everything works fine but one thing is wrong. The image shows in frontal panel is ratated. I mean the showed image is 1024X1280 pixels instead to show me 1280x1024 pixels. I don't understand where is the problem. I have checked everything in the software but I don´t find out the issue.

Any idea, please?

Thank you.

Antonio

0 Kudos
Message 1 of 8
(3,258 Views)

Does it work as you expect if you use the Transpose Array function?


GCentral
0 Kudos
Message 2 of 8
(3,254 Views)

No, because for my experiment well defined axis is so important even I use transpose array later.

Thank you

0 Kudos
Message 3 of 8
(3,248 Views)

Attached, you can see a picture showing the pixel order. It is so weird.

0 Kudos
Message 4 of 8
(3,246 Views)

So the LabVIEW documentation for Thorlabs (all 3 pages of it, or whatever), at least for the DCx cameras (these are the ones I've had a little attempt at using, and vaguely remember the same problem) list a Array to Image function.

 

I don't have the code on this computer, but that might contain useful information about how they rearrange the pixel values. I haven't tried using it, sorry. I think I just changed the graph axes values to invert the display after transposing.

 

Is your problem related to indexing the values, or just displaying? You made it sound in the previous post that you already have a working application for processing your image, and it's only the display that's problematic.


GCentral
0 Kudos
Message 5 of 8
(3,241 Views)

Yes my problem is related to indexing the values. I have a software to proces the image. This software was working well with old ccd Thorlab camera but using similar new camera I have this problem.

0 Kudos
Message 6 of 8
(3,232 Views)

Let's suppose that you expect to get an image that looks like:

 

1 2 3

4 5 6

 

Do you get (transposed)

1 4

2 5

3 6

 

or (rotated clockwise)

4 1

5 2

6 3

 

or some other arrangement? I don't remember how the image appeared when I tried to do this, and although I expect the manipulation is simple, I don't know what the input is without a specific example.

If the number description is not very helpful, then an example image along with the expected orientation/mirroring is fine (perhaps with arrows in Paint, or similar).


GCentral
0 Kudos
Message 7 of 8
(3,212 Views)

Thank you very much for your suggestions. At the end, I solved the problem, it was related with the cable connections because they were wrong.

 

Thank you very much.

0 Kudos
Message 8 of 8
(3,180 Views)