32 #include <Base/Image/ImageBase.hh>
33 #include <Base/ImageUtils/ImageDraw.hh>
34 #include <Base/Image/ImageIO.hh>
42 im.FillImageWithConstValue((
unsigned char)0);
46 unsigned start[]={10, 50}, end[]={150, 150}, length=10, width=5;
47 unsigned char col[]={200};
static int Arrow(Image< StorageType > &im, const unsigned start[2], const unsigned end[2], const unsigned length, const unsigned width, const StorageType value[])
draws an arrow from start to end, the tips of the head are length pixel back on the line and width pi...
static int RectangleCorners(Image< StorageType > &im, const int minx, const int miny, const int maxx, const int maxy, const StorageType value[])
rectangles
static int WriteUnbuffered(const std::string &FileName, const ImageBase &img)
Write a mip binary image to disk circumventing OS caches as good as possible.
static int Save(const std::string &filename, const ImageBase &img, const enum TFileFormat FileFormat=FF_auto, const bool sync=BIAS_DEFAULT_SYNC, const int c_jpeg_quality=BIAS_DEFAULT_IMAGE_QUALITY, const bool forceNewID=BIAS_DEFAULT_FORCENEWID, const bool &writeMetaData=true)
Export image as file using extrnal libs.