필터 지우기
필터 지우기

hello sir, how to get information of the image(imfinfo)

조회 수: 1 (최근 30일)
tina jain
tina jain 2015년 3월 19일
댓글: Guillaume 2015년 3월 19일
I executed DWT and got the image(which i am attaching ) as a LL band(upperLeft)
imData=imread('lena256.bmp');
[rows, columns, numberOfColorChannels] = size(dwt1_imData);
r1 = int32(M/2);
c1 = int32(N/2);
r2 = r1+1;
c2 = c1+1;
upperLeft = dwt1_imData(1:r1, 1:c1);
Now I want to take the information of upperLeft image. As I read the imfinfo it needs file format. e.g k=imfinfo('lena.bmp');
how to apply imfinfo on upperLeft as its extension is not known.
  댓글 수: 3
tina jain
tina jain 2015년 3월 19일
i want width, height and bitmap of the image file
Guillaume
Guillaume 2015년 3월 19일
I must be misunderstanding something about your question, because the width of upperLeft is obviously c1, the height obviously r1, since you've defined it this way. The bitmap is upperLeft itself.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by