Hello,<br><br>does anybody know if there's a filter ( or a pipeline instead ) to map the scalar values of a vtkImageData object through a table?<br><br>For instance, I have a vtkImageData object, call it "sourceData", with an scalar range of -1024..3072 and a table with 4096 entries, call it "mapTable", with different values on it in another range of values ( for example 0 to 65535 ).
<br><br>If I map the sourceData with mapTable, the pixels in sourceData with value -1024 will have the value of mapTable[0] on the outputData, -1023<->mapTable[1], ... and so on.<br><br>Is there any filter int vtk (or even in itk) to do this?
<br><br>Thanks in advance!<br><br><br>