Jump to content

Problem with Contour Extraction


Recommended Posts

Good afternoon, everybody.

 

I'm new here and actually working in a Localization Algorithm using LabView. I tried to extract walls contour from a simple floor plan to use it in my algorithm later. At first I thought doing it manually but then I realized there's a lot of high level VI's in Labview for computer vision. In example, "Extract contour" would give me the coordinates found in an image, so I wrote a simple piece of code to test it. But first, I need to select a ROI. I used "Rectangle to ROI" and added the imputs programmatically, but the Extract Contour VI doesn't accept it as a valid ROI and returns an error. I have absolutely no idea what's going on, because I create the same cluster that the info suggests as a valid input.

 

You can try my attached code to see the problem by yourself using any image.

 

Thanks in advance.

RectangleContour.vi

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.