Remove Object from Image

Is there another method to remove the shuttle from the shuttle.tif image and make the support structure black with a white background? I have managed to remove the shuttle using the ~bwareaopen command. However, I am left with a image that no longer looks like the support structure. Any help would be greatly appreciated.
Original shuttle.tif http://goo.gl/Y7HRt Modified shuttle.tif http://goo.gl/ZCUSw

2 comentarios

Image Analyst
Image Analyst el 9 de Feb. de 2013
The first image doesn't show anything at all - no image whatsoever. The second one shows an image but it's too small to tell what's going on.
integra-t
integra-t el 10 de Feb. de 2013
My apologies Image Analyst. I reuploaded the files and have provided the new links above in my original post.

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 10 de Feb. de 2013

0 votos

What will go in place of the shuttle? Your image is extremely poor quality. Please upload higher quality images.

6 comentarios

integra-t
integra-t el 10 de Feb. de 2013
Editada: integra-t el 10 de Feb. de 2013
What did you need to see in the picture? For some odd reason Google scales down my screenshot PNG file but it can be seen in its original form when 100% zoom is selected in the top left corner. Or perhaps, you would prefer downloading the file by clicking the black arrow pointing down located in the top left corner as well. My goal is to remove the shuttle from the image and leaving that area white, while making the shuttle support structure black.
Image Analyst
Image Analyst el 11 de Feb. de 2013
Your image suffers from severe, astonishingly severe, jpeg artifacts, even when zoomed in. Why do you need to do this? Why don't you just use imfreehand() and poly2mask() to hand draw some region and fill it in with all white or all black?
integra-t
integra-t el 11 de Feb. de 2013
This was one of the question for an assignment. When you say the image suffers, which image are you referring to? The shuttle.tif image is a commonly used Matlab file that I have seen in many lecture notes.
Image Analyst
Image Analyst el 11 de Feb. de 2013
Compare this one: http://ipadwallpaper.net/wp-content/uploads/2011/03/space-shuttle.jpg to yours. See those huge blocks in yours. That's what I was talking about. Now, what about my suggestion - will that work?
integra-t
integra-t el 11 de Feb. de 2013
If it were up to me, I would prefer to edit high resolution pictures. Unfortunately, this was what we were given to work with. I will try your suggested commands and will post up the results shortly. Thanks again for your help.
Image Analyst
Image Analyst el 11 de Feb. de 2013
I've posted a demo with imfreehand() this weekend - search for it.

Iniciar sesión para comentar.

Categorías

Más información sobre Function Creation en Centro de ayuda y File Exchange.

Preguntada:

el 9 de Feb. de 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by