Dear developer,
If you are not clear about how to setup the input resolution for structured light applications, I hope this post helps.
The Pico V2 has the capability to accept different input resolutions (see programmer's guide I2C: x05).
Bit(s) |
Description |
Reset |
Type |
Notes |
3:0 |
Select the input resolution: x0 - QVGA portrait (240h*320v) x1 - QVGA landscape (320h*240v) x2 - HVGA portrait (320h*480v) x3 - HVGA landscape (480h*320v) x4 - VGA portrait (480h*640v) x5 - VGA landscape (640h*480v) x6 - NTSC landscape (720h*240v) x7 - VGA landscape (640h*480v) cropped to HVGA (not scaled) x8 - PAL/SECAM landscape (720h*288v) x9 - RESERVED xA+ - RESERVED |
b001 |
wr |
(1)
(1)
(2) |
15: 4 |
Spare |
x000 |
|
|
31:16 |
Unused |
|
|
|
When setting your input resolution to landscape (QVGA and VGA, including VGA cropped), be sure to also set the Aspect Ratio (see programmer's guide I2C: x0A).This command has no effect on all other settings. If the input resolution is set to VGA landscpe cropped but the Aspect Ratio is not set, you might see a strip on the right side of a solid color image or scrambled image when displaying a ramp. If this is the case, please check to see if your aspect ratio is set.
Bit(s) |
Description |
Reset |
Type |
0 |
QVGA/VGA Landscape Mode Aspect Ratio Modification: 0 – force 4:3 input aspect ratio source to fill 3:2 display 1 – preserve 4:3 aspect ratio of source |
b0 |
w |
15: 1 |
Spare |
x0000 |
|
31:16 |
Unused |
|
|
VGA landscape mode is required for structured light applications to prevent unwanted scaling of patterns. In this mode, the chipset expects to see VGA landscape input frame, but the LEFT and TOP portions of VGA input image frame are ignored (cropped). This results in only the LOWER RIGHT hand 480x320 pixels being displayed.