필터 지우기
필터 지우기

I HAVE CONVERTED AN IMAGE FROM RGB TO LAB AND SELECTED B COMPONENT TO APPLY FAN BEAM TRANSFORM...BUT I AM GETTING 361*360 WHICH CAN NOT BE DIVIDED INTO SQUARE MATRIX

조회 수: 1 (최근 30일)
C = imread('lena.png');
lab = rgb2lab(C);
L=lab(:,:,3);
imshow(L);
output_size = max(size(L));
D = 315.25;
dsensor3 = 0.1985;
[F3, sensor_pos3, fan_rot_angles3] = fanbeam(L,D,...
'FanSensorSpacing',dsensor3);
imshow(F3);
Ifan3 = ifanbeam(F3,D,'FanSensorSpacing',dsensor3,'OutputSize',output_size);
figure, imshow(Ifan3)
I want to divite the F3 into 4*4 block...but the size of F3 i am getting is 361*360....now what can i do?

채택된 답변

Image Analyst
Image Analyst 2022년 8월 3일
Either crop it, enlarge it, or resize it.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by