18 #ifndef BERRYGEOMETRY_H_
19 #define BERRYGEOMETRY_H_
40 static int GetDimension(
const QRect& toMeasure,
bool width);
51 static bool IsHorizontal(
int berrySideConstant);
66 static QRect GetExtrudedEdge(
const QRect& toExtrude,
int size,
89 static int GetClosestSide(
const QRect& boundary,
const QPoint& toTest);
101 static int GetDistanceFromEdge(
const QRect& rectangle,
const QPoint& testPoint,
112 static int GetOppositeSide(
int directionConstant);
123 static QRect ToControl(QWidget* coordinateSystem,
124 const QRect& toConvert);
135 static QPoint ToControl(QWidget* coordinateSystem,
136 const QPoint& toConvert);
147 static QRect ToDisplay(QWidget* coordinateSystem,
148 const QRect& toConvert);
159 static QPoint ToDisplay(QWidget* coordinateSystem,
160 const QPoint& toConvert);
void Normalize(itk::Image< TPixel, VImageDimension > *itkImage, mitk::Image::Pointer im2, mitk::Image::Pointer mask1, std::string output)