grayscale image into matrix
Afficher commentaires plus anciens
hello sir,
am on a project, for which i need to convert a image into gray scale and access the matrix of each block , how will i get those matrix
7 commentaires
Rik
le 26 Août 2019
Images in Matlab are already matrices. What do you mean with block? Does that definition match the one in the blockproc function?
Rik
le 26 Août 2019
It is not clear what you mean. Can you provide an example input and output?
Swathi D
le 26 Août 2019
Rik
le 26 Août 2019
Does the rectangle with rounded count as a block? Can you count on sharp corners? Does the outer rectangle count as a separate object?
You can probably use bwlabel and loop through the objects to determine if they fit your requirements.
Swathi D
le 26 Août 2019
KALYAN ACHARJYA
le 26 Août 2019
Modifié(e) : KALYAN ACHARJYA
le 26 Août 2019
Can you share the real image, with mentioning the target regions?
Réponses (0)
Catégories
En savoir plus sur Neighborhood and Block Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
