image dividing, padding, regions
이전 댓글 표시
How to divide an image up into say 10x10 regions and account for padding (an integer number of regions does not fit in the image)
I have tried complicated convolution methods, and now want to try a more simplified approach. The aim is to then locally threshold each image for SNR calculations

This was my attempt:
n=10; %regions in each dimension
[x,y]=size(ROI)
nx=floor(x/n)
ny=floor(y/n)
xGrid=1:(nx+1):10*nx
yGrid=1:(ny+1):10*ny
[X,Y]=meshgrid(xGrid,yGrid)
mesh(X,Y)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!