![]() |
zxhproj v 2.2
zxhproj
|
compute images histogram imagespacing is the intensity span of the histogram bin histogram bin value m_pImageData[1]~m_pImageData[m_iHistogramSize] More...
#include <zxhImageHistogram.h>
Public Member Functions | |
| virtual zxhImageDataT< float > * | Clone (zxhImageDataT< float > *&p) |
| new an image and clone | |
| virtual void | SetImages (int ndim, zxhImageDataT< PixelType > **p) |
| all image need to be same dimension/size/spacing | |
| virtual void | SetImages (zxhImageDataT< PixelType > **p) |
| all image need to be same dimension/size/spacing | |
| virtual void | SetOneImage (int id, zxhImageData *p) |
|
virtual zxhImageDataT < PixelType > * | GetImages (int idim) |
| virtual void | SetMaskImages (int ndim, zxhImageData **p) |
| virtual void | SetMaskImages (zxhImageData **p) |
| virtual void | SetOneMaskImage (int id, zxhImageData *p) |
| virtual zxhImageData * | GetMaskImages (int idim) |
| virtual void | SetHistogramSizes (int ndim, int *size) |
| set size, 0 mean according to unit of the intensity | |
| virtual void | SetHistogramSizes (int *size) |
| virtual int | GetHistogramSizes (int idim) |
| virtual float * | GetHistogramSpacings () |
| virtual float | GetHistogramSpacing (int idim) |
| virtual bool | SetHistogramBinValue (int *binPos, float v) |
| virtual float | GetHistogramBinValue (int *binPos) |
| virtual float | GetHistogramBinValue (int d0, int d1=0, int d2=0, int d3=0) |
| virtual bool | Evaluate (zxh::TypeHistogramCompute ParzenWindow=zxh::PDFType_Histogram) |
Static Public Member Functions | |
| static void | EvaluateToHistogramOfCurrentVoxsByParzenWindowType (float *pHistogram, int dimension, int *pNoBins, float *pBinSpacings, PixelType *pIntensities, PixelType *pIntensitiesMin, zxh::TypeHistogramCompute ParzenWindow) |
| compute the currect pixel-pair's contribute to the histogram data | |
Protected Member Functions | |
| virtual bool | EvaluateUniformVolume () |
| based on R. Shams, R. A. Kennedy, P. Sadeghi and R. Hartley, "Gradient intensity-based registration of multi-modal images of the brain," Proc. IEEE Int. Conf. on Computer Vision (ICCV), Rio de Janeiro, Brazil, Oct. 2007. | |
Protected Attributes | |
| zxhImageDataT< PixelType > * | m_apImages [ImageDimensionMax] |
| zxhImageData * | m_apMasks [ImageDimensionMax] |
| int | m_aiHistogramSizes [ImageDimensionMax] |
| int | m_aiHistogramPaddings [ImageDimensionMax] |
compute images histogram imagespacing is the intensity span of the histogram bin histogram bin value m_pImageData[1]~m_pImageData[m_iHistogramSize]
| virtual void zxhImageHistogramT< PixelType >::SetMaskImages | ( | int | ndim, |
| zxhImageData ** | p | ||
| ) | [inline, virtual] |
all mask image need to be same dimension/size/spacing and same as input images currently only maskimages[0] effects
| virtual void zxhImageHistogramT< PixelType >::SetMaskImages | ( | zxhImageData ** | p | ) | [inline, virtual] |
all mask image need to be same dimension/size/spacing and same as input images currently only maskimages[0] effects
zxhImageData* zxhImageHistogramT< PixelType >::m_apMasks[ImageDimensionMax] [protected] |
mask image for computing the histogram should be the same dimension size, spacing as m_pImage currecntly only based on m_apMasks[0]