LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interpolating pixels in the Intensity Graph

First of all, don't put file IO inside a math routine such as my subVI. Do the file IO in a toplevel VI, then send the 2D array to the gears. Keep the code scalable and modular!

 

Second, you seem to completely misunderstand the function of my VI. It gets data from a 2D array based on fractional indices. You would only get nonzero values if your array would contain at least 162250 rows.

You need to remove the column and row headers to get the intensity data.

 

You could for example get the fractional indices from the header column/row using "threshold array", then retrieve the interpolated value using my VI. 

 

Try it!

0 Kudos
Message 11 of 16
(2,442 Views)

Sory i checked  other treshold headers and I am not sure understand use treshold with your vi.

 

Can you check my attachment? Now i can read value but i am not sure is this true 🙂

 

 

Thank you.

Kerem 

Download All
0 Kudos
Message 12 of 16
(2,428 Views)
Message 13 of 16
(2,419 Views)

Thank you.

 

Now i understand threshold function with your example.

 

B.R.

Kerem

0 Kudos
Message 14 of 16
(2,403 Views)

Note that a new bilinear interpolation for 2D arrays has been posted here. It performs faster.

0 Kudos
Message 15 of 16
(2,253 Views)

hello again

can you tell me altenbach for this bilinear interpolation subvi which mathematical equation did you use ?

Capture.JPG

0 Kudos
Message 16 of 16
(1,958 Views)