SMILX  1.01
Functions
Image Collection Operations

Members for operating of a collection of images (i.e. image batching) More...

Functions

static void milx::Image< TImage >::InformationCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by output the image information for each image.
 
static void milx::Image< TImage >::MatchHistogramCollection (std::vector< typename itk::SmartPointer< TImage > > &images, itk::SmartPointer< TImage > refImage, const int bins=128)
 Batch process images by matching the histograms of the images to the reference image provided.
 
static void milx::Image< TImage >::CheckerboardCollection (std::vector< typename itk::SmartPointer< TImage > > &images, itk::SmartPointer< TImage > refImage, const int squares=10)
 Batch process images by checkerboarding all of the images to the reference image provided.
 
static void milx::Image< TImage >::RescaleIntensityCollection (std::vector< typename itk::SmartPointer< TImage > > &images, float belowValue, float aboveValue)
 
static void milx::Image< TImage >::InvertIntensityCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by inverting the intensities for each image.
 
static void milx::Image< TImage >::FlipCollection (std::vector< typename itk::SmartPointer< TImage > > &images, bool xAxis=false, bool yAxis=true, bool zAxis=false, bool aboutOrigin=true)
 Batch process images by flipping each image along axis provided.
 
template<typename TOutImage >
static std::vector< typename itk::SmartPointer< TOutImage > > milx::Image< TImage >::AnisotropicDiffusionCollection (const std::vector< typename itk::SmartPointer< TImage > > &images, const int iterations, float timestep=-1.0)
 Batch process images by smoothing each image using Gradient Anisotropic Diffusion. More...
 
static void milx::Image< TImage >::BilateralCollection (std::vector< typename itk::SmartPointer< TImage > > &images, float sigmaRange, float sigmaSpatial)
 Batch process images by bilateral smoothing each image.
 
template<typename TOutImage >
static std::vector< typename itk::SmartPointer< TOutImage > > milx::Image< TImage >::CastCollection (const std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by casting each image to type provided in templates.
 
static void milx::Image< TImage >::MedianCollection (std::vector< typename itk::SmartPointer< TImage > > &images, const int radius)
 Batch process images by smoothing each image using the Median of the neighbourhood.
 
static void milx::Image< TImage >::GradientMagnitudeCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by hightlighting the edges of each image using Gradient magnitude information of the pixels in the image.
 
static void milx::Image< TImage >::LaplacianCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by hightlighting the edges of each image using the Laplacian of the image.
 
template<typename TOutImage >
static std::vector< typename itk::SmartPointer< TOutImage > > milx::Image< TImage >::DistanceMapCollection (const std::vector< typename itk::SmartPointer< TImage > > &images, const bool binaryImage=false, const bool signedDistances=false, const bool computeInsideObject=false, const bool squaredDistance=false)
 Batch process images by computing the distance map of each image. Output should always be a float image.
 
static void milx::Image< TImage >::ThresholdAboveCollection (std::vector< typename itk::SmartPointer< TImage > > &images, float outsideValue, float aboveValue)
 Batch process images by thresholding each image from above.
 
static void milx::Image< TImage >::ThresholdBelowCollection (std::vector< typename itk::SmartPointer< TImage > > &images, float outsideValue, float belowValue)
 Batch process images by thresholding each image from below.
 
static void milx::Image< TImage >::ThresholdCollection (std::vector< typename itk::SmartPointer< TImage > > &images, float outsideValue, float belowValue, float aboveValue)
 Batch process images by thresholding each image within band provided.
 
template<typename TOutImage >
static std::vector< typename itk::SmartPointer< TOutImage > > milx::Image< TImage >::BinaryThresholdCollection (const std::vector< typename itk::SmartPointer< TImage > > &images, float outsideValue, float insideValue, float belowValue, float aboveValue)
 Batch process images by binary thresholding each image within band and inside value provided.
 
template<typename TOutImage >
static std::vector< typename itk::SmartPointer< TOutImage > > milx::Image< TImage >::OtsuMultipleThresholdCollection (const std::vector< typename itk::SmartPointer< TImage > > &images, const int bins, const int noOfLabels)
 Batch process images by Otsu (histogram-based) thresholding each image having number of partitions/labels provided.
 
template<class TMaskImage >
static void milx::Image< TImage >::MaskCollection (std::vector< typename itk::SmartPointer< TImage > > &images, itk::SmartPointer< TMaskImage > maskImage)
 Batch process images by masking using the mask image provided.
 
static void milx::Image< TImage >::RelabelCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by relabelling unconnected regions consecutatively.
 
template<class TRefImage >
static void milx::Image< TImage >::ResampleCollection (std::vector< typename itk::SmartPointer< TImage > > &images, itk::SmartPointer< TRefImage > refImage)
 Batch process images by resampling images using the reference image provided.
 
template<class TRefImage >
static void milx::Image< TImage >::ResampleLabelCollection (std::vector< typename itk::SmartPointer< TImage > > &images, itk::SmartPointer< TRefImage > refImage)
 Batch process labelled images by resampling images using the reference image provided. This uses the nearest neighbour interploator.
 
static itk::SmartPointer< TImage > milx::Image< TImage >::AddCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by the adding the images together (pixel-wise).
 
static itk::SmartPointer< TImage > milx::Image< TImage >::SubtractCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by the subtracting the images from the first image (pixel-wise).
 
static itk::SmartPointer< TImage > milx::Image< TImage >::DifferenceCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Same as SubtractCollection.
 
template<class TOutImage >
static itk::SmartPointer< TOutImage > milx::Image< TImage >::AverageCollection (std::vector< typename itk::SmartPointer< TImage > > &images)
 Batch process images by the averaging the images (pixel-wise).
 
static itk::SmartPointer< TImage > milx::Image< TImage >::AverageVectorCollection (std::vector< typename itk::SmartPointer< TImage > > &images, int numberOfComponents)
 Batch process images by the averaging the vector images (pixel-wise).
 
template<class TJoinedImage >
itk::SmartPointer< TJoinedImage > milx::Image< TImage >::JoinCollection (std::vector< typename itk::SmartPointer< TImage > > &images, const double origin, const double spacing)
 

Detailed Description

Members for operating of a collection of images (i.e. image batching)

Function Documentation

◆ AnisotropicDiffusionCollection()

template<class TImage >
template<typename TOutImage >
std::vector< typename itk::SmartPointer< TOutImage > > milx::Image< TImage >::AnisotropicDiffusionCollection ( const std::vector< typename itk::SmartPointer< TImage< TImage > > > &  images,
const int  iterations,
float  timestep = -1.0 
)
static

Batch process images by smoothing each image using Gradient Anisotropic Diffusion.

Output has always has to be floating point.

Definition at line 3151 of file milxImage.h.