LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polynomial's application

Hi everyone,

using Vision(as you can see in the picture below) i arrived, by the application of two filters, at this final distribution. My aim is, using Labview, to apply at this distribution a polynomial to obtain a curve without disturbs(the distribution is shown in the histogram). How can i do it?

0 Kudos
Message 1 of 5
(1,540 Views)

Hi Paino 19,

 

you should be able to get the histogram from the Vision Assistant Express VI, and from there you can use the interpolation function you need from the Palette -> Mathematics -> Fitting or Interp & Extrap.

 

Hope that helps!

 

CorraDIT

0 Kudos
Message 2 of 5
(1,467 Views)

Ok thanks and you know how i can get the histogram? With the line profile? Below is what i have done till now.

0 Kudos
Message 3 of 5
(1,450 Views)

Hi Paino19,

 

attached you can find the code and some screenshots of what you should do. Hope it helps.

 

 

Download All
0 Kudos
Message 4 of 5
(1,442 Views)

Go to Help-> Find Examples-> search for Histogram and you should be able to do it with line profile.

 

Edit: There's line profile example also you can check with.

Thanks
uday
0 Kudos
Message 5 of 5
(1,420 Views)