VIP: Volume Image Processing


histo.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <limits.h>
#include <errno.h>
#include <time.h>
#include <math.h>
#include <vip/util.h>
#include <vip/alloc.h>
#include <vip/volume.h>
#include <vip/histo/histo_ss.h>
Include dependency graph for histo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Vip_histo
 

Macros

#define mVipHistoVal(h, g)
 
#define mVipHistoRangeMin(h)
 
#define mVipHistoRangeMax(h)
 
#define mVipHistoMin(h)
 
#define mVipHistoMax(h)
 
#define WRITE_HISTO_BINARY   0
 
#define WRITE_HISTO_ASCII   1
 

Typedefs

typedef struct Vip_histo VipHisto
 

Functions

VipT1HistoAnalysis * VipAnalyseCascadesRidge (SSCascade *clist, Vip1DScaleSpaceStruct *volstruct, float mean)
 
VipHisto * VipGetHistoSurface (VipHisto *hin, Volume *vol)
 
VipHisto * VipGetForcedUndersampledHisto (VipHisto *hin, int *ratio)
 
VipHisto * VipGetEntropyForcedUndersampledHisto (VipHisto *hin, float entropy, int *ratio)
 
int VipGetHistoEntropy (VipHisto *histo, float *entropo)
 
int VipPourcentageLowerThanThreshold (Volume *vol, int lowthreshold, int pourcentage)
 
int VipCutRightFlatPartOfHisto (VipHisto *h, int cutvalue)
 
int VipTestHistoExists (char *name)
 
VipHisto * VipGetUndersampledHisto (VipHisto *hin, int *ratio)
 
VipHisto * VipGetPropUndersampledHisto (VipHisto *hin, int prop, int *ratio, int *power2, int threshold, int final_length)
 
VipHisto * VipGetCumulHisto (VipHisto *hin)
 
VipHisto * VipReadHisto (char *name)
 
int VipWriteHisto (VipHisto *histo, char *name, int mode)
 
VipHisto * VipGetLeftExtendedHisto (VipHisto *hin, int length)
 
VipHisto * VipGetRightExtendedHisto (VipHisto *hin, int length)
 
VipHisto * VipCreateHisto (int minvalue, int maxvalue)
 
int VipFreeHisto (VipHisto *histo)
 
int VipSetHistoVal (VipHisto *histo, int greylevel, int value)
 
int VipGetHistoVal (VipHisto *histo, int greylevel, int *value)
 
int VipGetHistoMin (VipHisto *histo, int *min)
 
int VipGetHistoMax (VipHisto *histo, int *max)
 
VipHisto * VipComputeVolumeHisto (Volume *vol)
 
VipHisto * VipComputeCleanedUpVolumeHisto (Volume *vol, Volume *discard)
 
Volume * VipComputeMeanVolume (Volume *vol)
 
Volume * VipComputeVarianceVolume (Volume *vol)
 
VipHisto * VipCreateThreeGaussianSumHisto (float m1, float s1, float h1, float m2, float s2, float h2, float m3, float s3, float h3)
 
VipHisto * VipCreateForGaussianSumHisto (float m1, float s1, float h1, float m2, float s2, float h2, float m3, float s3, float h3, float m4, float s4, float h4)
 
int VipComputeStatInRidgeVolume (Volume *vol, Volume *thresholdedvol, float *mean, float *sigma, int robust)
 
int VipComputeRobustStatInMaskVolume (Volume *vol, Volume *thresholdedvol, float *mean, float *sigma, int robust)
 
int VipIterateToGetPropUndersampledRatio (VipHisto *histo, int *ratio, int ratios[5][5], int j)
 
int VipGetOtsuThreshold (Volume *vol)
 

Macro Definition Documentation

◆ mVipHistoMax

#define mVipHistoMax ( h)
Value:
((h)->max)

Definition at line 70 of file histo.h.

◆ mVipHistoMin

#define mVipHistoMin ( h)
Value:
((h)->min)

Definition at line 69 of file histo.h.

◆ mVipHistoRangeMax

#define mVipHistoRangeMax ( h)
Value:
((h)->range_max)

Definition at line 66 of file histo.h.

◆ mVipHistoRangeMin

#define mVipHistoRangeMin ( h)
Value:
((h)->range_min)

Definition at line 65 of file histo.h.

◆ mVipHistoVal

#define mVipHistoVal ( h,
g )
Value:
((h)->val[(g)])

Definition at line 64 of file histo.h.

◆ WRITE_HISTO_ASCII

#define WRITE_HISTO_ASCII   1

Definition at line 73 of file histo.h.

◆ WRITE_HISTO_BINARY

#define WRITE_HISTO_BINARY   0

Definition at line 72 of file histo.h.

Typedef Documentation

◆ VipHisto

typedef struct Vip_histo VipHisto

Function Documentation

◆ VipAnalyseCascadesRidge()

VipT1HistoAnalysis * VipAnalyseCascadesRidge ( SSCascade * clist,
Vip1DScaleSpaceStruct * volstruct,
float mean )
extern

References mean().

◆ VipComputeCleanedUpVolumeHisto()

VipHisto * VipComputeCleanedUpVolumeHisto ( Volume * vol,
Volume * discard )
extern

◆ VipComputeMeanVolume()

Volume * VipComputeMeanVolume ( Volume * vol)
extern

◆ VipComputeRobustStatInMaskVolume()

int VipComputeRobustStatInMaskVolume ( Volume * vol,
Volume * thresholdedvol,
float * mean,
float * sigma,
int robust )
extern

References mean().

◆ VipComputeStatInRidgeVolume()

int VipComputeStatInRidgeVolume ( Volume * vol,
Volume * thresholdedvol,
float * mean,
float * sigma,
int robust )
extern

References mean().

◆ VipComputeVarianceVolume()

Volume * VipComputeVarianceVolume ( Volume * vol)
extern

◆ VipComputeVolumeHisto()

VipHisto * VipComputeVolumeHisto ( Volume * vol)
extern

◆ VipCreateForGaussianSumHisto()

VipHisto * VipCreateForGaussianSumHisto ( float m1,
float s1,
float h1,
float m2,
float s2,
float h2,
float m3,
float s3,
float h3,
float m4,
float s4,
float h4 )

◆ VipCreateHisto()

VipHisto * VipCreateHisto ( int minvalue,
int maxvalue )
extern

◆ VipCreateThreeGaussianSumHisto()

VipHisto * VipCreateThreeGaussianSumHisto ( float m1,
float s1,
float h1,
float m2,
float s2,
float h2,
float m3,
float s3,
float h3 )
extern

◆ VipCutRightFlatPartOfHisto()

int VipCutRightFlatPartOfHisto ( VipHisto * h,
int cutvalue )
extern

◆ VipFreeHisto()

int VipFreeHisto ( VipHisto * histo)
extern

◆ VipGetCumulHisto()

VipHisto * VipGetCumulHisto ( VipHisto * hin)
extern

◆ VipGetEntropyForcedUndersampledHisto()

VipHisto * VipGetEntropyForcedUndersampledHisto ( VipHisto * hin,
float entropy,
int * ratio )
extern

◆ VipGetForcedUndersampledHisto()

VipHisto * VipGetForcedUndersampledHisto ( VipHisto * hin,
int * ratio )
extern

◆ VipGetHistoEntropy()

int VipGetHistoEntropy ( VipHisto * histo,
float * entropo )
extern

◆ VipGetHistoMax()

int VipGetHistoMax ( VipHisto * histo,
int * max )
extern

◆ VipGetHistoMin()

int VipGetHistoMin ( VipHisto * histo,
int * min )
extern

◆ VipGetHistoSurface()

VipHisto * VipGetHistoSurface ( VipHisto * hin,
Volume * vol )
extern

◆ VipGetHistoVal()

int VipGetHistoVal ( VipHisto * histo,
int greylevel,
int * value )
extern

◆ VipGetLeftExtendedHisto()

VipHisto * VipGetLeftExtendedHisto ( VipHisto * hin,
int length )
extern

◆ VipGetOtsuThreshold()

int VipGetOtsuThreshold ( Volume * vol)
extern

◆ VipGetPropUndersampledHisto()

VipHisto * VipGetPropUndersampledHisto ( VipHisto * hin,
int prop,
int * ratio,
int * power2,
int threshold,
int final_length )
extern

◆ VipGetRightExtendedHisto()

VipHisto * VipGetRightExtendedHisto ( VipHisto * hin,
int length )
extern

◆ VipGetUndersampledHisto()

VipHisto * VipGetUndersampledHisto ( VipHisto * hin,
int * ratio )
extern

◆ VipIterateToGetPropUndersampledRatio()

int VipIterateToGetPropUndersampledRatio ( VipHisto * histo,
int * ratio,
int ratios[5][5],
int j )
extern

◆ VipPourcentageLowerThanThreshold()

int VipPourcentageLowerThanThreshold ( Volume * vol,
int lowthreshold,
int pourcentage )
extern

◆ VipReadHisto()

VipHisto * VipReadHisto ( char * name)
extern

◆ VipSetHistoVal()

int VipSetHistoVal ( VipHisto * histo,
int greylevel,
int value )
extern

◆ VipTestHistoExists()

int VipTestHistoExists ( char * name)
extern

◆ VipWriteHisto()

int VipWriteHisto ( VipHisto * histo,
char * name,
int mode )
extern