NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Base class for breast mask MRI segmentation methods. More...
Classes | |
class | BIFIntensityAccessor |
struct | larger_second |
Protected Member Functions | |
BreastMaskSegmentationFromMRI () | |
Constructor. More... | |
virtual | ~BreastMaskSegmentationFromMRI () |
Destructor. More... | |
virtual void | Initialise (void) |
Initialise the segmentor. More... | |
virtual void | CreateBIFs (void) |
Create the BIF Image. More... | |
void | SmoothTheInputImages (void) |
Smooth the structural and FatSat images. More... | |
InternalImageType::Pointer | ScanLineMaxima (typename InternalImageType::Pointer image, typename InternalImageType::RegionType region, unsigned int direction, bool flgForward) |
Scan an image in a particular direction and replace voxels with scanned maximum intensity. More... | |
InternalImageType::Pointer | GreyScaleCloseImage (typename InternalImageType::Pointer image, typename InternalImageType::RegionType region, unsigned int direction, const std::string label) |
Scan an image in a particular direction and replace voxels with closed intensities. More... | |
InternalImageType::Pointer | GreyScaleCloseImage (typename InternalImageType::Pointer image, typename InternalImageType::RegionType region, const char *strSide) |
Scan an image in all directions and replace voxels with closed intensities. More... | |
void | GreyScaleClosing (void) |
Scan rows and columns in the image to fill in the center of the breast. More... | |
void | CalculateTheMaximumImage (void) |
Calculate the maximum image. More... | |
void | EnsureMaxImageHasOnlyPositiveIntensities (void) |
Ensure the maximum image contains only positive intensities. More... | |
void | SmoothMaxImageToIncreaseSeparationOfTheBackground (void) |
Smooth the image to increase separation of the background. More... | |
void | SegmentForegroundFromBackground (void) |
Segment the backgound using itkForegroundFromBackgroundImageThresholdCalculator. More... | |
void | SegmentBackground (void) |
Segment the backgound using the maximum image histogram. More... | |
void | ComputeElevationOfAnteriorSurface (bool flgCoilCrop=false) |
Compute a 2D map of the height of the patient's anterior skin surface. More... | |
InternalImageType::IndexType | FindSurfacePoint (typename InternalImageType::IndexType idxNipple, float deltaXinMM, float deltaZinMM) |
Find a point in the surface offset from the nipple. More... | |
void | FindBreastLandmarks (void) |
Find the nipple and mid-sternum landmarks. More... | |
PointSetType::Pointer | SegmentThePectoralMuscle (RealType rYHeightOffset, unsigned long &iPointPec, bool flgIncludeNippleSeeds=false) |
Segment the Pectoral Muscle. More... | |
void | CropTheMaskAccordingToEstimateOfCoilExtentInCoronalPlane (void) |
Discard anything not within the skin elevation mask. More... | |
void | MaskWithBSplineBreastSurface (RealType rYHeightOffset) |
Discard anything not within a B-Spline fitted to the breast skin surface. More... | |
void | MaskBreastWithSphere (void) |
Mask with a sphere centered on each breast. More... | |
void | SmoothMask (void) |
Smooth the mask and threshold to round corners etc. More... | |
void | ExtractLargestObject (enumBreastSideType breastSide) |
Extract the largest object. More... | |
double | DistanceBetweenVoxels (typename InternalImageType::IndexType p, typename InternalImageType::IndexType q) |
std::string | ModifySuffix (std::string filename, std::string strInsertBeforeSuffix) |
std::string | GetBreastSide (std::string &fileOutput, enumBreastSideType breastSide) |
InternalImageType::Pointer | GetBreastSide (typename InternalImageType::Pointer inImage, enumBreastSideType breastSide) |
bool | WriteImageToFile (std::string &fileOutput, const char *description, typename InternalImageType::Pointer image, enumBreastSideType breastSide) |
bool | WriteImageToFile (std::string &fileOutput, const char *description, typename InternalImageType::Pointer image, bool flgLeft=false, bool flgRight=false) |
bool | WriteBinaryImageToUCharFile (std::string &fileOutput, const char *description, typename InternalImageType::Pointer image, enumBreastSideType breastSide) |
bool | WriteBinaryImageToUCharFile (std::string &fileOutput, const char *description, typename InternalImageType::Pointer image, bool flgLeft, bool flgRight) |
bool | WriteBinaryImageToUCharFileOrVTKSurfaceFile (std::string &fileOutput, const char *description, typename InternalImageType::Pointer image, bool flgLeft, bool flgRight) |
Based on the file extension it will be decided wheter a vtk surface is written or an image is saved. More... | |
void | WriteHistogramToFile (std::string fileOutput, vnl_vector< double > &xHistIntensity, vnl_vector< double > &yHistFrequency, unsigned int nBins) |
void | polyDataInfo (vtkPolyData *polyData) |
void | WriteImageToVTKSurfaceFile (typename InternalImageType::Pointer image, std::string &fileOutput, enumBreastSideType breastSide, bool flgVerbose, float finalSegmThreshold) |
InternalImageType::Pointer | MaskImageFromBSplineFittedSurface (const typename PointSetType::Pointer &pointSet, const typename InternalImageType::RegionType ®ion, const typename InternalImageType::PointType &origin, const typename InternalImageType::SpacingType &spacing, const typename InternalImageType::DirectionType &direction, const RealType rYHeightOffset, const int splineOrder, const RealType controlPointSpacingInMM, const int numOfLevels, bool correctSurfaceOffest) |
Base class for breast mask MRI segmentation methods.
This class defines the common methods used by variations of the breast mask segmentation.
typedef itk::Image<RealType, SliceDimension> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::AxialImageType |
typedef itk::BasicImageFeaturesImageFilter< InputSliceType, InputSliceType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::BasicImageFeaturesFilterType |
typedef itk::ConnectedThresholdImageFilter< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::ConnectedFilterType |
typedef itk::RegionGrowSurfacePoints< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::ConnectedSurfaceVoxelFilterType |
typedef SmartPointer<const Self> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::ConstPointer |
typedef DerivativeFilterType::Pointer itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::DerivativeFilterPointer |
typedef itk::LewisGriffinRecursiveGaussianImageFilter< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::DerivativeFilterType |
typedef itk::ImageDuplicator< InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::DuplicatorType |
typedef itk::FastMarchingImageFilter< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::FastMarchingFilterType |
typedef itk::GradientMagnitudeRecursiveGaussianImageFilter< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::GradientFilterType |
typedef itk::Image<InputPixelType, SliceDimension> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::InputSliceType |
typedef itk::Image<InputPixelType, ImageDimension> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::InternalImageType |
typedef itk::ImageRegionIterator< InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::IteratorType |
typedef itk::ImageRegionIteratorWithIndex<InternalImageType> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::IteratorWithIndexType |
typedef itk::ImageLinearIteratorWithIndex< InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::LineIteratorType |
typedef itk::MaximumImageFilter<InternalImageType, InternalImageType> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::MaxImageFilterType |
typedef PointSetType::PointDataContainer itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::PointDataContainer |
typedef PointDataContainer::Iterator itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::PointDataIterator |
typedef SmartPointer<Self> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::Pointer |
typedef PointSetType::PointsContainer itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::PointsContainer |
typedef itk::PointSet<VectorType, ParametricDimension> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::PointSetType |
typedef PointsContainer::Iterator itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::PointsIterator |
typedef float itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::RealType |
typedef BreastMaskSegmentationFromMRI itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::Self |
typedef itk::SigmoidImageFilter<InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::SigmoidFilterType |
typedef itk::SliceBySliceImageFilter< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::SliceBySliceImageFilterType |
typedef itk::ImageSliceIteratorWithIndex< InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::SliceIteratorType |
typedef itk::CurvatureAnisotropicDiffusionImageFilter< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::SmoothingFilterType |
typedef Object itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::Superclass |
typedef itk::BinaryThresholdImageFilter< InternalImageType, InternalImageType > itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::ThresholdingFilterType |
typedef itk::Image<VectorType, ParametricDimension> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::VectorImageType |
typedef itk::Vector<RealType, DataDimension> itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::VectorType |
enum itk::BreastMaskSegmentationFromMRI::enumBreastSideType |
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
|
protected |
Calculate the maximum image.
|
protected |
Compute a 2D map of the height of the patient's anterior skin surface.
|
protectedvirtual |
Create the BIF Image.
|
protected |
Discard anything not within the skin elevation mask.
|
protected |
|
protected |
Ensure the maximum image contains only positive intensities.
|
pure virtual |
Execute the segmentation - must be implemented in derived class.
Implemented in itk::BreastMaskSegmForBreastDensity< ImageDimension, InputPixelType >, and itk::BreastMaskSegmForModelling< ImageDimension, InputPixelType >.
|
protected |
Extract the largest object.
|
protected |
Find the nipple and mid-sternum landmarks.
|
protected |
Find a point in the surface offset from the nipple.
|
protected |
|
protected |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Scan an image in a particular direction and replace voxels with closed intensities.
|
protected |
Scan an image in all directions and replace voxels with closed intensities.
|
protected |
Scan rows and columns in the image to fill in the center of the breast.
|
protectedvirtual |
Initialise the segmentor.
itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::itkStaticConstMacro | ( | SliceDimension | , |
unsigned | int, | ||
2 | |||
) |
itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::itkStaticConstMacro | ( | ParametricDimension | , |
unsigned | int, | ||
2 | |||
) |
itk::BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >::itkStaticConstMacro | ( | DataDimension | , |
unsigned | int, | ||
1 | |||
) |
|
protected |
Mask with a sphere centered on each breast.
|
protected |
|
protected |
Discard anything not within a B-Spline fitted to the breast skin surface.
|
protected |
|
protected |
|
protected |
Scan an image in a particular direction and replace voxels with scanned maximum intensity.
|
protected |
Segment the backgound using the maximum image histogram.
|
protected |
Segment the backgound using itkForegroundFromBackgroundImageThresholdCalculator.
|
protected |
Segment the Pectoral Muscle.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Smooth the mask and threshold to round corners etc.
|
protected |
Smooth the image to increase separation of the background.
|
protected |
Smooth the structural and FatSat images.
|
protected |
|
protected |
|
protected |
Based on the file extension it will be decided wheter a vtk surface is written or an image is saved.
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
Write the segmented image to a file.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Landmarks used by the segmentation.
|
protected |
|
protected |
Breast Landmarks.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The left side of the image.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |