LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can I extract the imaginary component of an image if so how

I am using imaq vision and I want to introduce random phase into an image therefore want to know if it is possible to extract the phase from the image and then effectively add it back into the image or am I asking the impossible?
0 Kudos
Message 1 of 3
(2,529 Views)
Miss,

This can be done in a number of ways. First, if you have the "random phase" image, you can just use the operators to perform the addition of the two images, then subract it back out as you need. You will have to generate the image, which is up to you.

Another way to do this, which would probably work better with generating the image, would be to take the image out of IMAQ and do the operations directly on the image data. You can either do this in LabVIEW, or Matlab. I have done operations of this sort (actually, batch processing) using mathematica. It was somewhat difficult to get LabVIEW and Mathematica talking, and most of the operation was actually done manually. I suspect that Matlab, or even HiQ could do the image manipulations you seek
, which means bringing the data back to LabVIEW is quite easy.

Good luck, and please keep us posted.
0 Kudos
Message 2 of 3
(2,529 Views)
Batch processing LabVIEW-acquired images using Mathematica is relatively easy with "Mathematica Link for LabVIEW"

Elsewhere on the NI site, you can find a white paper and sample VIs of a demo constructed for NI Week 2002 that illustrated how images can be acquired in LabVIEW and analyzed in Mathematica.

To find this material, either:

1. Search the NI site for "Mathematica" and look for the Mathematica Link for LabVIEW image processing examples.

OR

2. Visit www.bettervi.com/mlink. Here you will find a link to the VI examples and more general information about the MM/LV Link.
0 Kudos
Message 3 of 3
(2,529 Views)