123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- namespace OBJREC {
- /** @brief simple ICE tools */
- class ICETools
- {
- protected:
- public:
- /** simple constructor */
- ICETools();
-
- virtual ~ICETools();
-
- static void selectRectangles ( const NICE::Image & panel, NICE::Image & overlay,
- std::vector<NICE::Vector> & x, int color );
-
- static void selectPoints ( const NICE::Image & panel, NICE::Image & overlay,
- std::vector<NICE::Vector> & x, int color );
-
- static void convertToRGB ( const NICE::FloatImage & m, NICE::ColorImage & img );
-
- static void convertToRGB ( const NICE::Matrix & m, NICE::ColorImage & img );
-
- static void toColor ( double x, double & r, double & g, double & b );
-
- static void calcGrayImage ( const NICE::ColorImage & img, NICE::Image & imgg );
-
- static void convertM2ICE ( NICE::Matrix & M, double *raw );
-
- static double *convertICE2M ( const NICE::Matrix & M );
-
- static int showImages ( std::vector<NICE::Image> & imagelist );
- static int markImage ( const NICE::Image & img, NICE::Image & mark, int marksize, int maxColor );
- };
- }
|