32 #include <Filter/DistTransform.hh>
33 #include <Base/Image/Image.hh>
34 #include <Base/Image/ImageIO.hh>
35 #include <Base/ImageUtils/ImageDraw.hh>
41 int main (
int argc,
char *argv[])
44 cerr << argv[0] <<
" <segmented grey value image>\n";
51 BIASERR(
"error loading image "<<argv[1]);
59 cout<<
"Written distTransform.mip"<<endl;
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.
static int Load(const std::string &FileName, ImageBase &img)
first tries a call to Read MIP image and if that fails, tries to Import Image with all other availabl...