Azzera filtri
Azzera filtri

how to apply clahe on multiple frames

2 visualizzazioni (ultimi 30 giorni)
leena
leena il 8 Giu 2018
Commentato: leena il 8 Giu 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);

Risposte (2)

leena
leena il 8 Giu 2018
Modificato: Walter Roberson il 8 Giu 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 il 8 Giu 2018
  1 Commento
leena
leena il 8 Giu 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();

Accedi per commentare.

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by