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

2 次查看(过去 30 天)
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