IQC Verification Tool User Guide Modulehouse

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 5

DownloadIQC Verification Tool User Guide Modulehouse
Open PDF In BrowserView PDF
IQC Verification Tool
1. Target
The tool is designed to verify the quality of stereo module whether meet the requirement of error tolerance.
PASS: qualified to pass the requirement of error tolerance
FAIL: unqualified to pass the requirement of error tolerance

2. Verification process
Step0. Please refer to the “IQC Verification Tool_setup_modulehouse.pdf” to setup the verification environment. Please
check the following items:
1. The image center of the main camera needs to be aligned with the center of the designed pattern.
2. The sensor plane needs to be parallel to the plane of the target pattern, i.e. the optical axis needs to be vertical
to the plane of the target pattern - no perspective projection distortion in the image space.
3. The captured image needs to avoid planner rotation of the designed pattern in the image space.
4. The captured images from the two distances need to be parallel.
Step1. Adjust the focus settings to make the captured images focused on the designed pattern from 20 cm, and take the
first stereo image.
Step2. Adjust the focus settings to make the captured images focused on the designed pattern from 90 cm, and take the
second stereo image.
Step3. Input the processed stereo raw images from two distances to run the verification tool.
Step4. Output the results.

3. Functions
3.1 Function – IQC
Function interface:
int IQC (int *gVerify_Items, unsigned short *main_raw_near, unsigned short *main_raw_far, int main_w, int main_h,
unsigned short *sub_raw_near, unsigned short *sub_raw_far, int sub_w, int sub_h, char configname[])
Input

Type

Description

gVerify_Items

int *

Store the output information. The array length is equal to 180.

main_raw_near unsigned short *

The raw image (bit depth: 16) of main camera captured from 20 cm.

main_raw_far

unsigned short *

The raw image (bit depth: 16) of main camera captured from 90 cm.

main_w

int

The width of image in main camera.

main_h

int

The height of image in main camera.

sub_raw_near

unsigned short *

The raw image (bit depth: 16) of sub camera captured from 20 cm.

sub_raw_far

unsigned short *

The raw image (bit depth: 16) of sub camera captured from 90 cm.

sub_w

int

The width of image in sub camera.

sub_h

int

The height of image in sub camera.

configname

char []

The file name of the configuration file.

Output

Description

return

0: Error 1: Success

gVerify_Items[0]

Show the status of this stereo camera according to the following information (gVerify_Items[118]). 0: PASS ≧1: FAIL

gVerify_Items[1]

Geometric quality level. (20 cm)
0: PASS ≧1: FAIL

Pixel distance from an image boundary to the FAIL region (#)
gVerify_Items[2-5]

gVerify_Items[2]

# pixels from an image top boundary to the FAIL region. (20 cm)

gVerify_Items[3]

# pixels from an image right boundary to the FAIL region. (20 cm)

gVerify_Items[4]

# pixels from an image bottom boundary to the FAIL region. (20 cm)

gVerify_Items[5]

# pixels from an image left boundary to the FAIL region. (20 cm)

gVerify_Items[6]

The average intensity of main camera. (20 cm)




The ROI (Region of Interest) is defined by the center of image, i.e. central (W/2, H/2)
region, please see the above figure as the example.
Make the average intensity of ROI to be (100,150) under pixel range of 255, i.e. bit 8-bit
value, or (400,600) under pixel value range of 1024, i.e. 10-bit value.

gVerify_Items[7]

The difference of average intensity between main camera and sub camera. (20 cm)

gVerify_Items[8]

The captured pattern if the MTK designed chart. (20 cm)
0: MTK chart 1: Not MTK chart

gVerify_Items[9]

Version of IQC verification tool.
Ex. 320160311, 3: version, 20160311: date.

gVerify_Items

gVerify_Items[10-18] are the results of data at 90 cm and the meaning of gVerify_Items[10-18] are

[10-18]

the same to the gVerify_Items[1-9].

3.2 Sample code
// parameters
char ConfigName[] = "Config.cfg";
// the file name of the configuration file
int *gVerify_Items, main_w, main_h, sub_w, sub_h;
unsigned short *raw_main_near, *raw_main_far, *raw_sub_near, *raw_sub_far;
// initial
main_w = 4208;
// the with of main camrea
main_h = 3120;
// the height of main camera
sub_w = 2560;
// the width of sub camera
sub_h = 1920;
// the height of sub camera
gVerify_Items = new int[180];
raw_main_near = new unsigned short[main_w*main_h];
// main camera at 20 cm
raw_main_far = new unsigned short[main_w*main_h];
// main camera at 90 cm
raw_sub_near = new unsigned short[sub_w*sub_h];
// sub camera at 20 cm
raw_sub_far = new unsigned short[sub_w*sub_h];
// sub camera at 90 cm
// load two captured data (not supply this function)
LoadData(raw_main_near, raw_main_far, raw_sub_near, raw_sub_far);
// verify
int status = IQC(gVerify_Items, raw_main_near, raw_main_far, main_w, main_h, raw_sub_near,
raw_sub_far, sub_w, sub_h, ConfigName);



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Language                        : en-US
Tagged PDF                      : Yes
XMP Toolkit                     : Adobe XMP Core 5.2-c001 63.139439, 2010/09/27-13:37:26
Format                          : application/pdf
Creator                         : MTK11246
Create Date                     : 2016:03:11 14:47:27+08:00
Creator Tool                    : Microsoft® Office Word 2007
Modify Date                     : 2016:03:18 10:27:05+08:00
Metadata Date                   : 2016:03:18 10:27:05+08:00
Producer                        : Microsoft® Office Word 2007
Document ID                     : uuid:b3b75b6f-99fe-489e-b143-a93023600096
Instance ID                     : uuid:c028399e-ef9c-41c2-87a3-996c36f977e9
Page Count                      : 5
Author                          : MTK11246
EXIF Metadata provided by EXIF.tools

Navigation menu