<div dir="ltr">Hi All,<div><br></div><div>I'm planning to add a new image filter to VTK, and will name it something like vtkImageMapThroughLUT.  The operation of this filter will be as follows:</div><div><br></div><div>- It will take, as input, any image that uses an integer scalar type</div><div>- The scalars will be mapped though a lookup table to generate the output image</div><div><br></div><div>For the "lookup table" or (LUT), I was planning to use a plain-old vtkDataArray.  I cannot use vtkLookupTable as the LUT, since vtkLookupTable can only produce "unsigned char" output and is meant to be used for generating color data.</div><div><br></div><div>My question to the list is as follows: is vtkDataArray the best object to use for storing such a LUT?</div><div><br></div><div>Also, is there already a class in the VTK geometry pipeline that allows labels to be remapped to new label values via a LUT?</div><div><br></div><div> - David</div></div>