$search

clahe.cpp File Reference

Definitions for Contrast Limited Adaptive Histogram Equalization (CLAHE). More...

#include <cv.h>
#include "clahe.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for clahe.cpp:

Go to the source code of this file.

Defines

#define BYTE_IMAGE
#define uiNR_OF_GREY   (256)

Typedefs

typedef unsigned char kz_pixel_t

Functions

static int CLAHE (kz_pixel_t *pImage, unsigned int uiXRes, unsigned int uiYRes, kz_pixel_t Min, kz_pixel_t Max, unsigned int uiNrX, unsigned int uiNrY, unsigned int uiNrBins, float fCliplimit)
static void ClipHistogram (unsigned long *, unsigned int, unsigned long)
void cvAdaptEqualize (IplImage *src, IplImage *dst, unsigned int xdivs, unsigned int ydivs, unsigned int bins, int range)
void cvCLAdaptEqualize (IplImage *src, IplImage *dst, unsigned int xdivs, unsigned int ydivs, unsigned int bins, float limit, int range)
static void Interpolate (kz_pixel_t *, int, unsigned long *, unsigned long *, unsigned long *, unsigned long *, unsigned int, unsigned int, kz_pixel_t *)
static void MakeHistogram (kz_pixel_t *, unsigned int, unsigned int, unsigned int, unsigned long *, unsigned int, kz_pixel_t *)
static void MakeLut (kz_pixel_t *, kz_pixel_t, kz_pixel_t, unsigned int)
static void MapHistogram (unsigned long *, kz_pixel_t, kz_pixel_t, unsigned int, unsigned long)

Variables

static const unsigned int uiMAX_REG_X = 16
static const unsigned int uiMAX_REG_Y = 16

Detailed Description

Definitions for Contrast Limited Adaptive Histogram Equalization (CLAHE).

Definition in file clahe.cpp.


Define Documentation

#define BYTE_IMAGE

Definition at line 31 of file clahe.cpp.

#define uiNR_OF_GREY   (256)

Definition at line 35 of file clahe.cpp.


Typedef Documentation

typedef unsigned char kz_pixel_t

Definition at line 34 of file clahe.cpp.


Function Documentation

static int CLAHE ( kz_pixel_t pImage,
unsigned int  uiXRes,
unsigned int  uiYRes,
kz_pixel_t  Min,
kz_pixel_t  Max,
unsigned int  uiNrX,
unsigned int  uiNrY,
unsigned int  uiNrBins,
float  fCliplimit 
) [static]

Definition at line 254 of file clahe.cpp.

void ClipHistogram ( unsigned long *  pulHistogram,
unsigned int  uiNrGreylevels,
unsigned long  ulClipLimit 
) [static]

Definition at line 354 of file clahe.cpp.

void cvAdaptEqualize ( IplImage *  src,
IplImage *  dst,
unsigned int  xdivs,
unsigned int  ydivs,
unsigned int  bins,
int  range 
)

Definition at line 72 of file clahe.cpp.

void cvCLAdaptEqualize ( IplImage *  src,
IplImage *  dst,
unsigned int  xdivs,
unsigned int  ydivs,
unsigned int  bins,
float  limit,
int  range 
)

Definition at line 97 of file clahe.cpp.

void Interpolate ( kz_pixel_t pImage,
int  uiXRes,
unsigned long *  pulMapLU,
unsigned long *  pulMapRU,
unsigned long *  pulMapLB,
unsigned long *  pulMapRB,
unsigned int  uiXSize,
unsigned int  uiYSize,
kz_pixel_t pLUT 
) [static]

Definition at line 493 of file clahe.cpp.

void MakeHistogram ( kz_pixel_t pImage,
unsigned int  uiXRes,
unsigned int  uiSizeX,
unsigned int  uiSizeY,
unsigned long *  pulHistogram,
unsigned int  uiNrGreylevels,
kz_pixel_t pLookupTable 
) [static]

Definition at line 443 of file clahe.cpp.

void MakeLut ( kz_pixel_t pLUT,
kz_pixel_t  Min,
kz_pixel_t  Max,
unsigned int  uiNrBins 
) [static]

Definition at line 482 of file clahe.cpp.

void MapHistogram ( unsigned long *  pulHistogram,
kz_pixel_t  Min,
kz_pixel_t  Max,
unsigned int  uiNrGreylevels,
unsigned long  ulNrOfPixels 
) [static]

Definition at line 466 of file clahe.cpp.


Variable Documentation

const unsigned int uiMAX_REG_X = 16 [static]

Definition at line 250 of file clahe.cpp.

const unsigned int uiMAX_REG_Y = 16 [static]

Definition at line 251 of file clahe.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


thermalvis
Author(s): Stephen Vidas
autogenerated on Tue Mar 5 12:25:27 2013