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: Applying meshgrid to image
Replies: 1   Last Post: Nov 9, 2012 6:19 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Sensible Man

Posts: 3
Registered: 11/9/12
Applying meshgrid to image
Posted: Nov 9, 2012 5:46 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Complete matlab novice here, so apologies if I make any remarkably stupid comments.

I basically have the task of identifying galaxies on a fits file and need to 'black out' a galaxy on the fits image once I've catalogued it.

To do this I need to create a circle that covers the whole circle and fill it black or set all of the pixels to zero. I've tried creating a meshgrid and using the equation of a circle, but can't seem to 'apply it', if that makes sense, to my image.

Can anyone help?

Happy to elaborate if needed

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.