Histogram data

typedef struct

{

    int                               nDim;

    int                               nColors;

    DWORD                   dwLowData[3];

    DWORD                   dwHighData[3];

    DWORD                   dwHistData[3][256];

} HISTDATA;

 

typedef HISTDATA FAR *LPHISTDATA;

 

typedef RECT FAR *LPRECT;

Description

The following data structure is used for containing the data of a created histogram.

Members of the structure

int

nDim

Number of color dimensions. 3 for 24 bit per pixel images and 1 for others.

int

nColors

Number of colors for 1 color channel. 2 for 1 bit per pixel, 16 for 4 bit per pixel and 256 for 8 bit per pixel images.

DWORD

dwLowData

Low data of histogram.

DWORD

dwHighData

High data of histogram.

DWORD

dwHistData

Histogram data.

Requirements

Header :     Declared in BiFilter.h.