4.4. Configure Camera ISP Settings¶
4.4.1. d3-select-isp¶
Warning
Third-party cameras are not currently supported by this script.
d3-select-isp
is an experimental script to automate the process described
Manual ISP Configuration. The script reads
camera EEPROMs, if present, and automatically creates symlinks to the correct
lens-specific tuning file that matches the module part number read from
EEPROM. Simply run it from a terminal as follows:
sudo d3-select-isp
Use the --help
option for a list of accepted command-line options.
4.4.2. Manual ISP Configuration¶
In cases where d3-select-isp
isn’t supported, follow these steps for ISP file
selection.
Individual camera driver packages install lens-specific ISP files for supported D3 Embedded camera modules (and third-party modules in some cases). ISP parameters improve color reproduction and lens shading.
All image sensor types use the same mechanism to determine which ISP file to
apply. Simply create a symbolic link in /var/nvidia/nvcam/settings
with the
sensor’s badge name. The naming convention is as follows:
d3_<position>_<imager-name>
This symlink should point at the ISP file associated for the camera module in
use. For example, an IMX390 with a narrow lens would use
imx390discovery_narrow.isp
.
The <position>
field is as described in the table below, and matches the port
a camera is connected to in most cases.
Sensor ID |
Position Field |
---|---|
0 |
bottomleft |
1 |
centerleft |
2 |
centerright |
3 |
topleft |
4 |
bottomright |
5 |
topright |
6 |
bottomcenter |
7 |
topcenter |
8 |
frontcenter |
9 |
rearcenter |
10 |
leftcenter |
11 |
rightcenter |
12 |
frontleft |
13 |
frontright |
14 |
rearleft |
15 |
rearright |
The imager-name
field can be any supported imager. For example, an IMX390
connected to port 0 would use the following badge:
d3_bottomleft_imx390
4.4.3. Multiple ISP Files Per-Camera¶
There are some cases where multiple ISP files are shipped for a single camera module and a user may want to switch between them. Some examples: A base-line ISP tune, and a tune with lens-shading correction enabled for a specific mode.
Here is an example of how a user could switch between the two:
pushd /var/nvidia/nvcam/settings
# Select baseline tune for a camera connected to port 0
ln -sf imx390discovery_narrow.isp d3_bottomleft_imx390
# Select mode 1 tune with lens shading for any cameras connected to ports 0 or 1
ln -sf imx390discovery_narrow.isp d3_bottomleft_imx390
ln -sf imx390discovery_fake_narrow_lsc_mode0.isp d3_bottomleft_imx390
popd