#include #include #ifndef TESTIMAGES_H #define TESTIMAGES_H namespace icl{ class TestImages{ public: /// creates a new testimage instance /** possible values for name are - women - house - tree - parrot - windows - flowers */ static ImgBase* create(const std::string& name, const Size &size, format f=formatRGB, depth d=depth8u); static ImgBase *create(const std::string& name, format f=formatRGB, depth d=depth8u); /// writes the image to the disc an shows it using xv. static void xv(const ImgBase *image, const std::string& tmpName="./tmp_image.ppm", long msec_to_rm_call=1000); private: static Img8u *internalCreate(const std::string &name); }; ImgBase *createImage_macaw(); ImgBase *createImage_windows(); ImgBase *createImage_flowers(); } #endif