LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a derivative of the extracted line profile

Hello, 

 

I created a line profile and mapped it on a graph. Now I have to derive this graph. How do I do that best?

 

thanks

0 Kudos
Message 1 of 8
(1,106 Views)

Hello,

i want to get a line profile. But for that I have to enter the coordinates of the image. How and in what form can I enter the coordinates there? Can I get a simple example from you on how to use this module?

 

thank you

Pantheraxxx_0-1620485130660.png

 

0 Kudos
Message 2 of 8
(1,100 Views)

it's too hard ???

0 Kudos
Message 3 of 8
(1,065 Views)

Hi Panther,

 

have you tried to use the derivative function?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 8
(1,102 Views)

Yes, but i have no idea how can i connect my Graph with the derivative function.

 

Pantheraxxx_0-1620662819848.png

 

can you give me some help?

0 Kudos
Message 5 of 8
(1,098 Views)

Hi Panther,

 

use UnbundleByName to get the line data...

 

Did you look at the context help when moving the mouse over those wires?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 8
(1,089 Views)

ok thank you for this tip UnbundleByName. I used it and connected it. I get three parameters x0 dx and pixelsline. "x0" is always 1, "dx" is always 0 and pixelsline is variable. I connected pixelsline with the derivative. 

Pantheraxxx_1-1620665190261.png

and i get a second graph. now is my problem. That the first graph on the right shows a pixel value of 200, but the derived graph on the left shows a value of 30. Do you know why?

 

 

Pantheraxxx_0-1620665150088.png

 

thank You

 

0 Kudos
Message 7 of 8
(1,062 Views)

You calculated the first derivative of that line. Do you know what that means?

 

The biggest chance between two adjoining data-points seems to about 30, so that's the max value on the derivative graph.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 8 of 8
(1,056 Views)