__header__
Description
Applies a LUT to an image updating a new LSImage.
Inputs
SourceImage
the source Linescan input image
DestinationImage
the create output image
ReferenceColor
the reference Color
CIFViewer
the CIFViewer to force a refresh on the output
Parameters
Color Space
the color space of interest
Distance Method
the distance calculation method:
IPCOLORDIFFSumAbs:
= abs(tx - x)*m_Bias[0] +abs(ty - y)*m_Bias[1] + abs(tz - z)*m_Bias[2];
IPCOLORDIFFBlack:
= x*m_Bias[0] + y*m_Bias[1] + z*m_Bias[2];
IPCOLORDIFFWhite:
= (3-x-y-z)*m_Bias[0] + (POS(x-tx) + POS(y-ty) + POS(z-tz))*m_Bias[1];
IPCOLORDIFFX1: // red
= (1-x*x)*m_Bias[0] + POS(y-ty)*m_Bias[1] + POS(z-tz)*m_Bias[2];
IPCOLORDIFFX2: // green
= (1-y*y)*m_Bias[1] + POS(x-tx)*m_Bias[0] + POS(z-tz)*m_Bias[2];
IPCOLORDIFFX3: // blue
= (1-z*z)*m_Bias[2] + POS(x-tx)*m_Bias[0] + POS(y-ty)*m_Bias[1];
IPCOLORDIFFGeneric:
= POS((x-tx)*m_Bias[0]) + POS((y-ty)*m_Bias[1])+POS((z-tz)*m_Bias[2]);
IPCOLORDIFFDist:
default:
= sqrt((tx - x)*(tx - x)*m_Bias[0] + (ty - y)*(ty - y)*m_Bias[1] + (tz - z)*(tz - z)*m_Bias[2]);
Invert
Ivert the LUT
CreateOnLoad
Create the LUT when the workspace is loaded
StartLine
the active line onto which to apply the filter
__footer__