Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Dividing an image into N block in the width and calculating the edge points of each block
조회 수: 1 (최근 30일)
이전 댓글 표시
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146289/image.png)
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
답변 (1개)
Image Analyst
2015년 10월 24일
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
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!