how to apply clahe on multiple frames

2 vues (au cours des 30 derniers jours)
leena
leena le 8 Juin 2018
Commenté : leena le 8 Juin 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);

Réponses (2)

leena
leena le 8 Juin 2018
Modifié(e) : Walter Roberson le 8 Juin 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 le 8 Juin 2018
  1 commentaire
leena
leena le 8 Juin 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();

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by