Skip to content
Snippets Groups Projects
HistogramCalculator.h 690 B
Newer Older
Apple's avatar
Apple committed
/*
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;
Apple's avatar
Apple committed

@end

#endif /* DepthToJETConverter_h */