Example for disttransform of images
- Author
- MIP
#include <Filter/DistTransform.hh>
#include <Base/Image/Image.hh>
#include <Base/Image/ImageIO.hh>
#include <Base/ImageUtils/ImageDraw.hh>
using namespace BIAS;
using namespace std;
int main (int argc, char *argv[])
{
if (argc!=2){
cerr << argv[0] << " <segmented grey value image>\n";
return -1;
}
BIASERR("error loading image "<<argv[1]);
return -2;
}
cout<<"Written distTransform.mip"<<endl;
return 0;
}