| Description: | New Client Control call to correct CorrFile with sc_calib_points.txt:
LongValue params: scComSAMLightClientCtrlLongValueTypeCorrectionMode (0x51) - specifies the mode, a combination of the following flags, or 0: scComSAMLightClientCtrlCorrectionModeRTS (0x1), calculate minimum rotation/translation/scale scComSAMLightClientCtrlCorrectionModeIDW (0x2), use inverse distance weighting
scComSAMLightClientCtrlLongValueTypeCorrectionPoints (0x52) - specifies the number of points for IDW mode
ExecCommand param: scComSAMLightClientCtrlExecCommandCorrectSamLight (0x32) - executes the correction and uses the new correction file in SamLight
Sample code: m_samlight.ScSetLongValue(scComSAMLightClientCtrlLongValueTypeCorrectionMode, scComSAMLightClientCtrlCorrectionModeRTS | scComSAMLightClientCtrlCorrectionModeIDW); m_samlight.ScSetLongValue(scComSAMLightClientCtrlLongValueTypeCorrectionPoints, 4); m_samlight.ScExecCommand(scComSAMLightClientCtrlExecCommandCorrectSamLight); |