06-12-2013 10:13 AM
Hello
Attached is the Line coordinates from edge detection. How can i draw these two lines in a imageso that the line extends and intercepts until the maximum length of the image. ? i.e first extract the intersection point of these two lines and compare whether it is smaller than the actual length of the image ( for example for a 1040 X 740 image, the intersection point should be behind / less than 1040)
any ideas?
Thanks
Solved! Go to Solution.
06-13-2013 12:18 AM - edited 06-13-2013 12:19 AM
attachemnet
06-13-2013 10:39 AM - edited 06-13-2013 10:39 AM
Hello Nghtcwrlr,
to support you in this topic it would be helpful to have some more informations.
Please describe your mean a bit more detailed and answer some questions:
- Where do you want to draw these lines? In a graph or a real picture (file-format, png, tiff?)
LabVIEW gives you either the tools of the graph-palette or these from the audio&graphics palette to realize it.
- What is the goal?
- Why do you want to use the intersection point for checking the borders of the lines.
I think the borders are given from the size of the picture and you can compare the coordinates of the lines with the borders without using the intersection point.
If you draw the lines in the picture with the "draw line" tool of the audio&graphics palette, the line automatically stops at the end of the picture.
Greetings, JoLe
National Instruments
Applications Engineering
www.ni.com/support
06-17-2013 04:12 AM - edited 06-17-2013 04:13 AM
Hallo Jo Le
Thanks for your reply. I was trying to draw an overlay.. I used IMAQ Overlay function and now it works.
But i have another question now. I have the line coordinates for 2 lines and the intersection point. How can i extend both lines in both directions? See the attachment. I need to find the Blue marked points. I cannot find an Extrapolation function. Any ideas ?
06-17-2013 07:52 AM
I found the extrapolating function... I installed VIPM and installed the MGI package.