From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,842 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
(2,769 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
(2,752 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
(2,744 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
(2,722 Views)