Newer
Older
/*
See LICENSE folder for this sample’s licensing information.
Abstract:
Class for performing histogram equalization efficiently
*/
#ifndef DepthToJETConverter_h
#define DepthToJETConverter_h
#import <CoreVideo/CoreVideo.h>
@interface HistogramCalculator : NSObject
+ (void) calcHistogramForPixelBuffer:(CVPixelBufferRef)pixelBuffer
toBuffer:(float*)histogram
withSize:(int)size
forColors:(int)colors
minDepth:(float)minDepth
maxDepth:(float)maxDepth
binningFactor:(int)factor;