Borrar filtros
Borrar filtros

how to apply clahe on multiple frames

1 visualización (últimos 30 días)
leena
leena el 8 de Jun. de 2018
Comentada: leena el 8 de Jun. de 2018
I had a nifti file and read it. I need to apply clahe algorithm on this using adaphisteg. How to apply it in each frames
ni = niftiinfo('brain.nii');
V = niftiread(info);

Respuestas (2)

leena
leena el 8 de Jun. de 2018
Editada: Walter Roberson el 8 de Jun. de 2018
I = imread('football.jpg');
I1= I(:,:,1); % Red channel
I2= I(:,:,2); % Red channel
I3= I(:,:,3); % Red channel
I1 = adapthisteq(I1,'ClipLimit',0.1);
I2 = adapthisteq(I2,'ClipLimit',0.1);
I3 = adapthisteq(I3,'ClipLimit',0.1);
I4= cat(3,I1,I2,I3);
figure,imshow(I4)
Is this code correct

Walter Roberson
Walter Roberson el 8 de Jun. de 2018
  1 comentario
leena
leena el 8 de Jun. de 2018
sir, my image is nifti. It contain 39 slices. But i think i need to apply some transformation
info = niftiinfo('Subject01.nii');
Error using affine3d/set.T (line 340)
The final column of an affine transformation matrix must
consist of zeroes, except for a one in the last row.
Error in affine3d (line 117)
self.T = A;
Error in images.internal.nifti.niftiImage/getXForm (line
506)
xform = affine3d([R zeros(3,1); T 1]');
Error in images.internal.nifti.niftiImage/simplifyStruct
(line 162)
[XformName, Xform] = self.getXForm();
Error in niftiinfo (line 50)
simpleStruct = NV.simplifyStruct();

Iniciar sesión para comentar.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by