19 #include "mitkAutoCropTool.xpm"
38 return mitkAutoCropTool_xpm;
48 return "Cropping of these nodes failed:";
66 cropFilter->SetInput(image);
67 cropFilter->SetBackgroundValue(0);
72 image = cropFilter->GetOutput();
73 if (image.IsNotNull())
Shrink the image borders to a minimum considering a background color.
virtual void SetData(mitk::BaseData *baseData)
Set the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
Image class for storing images.
Class for nodes of the DataTree.