Available in the LEADTOOLS Imaging toolkit. |
HTableL example for C++ 4.0 and later
m_Lead.Load( "image.cmp",16,0,1);
m_Lead.SetRemapHueTablesSize(65536);
for(int i =0;i<m_Lead.GetRemapHueTablesSize() ;++i)
{
m_Lead.SetMaskTableL(i,0);
m_Lead.SetHTableL(i,1);
m_Lead.SetVTableL(i,0);
m_Lead.SetSTableL(i,0);
}
m_Lead.RemapHue( false, true, false, false );