image = | lutTransform3dImg (inImg3d,lut) |
image = | lutTransform3dImg (inImg3d,pILut) |
application of a look-up table on each 3d volume of an input image algorithm
If the image is made of one single volume (single 3d grey levels image), the algorithm applies the look-up table provided by the user to the intensities of the image. If the image is multi-sliced (made of several volumes, like a single 3d RGB image, for instance, or a sequence 3d image, etc.), a collection of look-up tables (one table per plan) is applied to the intensities of the image.
The look-up table is defined using the ipsdk::imaproc::attr::IntensityLUT data item, that is composed of the following parameters:
Considering, for instance, a single 3d grey levels input image InImg and the lookup table LUT to apply, output image OutImg pixels will equal to: