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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Rik
Rik il 14 Mag 2020
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 il 14 Mag 2020
Modificato: banikr il 14 Mag 2020
>> 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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by