콘텐츠로 바로 가기
STAGING SERVER
DEVELOPMENT SERVER

Balance White#

Balance White Reset 카메라 기능은 모든 white balance 조정을 초기화합니다.

이 기능은 조정 내용이 원하는 효과를 내지 못하여 원래 설정으로 빠르게 돌아가고자 할 때 특히 유용합니다.

기능 사용#

모든 white balance 조정을 초기화하려면 다음 명령을 실행하십시오. BalanceWhiteReset command.

The BalanceRatio 모든 컬러 채널(빨간색, 초록색, 파란색)의 parameter 값은 다음 기능에 의해 정의된 설정으로 Light Source Preset feature.

샘플 코드#

// Reset all white balance adjustments
camera.BalanceWhiteReset.Execute();
INodeMap& nodemap = camera.GetNodeMap();
// Reset all white balance adjustments
CCommandParameter(nodemap, "BalanceWhiteReset").Execute();
// Reset all white balance adjustments
camera.Parameters[PLCamera.BalanceWhiteReset].Execute();
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Reset all white balance adjustments */
errRes = PylonDeviceExecuteCommandFeature(hdev, "BalanceWhiteReset");
CHECK(errRes);
# Reset all white balance adjustments
camera.BalanceWhiteReset.Execute()

pylon Viewer를 사용하여 파라미터를 손쉽게 설정할 수도 있습니다.