Is there any way I can change the precision of my voxel signal? Not just for displaying the values but actually changing precision.
I have voxels with very small values (10**(-7)) and I want them rounded to 3 decimals.
I know I can do it through Python code if I transform by whole dicom files but is there any way to do it through the Slicer interface on volumes I have already loaded?
I presume you are talking about image spacing? If so, you can manually edit those values in the Volumes module, and save it (though you will have to resave them as NRRD).
The question is why do you want to do that? You can set the precision field of slicer to 3 significant digits and it will only display the 3 digits, without you having to do this manually. Check out the Units field in the Application Settings and see if does what you want to do.
I’m not talking about spacing. I want to perform other operations were I cannot have 0.0000001 signals that are not physically relevant. Changing the displayed values is of no use for this.
I managed to do something like I this with the ThresholdImageFilter in Simple Filters. Not the same that I want but it works for the post-processing I want to do.
OK I didn’t have the time to read the comments carefully. In this case I suggest either use numpy as @muratmaga suggest, or if you prefer not to bother with scripts, I’d use the ShiftScaleImageFilter in the Simple Filters module.