07-17-2017 10:15 AM - edited 07-17-2017 10:19 AM
Dear NI community,
I'm trying to make a diagonal line profile of an image (3840*2748). When I used the LineProfile.vi to do this work I always get an array of 3840 pixel values, which is not the length of the diagonal. Is there any way I can change this? or it's pre-determined by the algorithm of the vi.
Thanks a lot!
Rosh
07-18-2017 12:30 AM
Please look into this example Diagonal Intensity Profile with Sub-Pixel Accuracy and Diagonal Line Length:https://forums.ni.com/t5/Example-Program-Drafts/Diagonal-Intensity-Profile-with-Sub-Pixel-Accuracy-a...
07-18-2017 10:51 AM
Dear uday,
Thank you for your reply. I did checked out that one before I asked the question, but what it does is create a ramp pattern as a new x coordinates. The number of the data points in the line profile didn't change.
Rosh