Using Imatest with CODE V 2D Image Simulation (IMS)

Using Imatest with CODE V 2D Image Simulation (IMS)

CodeV.jpg

Before you finalize the design and build your camera system’s lens, you can predict what its performance will be using CODE V optical design software from Synopsys..

A collection of Imatest test charts are bundled with CODE V software, and you can use the “2D Image Simulation” feature to create a simulated image with the degradations of your optical system. This image can then be analyzed in Imatest.

Note: this can incorporate the effects of the Image Sensor when the image is processed by Simatest.


2D Image Simulation (IMS) documentation is provided in Chapter 6 of the CODE V Diffraction Analysis Reference Manual. You can easily access the IMS documentation by clicking on “Help” and then entering  “ims chapter 6” in the search bar. Click on the link and Chapter 6 displays:

image-20240626-154916.png

You can click on any of the topics you like, but for an easy start, click on “IMS Output Examples” in the navigation window at left. Once you click on “IMS Output Examples,” that will open to a series of 7 examples. These examples all use command mode to illustrate the 2D image simulation.

All the functionality of IMS is easily accessed by clicking at the top of the CODE V screen on Analysis -> Diffraction -> 2D Image Simulation. As shown below.

image-20240626-154934.png

This will present you with the following screen:

image-20240626-154953.png

Clicking on any of the four tabs at the top and selecting whatever options you like. You will notice that the corresponding commands are written to the command window whenever you click “OK” and IMS is run. Optionally, you can copy those commands to a text file if you want to create an input sequence file.

To select an Imatest test chart, click […] to the right of object bitmap and open the imatest folder, this will show a selection of bitmap imatest test targets:

image-20240626-155632.png

After selecting and hitting OK you should be presented with the results of your simulation:

image-20240626-155755.png

Click the save button image-20240626-155843.png and save the image simulation file to disk.

Open the image simulation file in Imatest and perform an Imatest analysis there to view the simulated lens quality:

image-20240626-162339.png

You can get personalized help at almost any hour by writing to codev_support@synopsys.com .

Simatest - Imatest’s camera/ISP simulator

The processed (simulation) file can be used as input to Imatest’s Simatest module, which is designed to simulate complete camera systems, producing results for visual analysis or image quality analysis with the Rescharts or Color/Tone modules. The Simatest block diagram is shown below.

image-20250510-211142.png

The simulated image, processed by Code V, is represented by the lower pink input image box on the left. For a complete camera simulation, the simulated image sensor noise and any image processing blocks must be added. Simatest results can be visually analyzed or sent to

  • Rescharts, which can analyze image sharpness (MTF) and the new image information metrics (channel capacity, SNRi, etc.).

  • Color/Tone, which can measure tonal response, noise, and color, and can display a Photon Transfer Curve that represents image sensor noise,

  • Image Statistics, Which can display histograms, spectra, and a number of statistical results.

Simatest allows the results of Code V simulation to be used in a software prototype of a camera design, which can result in a considerable savings of time and money. A description of Simatest, with links to detailed instructions, can be found in the Simatest - Overview.

Related Items