X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageView.h;h=75c6e1a107c62ec04af4d204798cd4a7ad4d6cfa;hb=aabf8efd83baca91f3ef0603db6e859db6f60c9f;hp=6d18f93779b441b852479cc39f4f81ca2866de69;hpb=412ca8c0300bc76e1a5e50a6de58840efc0d71b1;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.h index 6d18f93..75c6e1a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.h @@ -92,7 +92,9 @@ class ColorLayerImageView : public LayerImageBase int GetBaseColorNb(); - void FillColorTable(int start, int end, double r1, double g1, double b1, double r2, double g2, double b2); + void FillColorTable(int start, int end, double r1, double g1, double b1, double r2, double g2, double b2); + + int GrayLevel_TO_colorTableIndex( double VALUE ); private: @@ -102,6 +104,8 @@ class ColorLayerImageView : public LayerImageBase void SetDefaultGreyLevelBoundary(); void SetDefaultBaseColorAndGreyLevelBoundary(); virtual void ConfigLookupTable(); + int maxColorsThresholdTable; + //! Range values in the colored image. double _range[2];