#include <histogramimage.h>
Inheritance diagram for Plot::OneDHistogramImage< PixelType, PixelMatrix >:
The border is not as important here as it is for the MatrixImage<> class, but it is supported so that images from both classes can be freely intermixed, with all having a uniform border.
Definition at line 31 of file histogramimage.h.
Public Methods | |
Constructors and Destructors | |
OneDHistogramImage () | |
Empty image constructor. | |
template<class Histogram> | OneDHistogramImage (const Histogram &h, bool vertical=false, double size_scale_i=1.0, double aspect_ratio_i=1.0, Bounded::Magnitude bin_fullness_range_i=1.0, int borderwidth=0, const ColorLookup< PixelType > &L=HueColorLookup< PixelType >(), const PixelType &bordercolor=default_border, const PixelType &bg_=default_bg, const PixelType &fg_=default_fg) |
Constructor taking a single histogram, to plot one dimension. |
|
Constructor taking a single histogram, to plot one dimension. The aspect ratio is the ratio between the number of bins and the length of the representation to use for the bin fullnesses. L determines the mapping from a bin number (on a scale 0-1.0) to a color. Definition at line 124 of file histogramimage.h. References Plot::OneDHistogramImage< PixelType, PixelMatrix >::num_bins. |