538.imagick_r
ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available.
Image Manipulation.
ImageMagick is a software suite to create, edit, compose, or convert bitmap images. The SPEC CPU®2017 benchmark version uses the convert component of ImageMagick to perform various transforms on input images.
Inputs to the benchmark are an image and a list of operations to perform on that image. The image output from the convert step is used as input to an image comparison program that calculates structural similarity (SSIM) values relative to a "reference" output image.
Both the rate mode reference workload (refrate) and the speed mode reference workload (refspeed) operate on a 2068x1380 pixel uncompressed 24-bit TARGA format image cropped from a photo.
The refrate workload performs the following operations in the following order on the input image:
Output from this step is a 3469x5199 24-bit TARGA image.
The refspeed workload performs the following operations in the following order on the input image:
Output from this step is a 3299x5002 24-bit TARGA image.
The input image for the feedback training workload (train) is a 10x10 pixel uncompressed 24-bit TARGA format image of a blue dot.
The train workload performs the following operations in the following order on the input image:
Output from this step is a 900x900 24-bit TARGA image.
The input image for the test workload is a 10x10 pixel uncompressed 24-bit TARGA format image of a blue dot.
The test workload performs the following operations in the following order on the input image:
Output from this step is a 640x480 24-bit TARGA image.
The output is compared using the SPEC utility imagevalidate, which calculates the Structural SIMilarity (SSIM) index over 8x8 pixel areas between the benchmark-produced image and a SPEC-provided expected image. SSIM indexes range from -1 (maximally different) to 1 (identical) for each of those regions.
If the images are too different, the image comparison program will issue an error. This is accomplished by specifying a threshold SSIM value, and if more than 0.1% of samples go below the threshold, the comparison is stopped and the benchmark does not pass validation. For test, train, and refrate the threshold SSIM value is 0.95; for refspeed it is 0.90. The refspeed threshold is lower because the image it operates on is much larger and individual differences, even when quite extreme, are very difficult to actually see.
In all cases, the expected output from imagevalidate is
<filename>: AVG SSIM = 1.000000000
which is then checked by specdiff to verify that the overall average of SSIM values is at least 0.99.
ANSI C
None.
The benchmark is based on ImageMagick 6.8.9-1, under the ImageMagick License.
Please see details in the document SPEC CPU®2017 Licenses.
Last updated: $Date: 2020-08-19 18:52:31 -0400 (Wed, 19 Aug 2020) $
Copyright © 2017-2019 Standard Performance Evaluation Corporation (SPEC®)