LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interpolate intensity graph

Hi guys, I was just wondering whether anyone knows how to use the interpolate function with an intensity graph. I want to use it so my results can look "smoother". I have attached my code to this email- is it possible to include the interpolate fuction within this code? Thanks.

0 Kudos
Message 1 of 16
(4,116 Views)

Well, you only have 16 elements, so what do you expect?

 

You can respame the image at a higher resolution using bilinear interpolation. here's an old example.

 

 

 

There is even one of my ideas that suggest native LabVIEW support for all this. Of course you also might be able to use 2D interpolation. What have you tried so far?

Message 2 of 16
(4,103 Views)

Hi 

0 Kudos
Message 3 of 16
(4,101 Views)

Have you looked at the example I linked above?

0 Kudos
Message 4 of 16
(4,098 Views)

Hi 

0 Kudos
Message 5 of 16
(4,067 Views)

The subVI only generates one point. You need to loop over a new 2D grid as shown in the linked example.

0 Kudos
Message 6 of 16
(4,060 Views)

Hi altenbach, would just like to say this issue has been resolved and I have been able to interpolate my readings. Just would like to know how the example works, in depth. Although it has worked, i would like to knowhow it it works. You provided a brief explination, just wanted to know whether you can go into further detail? thank you

0 Kudos
Message 7 of 16
(4,008 Views)

@HEAPO8 wrote:

You provided a brief explination, just wanted to know whether you can go into further detail? thank you


Bilinear Interpolation

0 Kudos
Message 8 of 16
(4,005 Views)

what does the "ramp by samples" VI mean? and the reason why the reason why you have the code in 2 loops is because the subVI only generates one point?

0 Kudos
Message 9 of 16
(3,975 Views)

@HEAPO8 wrote:

what does the "ramp by samples" VI mean?


If in doubt about a function: Right-click...help!


@HEAPO8 wrote:

and the reason why the reason why you have the code in 2 loops is because the subVI only generates one point?


Yes, we need to do it for each point in the new grid.

 

 

0 Kudos
Message 10 of 16
(3,973 Views)