How to find the nearest voxel of a 3D image based on some specific intensity value...

조회 수: 2 (최근 30일)
banikr
banikr 2019년 8월 22일
편집: banikr 2020년 5월 14일
So I want to replace the abnormal intensity values from a 3D image. If the intensity is >1800 then I will replace it with nearest voxel value less than 1800.
I believe I can do it with hard coding... but is there any function to do that simply??
  댓글 수: 8
Rik
Rik 2020년 5월 14일
It is not clear to me what indices are tissue and which are electrodes. Do you mean all electrodes are marked with label 20?
banikr
banikr 2020년 5월 14일
편집: banikr 2020년 5월 14일
>> unique(lab)
ans =
0
1
2
3
4
8
10
20
Here label 20 is electrodes.
0 is for background and rest are different tissue labels.

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by