![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
#include "iAHistogramData.h"#include "iALog.h"#include "iAImageInfo.h"#include "iAMathUtility.h"#include "iAVtkDataTypeMapper.h"#include "iAToolsVTK.h"#include <vtkImageAccumulate.h>#include <vtkImageCast.h>#include <vtkImageData.h>#include <algorithm>#include <cassert>#include <cmath>Macros | |
| #define | Round std::round |
Functions | |
| template<typename ContT > | |
| double * | createArrayFromContainer (ContT const &cont) |
| QSharedPointer< 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. More... | |
| #define Round std::round |
| double * createArrayFromContainer | ( | ContT const & | cont | ) |
| QSharedPointer< 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.