09-23-2019 12:19 AM - edited 09-23-2019 01:14 AM
how to connect this broken line using image processing? I want to convert image 1 in image 2. image1
image2
I have attached the vi and the images.
please help
thanks in advance.
Solved! Go to Solution.
09-23-2019 01:45 AM
Hi MAC,
without using IMAQ I would use this algorithm:
- get the image data as array of pixel color values
- process the array column-wise
- search for the line color in each column and keep the index of the found pixel
- after scanning all columns you can redraw the line using the found pixel coordinates and connect each pixel point by a line…
09-27-2019 03:49 AM
i am trying to do so but not getting desired result can you provide me sample a sample vi.
09-27-2019 04:01 AM
09-27-2019 04:21 AM - edited 09-27-2019 04:24 AM
i have attached the vi and image. i want to join these lines and find array of newly formed pixel values.
09-27-2019 04:31 AM
Hi MAC,
you forgot to include some useful data in your VI!
Please run your VI to display an image and some values in the "Image Pixels (U8)" indicator.
Then stop the VI. (Why is there no stop button in the loop?)
Then Edit -> Set current values as default.
Then save the VI and attach it again…
09-27-2019 04:54 AM
Hi
I have made the changes as you suggested.
Regards
MAC
09-27-2019 05:34 AM
11-26-2019 11:23 PM
hi GerdW,
i want to invert the graph. how i can do that?
i need some suggestion.
best regards,
MAC
11-27-2019 12:35 AM