摘要:
A method and apparatus are disclosed for testing the accuracy of digital test images generated by a computer graphics program executed on a computer graphics system. A test program is utilized to compare the test image with a reference image. The user defines regions of interest and a maximum error for each region. This allows the user to focus on a particular object or group of objects. Global image quantification verification generates one measurement of error or image difference for each region of the test image. Each region is divided into sub-regions and an average color value is calculated for each sub-region and the corresponding sub-region in the reference image. The differences between the averages for corresponding sub-regions in the test and reference images are calculated. A test image region may be unacceptably different from a reference image if a normalized sum of the absolute differences exceeds the maximum error.
摘要:
A method and apparatus are disclosed for testing the accuracy of digital images generated by a computer graphics program executed on a computer graphics system. A test program is utilized to compare test images with a set of reference images. Adaptive local image quantification verification aims at an image comparison that allows specified color value and spatial shifts. The color value for each pixel of a specified portion of the test image is compared to the average color value of an offset array of pixels in a reference image. A test image region may be unacceptably different from a reference image, if for any pixel of the test image region an offset reference image array is not found that has an array size, absolute color value difference, and spatial shift less than specified maximums.
摘要:
A method and apparatus are disclosed for testing the accuracy of digital test images by comparing the value of each test image pixel with the average value of a corresponding reference image pixel array. The local image quantification verification test program accepts absolute differences between corresponding pixel and array values that are less than a specified difference maximum. The user may specify a difference maximum and a maximum array size, and may restrict the test image comparison to specified regions of the test image with specific difference tolerances for each region. This allows the user to focus the comparison on certain regions as more important than others and to focus a region on a particular object or group of objects.