-
Notifications
You must be signed in to change notification settings - Fork 459
ConformanceTesting
Antonin Descampe edited this page Apr 28, 2015
·
1 revision
The tests procedures are described in JPEG 2000 part 4 (15444-4), available here.
All files required for testing the conformance of openjpeg are available here
The decoder should be tested in the following way:
- Decode the test codestream
- Compute the MSE and the peak error, compared to the corresponding reference image.
- Compare the MSE and the peak error to the tolerated values.
Here is the list of tests achieved to validate the openjpeg decoder.
j2k_to_image -i p0_01.j2k -o p0_01.pgx
j2k_to_image -i p0_02.j2k -o p0_02.pgx
j2k_to_image -i p0_03.j2k -o p0_03.pgx
j2k_to_image -i p0_04.j2k -o p0_04.pgx
j2k_to_image -i p0_05.j2k -o p0_05.pgx
j2k_to_image -i p0_06.j2k -o p0_06.pgx
j2k_to_image -i p0_07.j2k -o p0_07.pgx
j2k_to_image -i p0_08.j2k -o p0_08.pgx
j2k_to_image -i p0_09.j2k -o p0_09.pgx
j2k_to_image -i p0_10.j2k -o p0_10.pgx
j2k_to_image -i p0_11.j2k -o p0_11.pgx
j2k_to_image -i p0_12.j2k -o p0_12.pgx
j2k_to_image -i p0_13.j2k -o p0_13.pgx
j2k_to_image -i p0_14.j2k -o p0_14.pgx
j2k_to_image -i p0_15.j2k -o p0_15.pgx
j2k_to_image -i p0_16.j2k -o p0_16.pgx
j2k_to_image -i p1_01.j2k -o p1_01.pgx
j2k_to_image -i p1_02.j2k -o p1_02.pgx
j2k_to_image -i p1_03.j2k -o p1_03.pgx
j2k_to_image -i p1_04.j2k -o p1_04.pgx
j2k_to_image -i p1_05.j2k -o p1_05.pgx
j2k_to_image -i p1_06.j2k -o p1_06.pgx
j2k_to_image -i p1_07.j2k -o p1_07.pgx
The encoder should be tested in the following way:
- Encode a test image with a given set of parameters
- Try to decode it with Kakadu.
- Compare the original image to the decoded one and verify that the MSE is below the tolerated MSE defined for this test (typically, MSE = 0 for lossless tests, etc).
Here is the list of tests to achieve to validate the openjpeg encoder
TBD
.