31 #ifndef vtkImageHistogram_h 32 #define vtkImageHistogram_h 34 #include "vtkImagingStatisticsModule.h" 39 class vtkImageHistogramThreadData;
40 class vtkImageHistogramSMPThreadLocal;
66 vtkGetMacro(ActiveComponent,
int);
83 vtkGetMacro(AutomaticBinning,
int);
96 vtkGetMacro(MaximumNumberOfBins,
int);
105 vtkGetMacro(NumberOfBins,
int);
114 vtkGetMacro(BinOrigin,
double);
123 vtkGetMacro(BinSpacing,
double);
147 vtkGetMacro(GenerateHistogramImage,
int);
155 vtkSetVector2Macro(HistogramImageSize,
int);
156 vtkGetVector2Macro(HistogramImageSize,
int);
164 vtkSetClampMacro(HistogramImageScale,
int,
172 vtkGetMacro(HistogramImageScale,
int);
173 const char *GetHistogramImageScaleAsString();
196 vtkImageData **outData,
int ext[6],
int id) VTK_OVERRIDE;
223 int AutomaticBinning;
224 int MaximumNumberOfBins;
226 int HistogramImageSize[2];
227 int HistogramImageScale;
228 int GenerateHistogramImage;
238 vtkImageHistogramThreadData *ThreadData;
241 vtkImageHistogramSMPThreadLocal *SMPThreadData;
247 friend class vtkImageHistogramFunctor;
dynamic, self-adjusting array of vtkIdType
vtkIdType GetTotal()
Get the total count of the histogram.
Proxy object to connect input/output ports.
Generic filter that has one input.
void SetHistogramImageScaleToLog()
Set the scale to use for the histogram image.
void SetHistogramImageScaleToSqrt()
Set the scale to use for the histogram image.
a simple class to control print indentation
efficient description of an image stencil
topologically and geometrically regular array of data
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetHistogramImageScaleToLinear()
Set the scale to use for the histogram image.
Compute the histogram for an image.