Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkCommandLineParser.h"
#include "mitkImage.h"
#include "mitkImageStatisticsCalculator.h"
#include "mitkIOUtil.h"
#include <iostream>
#include <usAny.h>
#include <fstream>
#include <itkImageRegionConstIterator.h>
#include "mitkImageAccessByItk.h"
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/mean.hpp>
#include <boost/accumulators/statistics/variance.hpp>
#include <boost/accumulators/statistics/min.hpp>
#include <boost/accumulators/statistics/max.hpp>
#include <boost/accumulators/statistics/count.hpp>
#include <boost/accumulators/statistics/moment.hpp>
#include <mitkImageMaskGenerator.h>
#include <mitkIgnorePixelMaskGenerator.h>
Go to the source code of this file.
Functions | |
void | printstats (statistics_res s) |
template<typename TPixel , unsigned int VImageDimension> | |
void | get_statistics_boost (itk::Image< TPixel, VImageDimension > *itkImage, statistics_res &res) |
int | main (int argc, char *argv[]) |
void get_statistics_boost | ( | itk::Image< TPixel, VImageDimension > * | itkImage, |
statistics_res & | res | ||
) |
Definition at line 52 of file ImageStatisticsMiniApp.cpp.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 88 of file ImageStatisticsMiniApp.cpp.
References AccessByItk_n, mitkCommandLineParser::addArgument(), us::any_cast(), get_statistics_boost(), mitkCommandLineParser::helpText(), mitkCommandLineParser::InputFile, mitk::IOUtil::LoadImage(), MITK_ERROR, mitk::ImageMaskGenerator::New(), mitk::ImageStatisticsCalculator::New(), mitk::IgnorePixelMaskGenerator::New(), mitkCommandLineParser::OutputFile, mitkCommandLineParser::parseArguments(), printstats(), mitkCommandLineParser::setArgumentPrefix(), mitkCommandLineParser::setCategory(), mitkCommandLineParser::setContributor(), mitkCommandLineParser::setDescription(), mitkCommandLineParser::setTitle(), and mitkCommandLineParser::String.
void printstats | ( | statistics_res | s | ) |
Definition at line 41 of file ImageStatisticsMiniApp.cpp.
Referenced by main().