Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Dividing an image into N block in the width and calculating the edge points of each block
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone I was trying to divide an image into N different blocks in the width after I performed this code to get its edge points:
Ioriginal = imread('sample.jpg') %read the image
Igray = rgb2gray(Ioriginal) %change it to gray scale
InoNoise = wiener2(Igray) %remove noise from image
image = edge(InoNoise, 'prewitt') %get the edge points of the image
the result is shown in this picture
Now what i want to do is dividing the image into N equal blocks and calculate the edge points of each block
I really appreciate if someone can really help me doing this part
Thank you
0 commentaires
Réponses (1)
Image Analyst
le 24 Oct 2015
Two ways are shown in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
0 commentaires
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!