12 Apr Introducing Imager’s Command Line API
Imager’s command line API allows you to set up a camera model and simulate an image from your preferred programming language. In the video shown above, we walk you through a few example results that were achieved using the command line API, including:
Video Creation: Create loops to simulate frames and generate videos. This can be useful to see the effects of temporal noise, to see the visual impact of parameter changes, and to create inputs for various video based algorithms.
Generate Datasets: Randomly apply sensor tilts and decenters and use the dataset to evaluate visual image quality or your testing and calibration algorithms.
Expand Existing Datasets by Adding Additional Degradations: Run through existing datasets such as the one shown in the video from the Amsterdam Library of Object Images and understand the impact of additional system degradations such as reduced resolution, increased image blur, or increased image noise.
Put your autofocus algorithm into the simulation loop and test its accuracy: Start with a random focus position and/or a random object distance and see how well your autofocus algorithm converges to best focus. Since you know the actual object position, you can assess its accuracy as a function of the scene, snr, or any other camera or system property.
Plot your system metrics: Often it is nice to know how the system metrics change as parameter(s) are varied. The command line API allows you to plot system metrics as a function of any other model parameter.
The options are endless; stay tuned for more tutorials on how to use Imager’s command line interface from different programming languages and for different use cases.
Click here to see an example of how to use the Command Line API from Python.
Click here to see an example of how to use the Command Line API from Matlab.