|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   31 #ifndef vtkImageHistogram_h 
   32 #define vtkImageHistogram_h 
   34 #include "vtkImagingStatisticsModule.h"  
   39 class vtkImageHistogramThreadData;
 
   40 class vtkImageHistogramSMPThreadLocal;
 
   66   vtkSetMacro(ActiveComponent, 
int);
 
   67   vtkGetMacro(ActiveComponent, 
int);
 
   96   vtkSetMacro(MaximumNumberOfBins, 
int);
 
   97   vtkGetMacro(MaximumNumberOfBins, 
int);
 
  105   vtkSetMacro(NumberOfBins, 
int);
 
  106   vtkGetMacro(NumberOfBins, 
int);
 
  114   vtkSetMacro(BinOrigin, 
double);
 
  115   vtkGetMacro(BinOrigin, 
double);
 
  123   vtkSetMacro(BinSpacing, 
double);
 
  124   vtkGetMacro(BinSpacing, 
double);
 
  147   vtkBooleanMacro(GenerateHistogramImage, 
vtkTypeBool);
 
  156   vtkSetVector2Macro(HistogramImageSize, 
int);
 
  157   vtkGetVector2Macro(HistogramImageSize, 
int);
 
  169   vtkGetMacro(HistogramImageScale, 
int);
 
  170   const char* GetHistogramImageScaleAsString();
 
  217   int HistogramImageSize[2];
 
  238   friend class vtkImageHistogramFunctor;
 
  
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,...
vtkTypeBool GenerateHistogramImage
Compute the histogram for an image.
vtkImageHistogramThreadData * ThreadData
vtkIdType GetTotal()
Get the total count of the histogram.
vtkImageHistogramSMPThreadLocal * SMPThreadData
vtkIdTypeArray * Histogram
Generic filter that has one input.
void SetHistogramImageScaleToSqrt()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
a simple class to control print indentation
vtkTypeBool AutomaticBinning
static vtkAlgorithm * New()
void SetHistogramImageScaleToLog()
void SetHistogramImageScaleToLinear()
dynamic, self-adjusting array of vtkIdType
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
Proxy object to connect input/output ports.
efficient description of an image stencil
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.