|
open_iA 2024.9
|
#include "iAHistogramData.h"#include "iALog.h"#include "iAMathUtility.h"#include "iAVtkDataTypeMapper.h"#include "iAToolsVTK.h"#include "iATypedCallHelper.h"#include <vtkImageAccumulate.h>#include <vtkImageCast.h>#include <vtkImageData.h>#include <algorithm>#include <cassert>#include <cmath>Macros | |
| #define | MODE_VTK 0 |
Functions | |
| template<typename T > | |
| void | computeHistogram (std::shared_ptr< iAHistogramData > histData, vtkImageData *img, iAImageStatistics *imgStatistics, int component) |
| template<typename ContT > | |
| double * | createArrayFromContainer (ContT const &cont) |
| std::shared_ptr< iAHistogramData > | createMappedHistogramData (QString const &name, iAPlotData::DataType const *data, size_t srcNumBin, double srcMinX, double srcMaxX, size_t targetNumBin, double targetMinX, double targetMaxX, iAPlotData::DataType const maxValue) |
| Returns histogram with given data mapped from specified source to target range. | |
| #define MODE_VTK 0 |
| void computeHistogram | ( | std::shared_ptr< iAHistogramData > | histData, |
| vtkImageData * | img, | ||
| iAImageStatistics * | imgStatistics, | ||
| int | component ) |
| double * createArrayFromContainer | ( | ContT const & | cont | ) |
| std::shared_ptr< iAHistogramData > createMappedHistogramData | ( | QString const & | name, |
| iAPlotData::DataType const * | data, | ||
| size_t | srcNumBin, | ||
| double | srcMinX, | ||
| double | srcMaxX, | ||
| size_t | targetNumBin, | ||
| double | targetMinX, | ||
| double | targetMaxX, | ||
| iAPlotData::DataType const | maxValue ) |
Returns histogram with given data mapped from specified source to target range.