/*
 * AXMIspAperture.cpp
 */

#include "AXMIspAperture.hpp"

AXMIspApertureCalc::AXMIspApertureCalc() {
	// TODO 自動生成されたコンストラクター・スタブ
}

AXMIspApertureCalc::~AXMIspApertureCalc() {
	// TODO Auto-generated destructor stub
}

/*
 * 高域・中域ゲイン比率計算
 */
void AXMIspApertureCalc::CalcOverMidRangeGainRatio(BYTE midRatio, BYTE* highRangeRatio, BYTE* midRangeRatio) {
	m_apertureAlgorithm.CalcOverMidRangeGainRatio(midRatio, highRangeRatio, midRangeRatio);
}

/*
 * 輝度変調LUT計算
 */
void AXMIspApertureCalc::CalcLuminanceModulationLUT(BYTE startSupresLuminance, BYTE startStrongLuminance, BYTE correctSupressInc, BYTE correctStrongInc, BYTE correctStrongLimit, BYTE* lut) {
	m_apertureAlgorithm.CalcLuminanceModulationLUT(
		  startSupresLuminance
		, startStrongLuminance
		, correctSupressInc
		, correctStrongInc
		, correctStrongLimit
		, &lut[0]
	);
}

