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

Image Analyst
Image Analyst 2013년 2월 9일
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 2013년 2월 10일
My apologies Image Analyst. I reuploaded the files and have provided the new links above in my original post.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2013년 2월 10일

0 개 추천

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

댓글 수: 6

integra-t
integra-t 2013년 2월 10일
편집: integra-t 2013년 2월 10일
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 2013년 2월 11일
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 2013년 2월 11일
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 2013년 2월 11일
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 2013년 2월 11일
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 2013년 2월 11일
I've posted a demo with imfreehand() this weekend - search for it.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Function Creation에 대해 자세히 알아보기

질문:

2013년 2월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by