how to apply clahe on multiple frames

2 ビュー (過去 30 日間)
leena
leena 2018 年 6 月 8 日
コメント済み: leena 2018 年 6 月 8 日
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);

回答 (2 件)

leena
leena 2018 年 6 月 8 日
編集済み: Walter Roberson 2018 年 6 月 8 日
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 2018 年 6 月 8 日
  1 件のコメント
leena
leena 2018 年 6 月 8 日
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();

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by