DLPU082C August 2021 – March 2024 DLPC7540
| Get Auto Screen Fit Corners | |
|---|---|
| Return Parameters | |
| Byte | Description |
| Bytes 0-3 | Top Left X Format = s16.16 |
| Bytes 4-7 | Top Left Y Format = s16.16 |
| Bytes 8-11 | Top Right X Format = s16.16 |
| Bytes 12-15 | Top Right Y Format = s16.16 |
| Bytes 16-19 | Bottom Right X Format = s16.16 |
| Bytes 20-23 | Bottom Right Y Format = s16.16 |
| Bytes 24-27 | Bottom Left X Format = s16.16 |
| Bytes 28-31 | Bottom Left Y Format = s16.16 |
Get auto screen fit corners | |
| Get Cam Proj Calibration Params | |
|---|---|
| Return Parameters | |
| Byte | Description |
| Byte 0 | Camera distortion model, FALSE = Use Brown's distortion model, TRUE = Use the fisheye distortion model |
| Byte 1 | RGB or monochrome camera |
| Bytes 2-3 | Camera horizontal resolution |
| Bytes 4-5 | Camera vertical resolution |
| Bytes 6-9 | Camera focal length in x direction Format = s16.16 |
| Bytes 10-13 | Camera focal length in y direction Format = s16.16 |
| Bytes 14-17 | Camera principal point in x direction Format = s16.16 |
| Bytes 18-21 | Camera principal point in y direction Format = s16.16 |
| Bytes 22-25 | Camera distortion coefficient K1 Format = s16.16 |
| Bytes 26-29 | Camera distortion coefficient K2 Format = s16.16 |
| Bytes 30-33 | Camera distortion coefficient P1 Format = s16.16 |
| Bytes 34-37 | Camera distortion coefficient P2 Format = s16.16 |
| Bytes 38-41 | Camera distortion coefficient K3 Format = s16.16 |
| Bytes 42-45 | Camera distortion coefficient K4 Format = s16.16 |
| Bytes 46-49 | Camera distortion coefficient K5 Format = s16.16 |
| Bytes 50-53 | Camera distortion coefficient K6 Format = s16.16 |
| Bytes 54-55 | Projector horizontal resolution |
| Bytes 56-57 | Projector vertical resolution |
| Bytes 58-61 | Projector focal length in x direction Format = s16.16 |
| Bytes 62-65 | Projector focal length in y direction Format = s16.16 |
| Bytes 66-69 | Projector principal point in x direction Format = s16.16 |
| Bytes 70-73 | Projector principal point in y direction Format = s16.16 |
| Bytes 74-77 | Projector distortion coefficient K1 Format = s16.16 |
| Bytes 78-81 | Projector distortion coefficient K2 Format = s16.16 |
| Bytes 82-85 | Projector distortion coefficient K3 Format = s16.16 |
| Bytes 86-89 | Projector distortion coefficient K4 Format = s16.16 |
| Bytes 90-93 | Projector distortion coefficient K5 Format = s16.16 |
| Bytes 94-97 | Projector distortion coefficient K6 Format = s16.16 |
| Bytes 98-101 | Projector distortion coefficient P1 Format = s16.16 |
| Bytes 102-105 | Projector distortion coefficient P2 Format = s16.16 |
| Bytes 106-109 | Camera rotation matrix [0][0] Format = s16.16 |
| Bytes 110-113 | Camera rotation matrix [0][1] Format = s16.16 |
| Bytes 114-117 | Camera rotation matrix [0][2] Format = s16.16 |
| Bytes 118-121 | Camera rotation matrix [1][0] Format = s16.16 |
| Bytes 122-125 | Camera rotation matrix [1][1] Format = s16.16 |
| Bytes 126-129 | Camera rotation matrix [1][2] Format = s16.16 |
| Bytes 130-133 | Camera rotation matrix [2][0] Format = s16.16 |
| Bytes 134-137 | Camera rotation matrix [2][1] Format = s16.16 |
| Bytes 138-141 | Camera rotation matrix [2][2] Format = s16.16 |
| Bytes 142-145 | Camera translation vector [0] Format = s16.16 |
| Bytes 146-149 | Camera translation vector [1] Format = s16.16 |
| Bytes 150-153 | Camera translation vector [2] Format = s16.16 |
Gets calibration parameters for camera and projector | |
| Set Projector Variation Index | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Cam Proj Variation Index |
Set current variation index for projector | |
| Get Projector Variation Index | |
|---|---|
| Data returned is in the same format as the Write Parameters. | |
Get current variation index for projector. |
| Set Cam Params | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Horizontal capture resolution |
| Bytes 2-3 | Vertical capture resolution |
| Bytes 4-5 | Bytes per pixel |
| Byte 6 | camera Camera test, for debug purpose only bit0: start or stop camera test, for debug purpose only |
Set Camera Resolution and BPP | |
| Get Cam Params | |
|---|---|
| Return Parameters | |
| Byte | Description |
| Bytes 0-1 | Horizontal capture resolution |
| Bytes 2-3 | Vertical capture resolution |
| Bytes 4-5 | Bytes per pixel |
Get Camera resolution and BPP | |
| Set Enable Auto Warp | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Horizontal resolution Range = 0 to 7680 with step size 10 |
| Bytes 2-3 | Vertical resolution Range = 0 to 4320 with step size 10 |
| Bytes 4-5 | Num Samples X Range = 2 to 62 with step size 1 |
| Bytes 6-7 | Num Samples Y Range = 2 to 32 with step size 1 |
| Byte 8 | Filter Flags |
| Bytes 9-12 | CCA Detect Thresh Range = 0.0000 to 1.0000 with step size 0.0001 Format = u16.16 |
| Bytes 13-14 | Radius of the gaussian |
| Bytes 15-16 | Gaussian centroid offset in pixels (from DMD edge) |
| Bytes 17-20 | Pitch bias in degrees Range = -10 to 10 with step size 0.00390625 Format = s16.16 |
| Bytes 21-24 | Yaw bias in degrees Range = -10 to 10 with step size 0.00390625 Format = s16.16 |
| Byte 25 | Level of digital decimation for camera captures Range = 0 to 2 with step size 1 |
| Byte 26 | Enable or disable ROI processing for camera captures bit0: Pixel Sampling Enable |
Set configuration and enable auto warp | |
| Set Enable Auto Screen Fit | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Aspect Ratio Width |
| Bytes 2-3 | Aspect Ratio Height |
| Bytes 4-7 | CCA feature detection threshold Range = 0.0000 to 1.0000 with step size 0.0001 Format = u16.16 |
| Bytes 8-9 | Vertical offset in pixels of the 2x2 gaussian pattern Range = -300 to 300 with step size 1 |
| Bytes 10-13 | Percentage of detected screen frame to be filled Range = 80.0 to 120.0 with step size 0.1 Format = u16.16 |
| Bytes 14-17 | Intensity of gray solid field, used for pattern generation * Range = 0.0 to 100.0 with step size 0.1 Format = u16.16 |
| Byte 18 | Pixel sampling difference Range = 1 to 2 with step size 1 |
| Byte 19 | Variable Pixel Sampling bit0: Pixel Sampling Enable |
Set configuration and enable auto screen fit | |
| Set Resize Auto Screen Fit | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-3 | Percentage of detected screen frame to be filled Range = 80.0 to 120.0 with step size 0.1 Format = u16.16 |
Resize auto screen fit | |
| Set Refine Auto Screen Fit | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Horizontal offset in pixels Range = -300 to 300 with step size 1 |
| Bytes 2-3 | Vertical offset in pixels Range = -300 to 300 with step size 1 |
| Bytes 4-5 | Horizontal offset in pixels Range = -300 to 300 with step size 1 |
| Bytes 6-7 | Vertical offset in pixels Range = -300 to 300 with step size 1 |
| Bytes 8-9 | Horizontal offset in pixels Range = -300 to 300 with step size 1 |
| Bytes 10-11 | Vertical offset in pixels Range = -300 to 300 with step size 1 |
| Bytes 12-13 | Horizontal offset in pixels Range = -300 to 300 with step size 1 |
| Bytes 14-15 | Vertical offset in pixels Range = -300 to 300 with step size 1 |
Refine auto screen fit | |
| Set Asf Pattern | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Byte 0 | Pattern Num |
| Bytes 1-2 | Vertical offset in pixels of the 2x2 gaussian pattern Range = -300 to 300 with step size 1 |
| Bytes 3-6 | Intensity of gray solid field, used for pattern generation Range = 0.0 to 100.0 with step size 0.1 Format = u16.16 |
Project gaussian pattern defined by Index | |
| Set Enable Auto Exposure | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Horizontal resolution Range = 0 to 7680 with step size 10 |
| Bytes 2-3 | Vertical resolution Range = 0 to 4320 with step size 10 |
| Byte 4 | Number of bytes per pixel supported by camera |
| Byte 5 | 1 : Enable 0 : Disable |
| Byte 6 | Dim Projection until Image Saturation less than threshold Range = 0 to 100 with step size 1 |
| Byte 7 | Changes Exposure Time until Image Saturation less than threshold Range = 0 to 100 with step size 1 |
Enable Auto Exposure | |
| Set Exposure Time | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Time Range = 0 to 10000 with step size 1 |
Set Camera's Absolute Exposure Time . UVC compliant Exposure Time Standard . Value 166 implies 16.6 ms | |
| Get Exposure Time | |
|---|---|
| Data returned is in the same format as the Write Parameters. | |
Get Camera's Absolute Exposure Time. This value is multiple of 0.1 ms . For example, 166 is 16.6 ms. |
| Set Enable Auto 2D Keystone | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-1 | Horizontal resolution Range = 0 to 7680 with step size 10 |
| Bytes 2-3 | Vertical resolution Range = 0 to 4320 with step size 10 |
| Bytes 4-7 | CCA Detect Thresh Range = 0.0000 to 1.0000 with step size 0.0001 Format = u16.16 |
| Bytes 8-9 | Radius of the gaussian |
| Bytes 10-11 | Gaussian centroid offset in pixels (from DMD edge) |
| Byte 12 | Level of digital decimation for camera captures Range = 0 to 2 with step size 1 |
| Byte 13 | Enable or disable ROI processing for camera captures bit0: Pixel Sampling Enable |
Set configuration and enable auto 2d keystone | |
| Set Manual V Bus | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Byte 0 | V Bus bit0: Manual V Bus Enable |
| Get Manual V Bus | |
|---|---|
| Data returned is in the same format as the Write Parameters. |
| Set Vision Status | |
|---|---|
| Write Parameters | |
| Byte | Description |
| Bytes 0-3 | Vision Status Word 0 bit0: Frame Buffer for Image capture not set or Buffer size is not sufficient. bit1: Attached camera does not support Uncompressed frame format. bit2: Selected frame resolution not supported by camera. bit3: Camera parameters set failed. bit4: Camera Probe Commit negotiation failed. bit5: Memory Pool failed for vision mode. bit6: Image Parameters failed. bit7: Memory request failed. bit8: Camera not found. bit9: Image captured failed. bit10: Camera's FOV not at center of Image bit11: Image Saturation Threshold Criteria not met bit12: Memory Request Fail for Auto Warp bit13: Memory Release Fail for Auto Warp bit14: Plan Fit Error bit15: Hole fit correction error bit16: Hole fit uncorrected error bit17: TODO bit18: TODO bit19: TODO bit20: TODO bit21: TODO bit22: TODO bit23: VIS AUTO SCREEN FIT ERR MEM REQUEST FAIL bit24: VIS AUTO SCREEN FIT ERR MEM RELEASE FAIL bit25: VIS AUTO SCREEN FIT ERR CAM2PROJ HOMOGRAPHY FAIL bit26: VIS AUTO SCREEN FIT ERR GAUSSIAN PAT NOT DETECTED bit27: VIS AUTO SCREEN FIT ERR GRAY SOLID PAT NOT DETECTED bit28: VIS AUTO SCREEN FIT ERR NOT ENOUGH CENTROIDS FOUND bit29: VIS AUTO SCREEN FIT ERR WARP MAP CREATION FAIL bit30: VIS AUTO SCREEN FIT ERR REFINE HOMOGRAPHY FAIL bit31: VIS AUTO SCREEN FIT ERR RESIZE HOMOGRAPHY FAIL |
| Bytes 4-7 | Vision Status Word 1 bit0: VIS AUTO SCREEN FIT ERR FILL FACTOR PROC FAIL bit1: VIS AUTO 2DK ERR MEM REQUEST FAIL bit2: VIS AUTO 2DK ERR MEM RELEASE FAIL bit3: VIS AUTO 2DK ERR INCORRECT PAT INDEX bit4: VIS AUTO 2DK ERR GAUSSIAN PAT NOT DETECTED BLK bit5: VIS AUTO 2DK ERR GAUSSIAN PAT NOT DETECTED FLT bit6: VIS AUTO 2DK ERR NOT ENOUGH CENTROIDS FOUND bit7: VIS AUTO 2DK ERR CORRESPONDENCES NOT FOUND bit8: VIS AUTO 2DK ERR IVALID OPTICAL RAY bit9: VIS AUTO 2DK ERR INVALID CLOUD ELEMENT bit10: VIS AUTO 2DK ERR PLANE FIT FAIL bit11: VIS AUTO 2DK ERR MAP HOMOGRAPHY CALC FAIL bit12: VIS AUTO 2DK ERR SUBSAMPLING PTR NULL bit13: VIS AUTO 2DK ERR WARP MAP CREATION FAIL bit14: Unknown error in vision mode. |
Command to read status information from Vision module. | |
| Get Vision Status | |
|---|---|
| Data returned is in the same format as the Write Parameters. | |
Command to read status information from Vision module. |