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 vue (au cours des 30 derniers jours)
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?

Réponse acceptée

Image Analyst
Image Analyst le 3 Août 2022
Either crop it, enlarge it, or resize it.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by