Hi, I’m going through examples from the textbook and user guide and I recently started working on https://lorensen.github.io/VTKExamples/site/Cxx/Medical/MedicalDemo4/
To volume render DICOM CT data.
I can’t figure out what the exact opacity gradient piecewise function should be.
The example originally states:
// The gradient opacity function is used to decrease the opacity
// in the “flat” regions of the volume while maintaining the opacity
// at the boundaries between tissue types. The gradient is measured
// as the amount by which the intensity changes over unit distance.
// For most medical data, the unit distance is 1mm.
vtkSmartPointer volumeGradientOpacity =
Does this mean the point at 100 is equal to 1mm or does this change depending on the data used? Is there a formula or rule of thumb for this?
I’m using the CQ500 CT dataset
which is 512x512 1mm slice thickness, I’m also not sure of the voxel size because of the metadata, I’ll read more on that if need be