필터 지우기
필터 지우기

HOw to divide an Image into sub images?

조회 수: 1 (최근 30일)
Madhavareddy kota
Madhavareddy kota 2013년 7월 16일
Hello all,
I would like to construct an empty image size of 256x256 and divide into 16 sub images.can anyone suggest me how to divide into 16 sub images? Thanks in advance

채택된 답변

Matt J
Matt J 2013년 7월 16일
편집: Matt J 2013년 7월 16일
Using MAT2TILES (Available Here)
subImages = mat2tiles(Image_256x256,[64,64]);
e.g.,
>> mat2tiles(rand(256),[64,64])
ans =
[64x64 double] [64x64 double] [64x64 double] [64x64 double]
[64x64 double] [64x64 double] [64x64 double] [64x64 double]
[64x64 double] [64x64 double] [64x64 double] [64x64 double]
[64x64 double] [64x64 double] [64x64 double] [64x64 double]

추가 답변 (1개)

Image Analyst
Image Analyst 2013년 7월 16일

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by