The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Re: display the contour
Replies: 3   Last Post: Apr 9, 2013 10:16 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nikolay S.

Posts: 3
Registered: 7/1/10
Re: display the contour
Posted: Apr 9, 2013 10:16 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"kinor" wrote in message <kjmqee$3m0$>...
> Jan
> you want to insert the points into your image data. plot does the display job..
> kinor

Hi Jan.
In case you're having a mask (as far as I can ssee you're working on snakes methods) and you want the edge coordinates you can do it via the contour function or my mask2poly ( function.
To the issue: in case you're using imshow, you may have to reverse the Y coordinates befor the plot\line command. You should note the X and Y coordinates- those are reversed in plot/line and image axes. A simple flilr, or coordinates hift resolves the issue.
If you want to generate an image with the line in it my function addMarkerLines2Img ( can be handy.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.