how to split a image?

조회 수: 4 (최근 30일)
win
win 2013년 4월 4일
댓글: fateh 2014년 6월 2일
dear programmers i am newbie here. i need to split a image into 8x8 pixels. please give the simple code.

채택된 답변

Walter Roberson
Walter Roberson 2013년 4월 4일
SplitImage = mat2cell( OriginalImage, 8 * ones(1,size(OriginalImage,1)/8), 8 * ones(1,size(OriginalImage,2)/8), size(OriginalImage,3) );
  댓글 수: 3
Tia
Tia 2013년 7월 15일
hello.. could you tell me how to call splitImage(1,1).. example:
splitImage(1,1)=splitImage(1,3)
i want to move it. is it possible? thanks
fateh
fateh 2014년 6월 2일
how do i split image file into 4096 bytes per each fragment...and find out its compression ratio
need ur guidance plz...

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Image Analyst
Image Analyst 2013년 7월 17일

praveen
praveen 2013년 10월 20일
how to split image into 4*4 matrix
  댓글 수: 1
Image Analyst
Image Analyst 2013년 10월 20일
Didn't you see my answer above?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by