Are these image tuning methods implemented in Arduino?

In the Arduino VideoStream.h file, one can see the following CameraSetting methods declared:

    void setBrightness(int value);
    void getBrightness(void);
    void setContrast(int value);
    void getContrast(void);
    void setSaturation(int value);
    void getSaturation(void);
    void setSharpness(int value);
    void getSharpness(void);
    void setLDC(int enable);
    void getLDC(void);
    void setWDR(int enable);
    void getWDR(void);
    void setWDRLevel(int value);
    void getWDRLevel(void);
    void setExposureMode(int enable);
    void getExposureMode(void);
    void setExposureTime(int time);
    void getExposureTime(void);
    void setAEGain(int value);
    void getAEGain(void);
    void setPowerLineFreq(int enable);
    void getPowerLineFreq(void);
    void setAWB(int enable);
    void getAWB(void);
    void getWBTemp(void);
    void setRedBalance(int value);
    void getRedBalance(void);
    void setBlueBalance(int value);
    void getBlueBalance(void);
    void setGrayMode(int enable);
    void getGrayMode(void);
    void setDayNightMode(int enable);
    void getDayNightMode(void);
    void set3DNR(int enable);
    void get3DNR(void);
    void setMinFPS(int value);
    void getMinFPS(void);

In the ISP Tuning Guide, here:

…we see methods that largely correspond to those called out in the Arduino CameraSetting.h header, but several are mentioned that don’t have documented equivalents in the Arduino CameraSetting API:

isp_set_wb_temperature
isp_set_green_balance
isp_set_gamma
isp_set_denoise_level
isp_set_dehaze
isp_set_dehaze_level
isp_set_max_fps

(note that these sets have corresponding gets - I’m mainly interested in set, though I’d expect get to come along)

Are there undocumented methods for accessing these features in Arduino?

Hi @jimmiedave,

No, there are no undocumented or hidden C++ methods inside the Arduino CameraSetting class. If those specific methods aren’t declared in VideoStream.h, they haven’t been implemented in the Arduino wrapper yet.

We are planning to add them in the Arduino SDK in the future release.

Meanwhile, because the AmebaPro2 Arduino SDK is built directly on top of our FreeRTOS SDK, you can call these underlying C functions directly from your Arduino sketch.

One practical caveat when calling the raw C ISP functions is timing: apply them after the camera stream is initialized, and re-apply if you restart the stream or change resolution, since initialization may reset sensor/ISP settings. Also confirm each block is supported by your specific sensor before relying on it; unsupported calls may simply have no visible effect. The wrapper absence does not block access, but the C API is less forgiving than the Arduino setters.

Thanks @charlotteseward .

One thing I’ve noted is that the “Lens Distortion Correction” Arduino call doesn’t do anything out of the box, and there’s not an obvious way from the Arduino side to set up the settings that underlie the LDC call.

Looks like you need Windows software that must be licensed and downloaded to set up the mapping/settings for Lens Distortion Correction in, I guess, a firmware flash - and I wonder if that’s a different flash than the Arduino is doing, and whether there’s another way I can address LDC settings - via successive approximation>trial flash>refine>trial flash…