how can i identify the damaged portion in the matrix?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
suppose i initialize an image in a ex:-a=imread(obj.gif); after that i cropped the image by using b=imcrop(a); now i want to identify the damaged portion and want to apply some operation on it,so please tell me how i can perform this?
Answers (1)
Wayne King
on 22 Sep 2012
0 votes
What do you mean by "damaged portion" imcrop() optionally returns additional outputs like the cropping rectangle as well as the X-data and Y-data
6 Comments
RAVI
on 7 Oct 2012
Walter Roberson
on 7 Oct 2012
RAVI, you cannot do that without additional information about how to distinguish areas that are scratched or not completely visible.
RAVI
on 8 Oct 2012
RAVI
on 8 Oct 2012
Walter Roberson
on 8 Oct 2012
What characterizes a "scratch" ? What characterizes an area "not completely visible" ?
Image Analyst
on 8 Oct 2012
RAVI, why are you not uploading an image like I suggested way up at the top? As you can imagine, if people are asked for advice on image processing, it helps to have an image. Otherwise all I can say is "threshold then call regionprops() and good luck."
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!