 |
VTK
9.1.0
|
Go to the documentation of this file.
50 #ifndef vtkImageHistogram_h
51 #define vtkImageHistogram_h
53 #include "vtkImagingStatisticsModule.h"
58 class vtkImageHistogramThreadData;
59 class vtkImageHistogramSMPThreadLocal;
85 vtkSetMacro(ActiveComponent,
int);
86 vtkGetMacro(ActiveComponent,
int);
115 vtkSetMacro(MaximumNumberOfBins,
int);
116 vtkGetMacro(MaximumNumberOfBins,
int);
124 vtkSetMacro(NumberOfBins,
int);
125 vtkGetMacro(NumberOfBins,
int);
133 vtkSetMacro(BinOrigin,
double);
134 vtkGetMacro(BinOrigin,
double);
142 vtkSetMacro(BinSpacing,
double);
143 vtkGetMacro(BinSpacing,
double);
175 vtkSetVector2Macro(HistogramImageSize,
int);
176 vtkGetVector2Macro(HistogramImageSize,
int);
188 vtkGetMacro(HistogramImageScale,
int);
236 int HistogramImageSize[2];
257 friend class vtkImageHistogramFunctor;
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
vtkTypeBool GenerateHistogramImage
Compute the histogram for an image.
vtkImageHistogramThreadData * ThreadData
void ComputeImageScalarRange(vtkImageData *data, double range[2])
Compute the range of the data.
vtkIdType GetTotal()
Get the total count of the histogram.
vtkImageHistogramSMPThreadLocal * SMPThreadData
vtkIdTypeArray * Histogram
Generic filter that has one input.
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkImageHistogram() override
void SetHistogramImageScaleToSqrt()
Set the scale to use for the histogram image.
void SetStencilData(vtkImageStencilData *stencil)
Use a stencil to compute the histogram for just a part of the image.
vtkImageStencilData * GetStencil()
Use a stencil to compute the histogram for just a part of the image.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **inInfo, vtkInformationVector *vtkNotUsed(outInfo)) override
int RequestUpdateExtent(vtkInformation *vtkNotUsed(request), vtkInformationVector **inInfo, vtkInformationVector *vtkNotUsed(outInfo)) override
topologically and geometrically regular array of data
a simple class to control print indentation
vtkTypeBool AutomaticBinning
const char * GetHistogramImageScaleAsString()
Set the scale to use for the histogram image.
void SetStencilConnection(vtkAlgorithmOutput *algOutput)
Equivalent to SetInputConnection(1, algOutput).
void SetHistogramImageScaleToLog()
Set the scale to use for the histogram image.
void SetHistogramImageScaleToLinear()
Set the scale to use for the histogram image.
dynamic, self-adjusting array of vtkIdType
Proxy object to connect input/output ports.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) override
This is part of the executive, but is public so that it can be accessed by non-member functions.
efficient description of an image stencil
static vtkImageHistogram * New()
vtkIdTypeArray * GetHistogram()
Get the histogram as a vtkIdTypeArray.