MATLAB Answers

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

1 view (last 30 days)
banikr
banikr on 22 Aug 2019
Edited: banikr on 14 May 2020
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 Comments
banikr
banikr on 14 May 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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by