콘텐츠로 바로 가기
스테이징 서버
개발 서버

Saturation#

Saturation camera feature를 사용하면 한 번의 단계로 이미지의 모든 색상 외관을 조절할 수 있습니다.

Using the Feature#

Saturation 조정하기#

채도를 조절하면 색상의 선명도(강도)가 변경됩니다. 예를 들어 채도가 높으면 색상을 더 쉽게 구별할 수 있습니다.

채도를 조절하려면 다음 파라미터에 값을 입력하십시오: BslSaturation 파라미터. 기본값은 1(일반 채도)로 설정되어 있습니다.

파라미터 값이 낮을수록 회색에 가까운 차분한 색상이 되고, 파라미터 값이 높을수록 더욱 선명하고 생생한 색상이 됩니다.

Sample Code#

// Set the Saturation parameter to 1.4
camera.BslSaturation.SetValue(1.4);
INodeMap& nodemap = camera.GetNodeMap();
// Set the Saturation parameter to 1.4
CFloatParameter(nodemap, "BslSaturation").SetValue(1.4);
// Set the Saturation parameter to 1.4
camera.Parameters[PLCamera.BslSaturation].SetValue(1.4);
/* 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 */
/* Set the Saturation parameter to 1.4 */
errRes = PylonDeviceSetFloatFeature(hdev, "BslSaturation", 1.4);
CHECK(errRes);
# Set the Saturation parameter to 1.4
camera.BslSaturation.Value = 1.4

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