mirror of
https://github.com/uclouvain/openjpeg.git
synced 2025-12-08 20:15:58 +00:00
Page:
ConformanceTesting
Pages
BuildSystems
CDash
CodingStyle
ConformanceTesting
DevelopmentProcess
DocJ2KCodec
DocMJ2K
DocStructOPJv2
FolderReorgProposal
GSOC2013
GSoC2012
GSoC2013Student
Home
Installation
OpenJPIP
Optimization
Release15
Roadmap
Roadmap2_0
Roadmap2_1
RoadmapCuda
TestSuiteDocumentation
TodoBeforeRelease14
VCSGuideline
Welcome
WhatsNew
opjNextSteps
socis2012
Clone
1
ConformanceTesting
Antonin Descampe edited this page 2015-04-28 12:57:46 +02:00
Table of Contents
Procedures
The tests procedures are described in JPEG 2000 part 4 (15444-4), available here.
Files
All files required for testing the conformance of openjpeg are available here
Decoder validation
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.
Decoder tests suite
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
Encoder validation
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).
Encoder tests suite
Here is the list of tests to achieve to validate the openjpeg encoder
TBD
.
- Installation
- Documentation
- Tests
- Development Guidelines
- Roadmap
- GSoC