LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement 2D array to image

Hello everyone,

 

Iam performing 2d raster scanning, getting the signal as a waveform for every line, transform it into 1d array, and append one to another. As a result, I have a 2d array of doubles with values in volts.

 

I want to perform simple image improvement (denoise, reshape) and frequency analysis.

I have access ti NI Vision, but never work with it. 

 

Q1: Where it is more simple to do the task - in 2D array format or in NI Vision

Q2: How to convert the measurement data in principle in Image format. As I guess all values should be U8 from 0 up to 255? Is there a function for doing this?

 

Thanks in advance!

 

0 Kudos
Message 1 of 2
(2,245 Views)
Here is an example that creates an IMAQ Image from a 2D-array.   "IMAQ Resample" allows for reshaping/resizing the image.  Filter operations and FFT is in NI Vision, too.  Your data is in [0;255] which means that you can work with U8 images.
I would use NI Vision to accomplish the task.
0 Kudos
Message 2 of 2
(2,235 Views)