16 #ifndef mitkForest_cpp
17 #define mitkForest_cpp
26 #include <vtkSmartPointer.h>
32 int main(
int argc,
char* argv[])
43 col->AddData(sur.GetPointer(),
"sur");
46 col->AddData(mask.GetPointer(),
"mask");
48 std::vector<std::string> modalities;
49 for (
int i = 4; i < argc; ++i)
54 modalities.push_back(ss.str());
56 col->AddData(img.GetPointer(),ss.str());
void SetWeightName(std::string name)
void SetTrainMask(std::string name)
static bool SaveImage(mitk::Image::Pointer image, const std::string &path)
SaveImage Convenience method to save an arbitrary mitkImage.
void SetTestMask(std::string name)
void SetModalities(std::vector< std::string > modalities)
int main(int argc, char *argv[])
void SetCollection(DataCollection::Pointer data)
static mitk::Image::Pointer LoadImage(const std::string &path)
LoadImage Convenience method to load an arbitrary mitkImage.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.