DRIVE OS Version: DriveOS 7.2.5
Issue Description:
I’d like to disable auto white balance with NvSIPL without affecting any other processing of camera imagery or camera controls.
- How can I disable auto white balance with NvSIPL? I see the option to change the AE-AWB processing rate, but no option to entirely disable.
- Do I need to implement a custom auto control plugin or is there a way to override the default NVIDIA plugin settings?
- Will a custom auto control plugin still allow the ISP to use the NITO file for a given camera and what settings will it affect?
Dear @brad.pankow1 ,
Is it like you want to use the ISP processed camera output but without AWB? Also, may I know the camera module?
Yes, I want to use the ISP output, but have the option to disable only AWB. There’s multiple camera modules in this case, but these are the most of interest at this point: V1SIM728MPRU3030HD1, V1SIM728MPRU4070HD1, V1SIM728MPRU4120HD1, V1SIM623MPRU8200ND1.
Dear @brad.pankow1 ,
It requires changes in NITO file. Did you check with valeo?
Could you please provide any update for this topic?
Could you please provide any update for this topic?
They don’t have a NITO file available for us at this time with AWB disabled.
Can I create my own plugin like the following with nvsipl::CUSTOM_PLUGIN0? This did work to disable AWB, but I don’t know if this means parts of the NITO may not apply and/or I lose some imager autoexposure rather than just image gains. There’s not much information in the docs to tell me: NVIDIA DriveOS Linux SDK API Reference: nvsipl::ISiplControlAuto Class Reference | NVIDIA Docs
class nvsipl_plugin : public nvsipl::ISiplControlAuto
{
private:
std::unique_ptr<nvsipl::ISiplControlAuto> nvsipl_auto_plugin;
public:
nvsipl_plugin() = default;
~nvsipl_plugin() override = default;
nvsipl::SIPLStatus Process(const nvsipl::SiplControlAutoInputParam &in_params,
nvsipl::SiplControlAutoOutputParam &out_params) override
{
static_cast<void>(in_params);
out_params = {};
out_params.sensorSetting.numSensorContexts = 1U;
out_params.ispDigitalGain = 1.0F;
out_params.awbSetting.cct = 6500.0F;
for (auto &plane : out_params.awbSetting.wbGainTotal) {
plane.valid = true;
plane.gain[0] = 1.80F; // R
plane.gain[1] = 1.00F; // G
plane.gain[3] = 2.10F; // B
plane.gain[2] = 1.00F; // G
}
for (uint32_t row = 0U; row < NVSIPL_ISP_MAX_COLORMATRIX_DIM; ++row) {
out_params.awbSetting.ccmMatrix[row][row] = 1.0F;
}
return nvsipl::NVSIPL_STATUS_OK;
}
nvsipl::SIPLStatus GetIspOverrideSettings(
const nvsipl::SiplControlEmbedInfo &embed_info,
nvsipl::SiplControlIspOverrideSetting &isp_override_settings) override
{
return nvsipl::NVSIPL_STATUS_OK;
}
nvsipl::SIPLStatus Reset() override
{
return nvsipl::NVSIPL_STATUS_OK;
}
};
Could you please provide any update for this topic?