how can i identify the damaged portion in the matrix?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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?
Réponses (1)
Wayne King
le 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 commentaires
RAVI
le 7 Oct 2012
Walter Roberson
le 7 Oct 2012
RAVI, you cannot do that without additional information about how to distinguish areas that are scratched or not completely visible.
RAVI
le 8 Oct 2012
RAVI
le 8 Oct 2012
Walter Roberson
le 8 Oct 2012
What characterizes a "scratch" ? What characterizes an area "not completely visible" ?
Image Analyst
le 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."
Cette question est clôturée.
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!