xinxinlx / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

TIF: file4 is failing the test suite (should be grayscale) #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As reported on the dashboard file4 is failing the test suite

Test output
******Parameters********* 
 base_filename = /home/voxxl/Dashboards/MyTests/data/baseline/conformance/jp2_4.tif
 test_filename = /home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/tests/conformance/Temporary/file4.jp2.tif
 nb of Components = 3
 Non regression test = 0
 separator Base = _
 separator Test = _
 MSE values = [ 1.000000  1.000000  1.000000 ]
 PEAK values = [ 4.000000  4.000000  4.000000 ]
 Non-regression test = 0
 NbFilename to generate from base filename = 3
 NbFilename to generate from test filename = 3
************************* 
Step 1 -> Header comparison
ERROR: sign mismatch [comp 1] (0><1918988130)

ref:
http://my.cdash.org/testDetails.php?test=14122886&build=580731

Original issue reported on code.google.com by mathieu.malaterre on 13 Mar 2014 at 12:23

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 14 Mar 2014 at 2:05

GoogleCodeExporter commented 9 years ago
Indeed:

$ tiffinfo data/baseline/conformance/jp2_4.tif
TIFFReadDirectory: Warning, Unknown field with tag 37724 (0x935c) encountered.
TIFF Directory at offset 0x8 (8)
  Subfile Type: (0 = 0x0)
  Image Width: 768 Image Length: 512
  Resolution: 72, 72 pixels/inch
  Bits/Sample: 8
  Compression Scheme: LZW
  Photometric Interpretation: RGB color
  Samples/Pixel: 3
  Rows/Strip: 3
  Planar Configuration: single image plane
  Photoshop Data: <present>, 3780 bytes
  Tag 37724: 0x41,0x64,0x6f,0x62,0x65,0x20,0x50,0x68,0x6f,0x74,0x6f,0x73,0x68,0x6f,0x70,0x20,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x44,0x61,0x74,0x61,0x20,0x42,0x6c,0x6f,0x63,0x6b,0x0
  Predictor: horizontal differencing 2 (0x2)

while:

$ tiffinfo bin/tests/conformance/Temporary/file4.jp2.tif
TIFF Directory at offset 0x60008 (393224)
  Image Width: 768 Image Length: 512
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 1
  Planar Configuration: single image plane

It would be so much easier is conformance was actually single channel

Original comment by mathieu.malaterre on 14 Mar 2014 at 4:10

GoogleCodeExporter commented 9 years ago
Same issue with file6:

http://my.cdash.org/testDetails.php?test=14097531&build=581161

******Parameters********* 
 base_filename = /home/voxxl/Dashboards/MyTests/data/baseline/conformance/jp2_6.tif
 test_filename = /home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/tests/conformance/Temporary/file6.jp2.tif
 nb of Components = 3
 Non regression test = 0
 separator Base = _
 separator Test = _
 MSE values = [ 1.000000  1.000000  1.000000 ]
 PEAK values = [ 4.000000  4.000000  4.000000 ]
 Non-regression test = 0
 NbFilename to generate from base filename = 3
 NbFilename to generate from test filename = 3
************************* 
Step 1 -> Header comparison
ERROR: prec mismatch [comp 0] (8><16)

Original comment by mathieu.malaterre on 14 Mar 2014 at 4:18

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2754.

Original comment by mathieu.malaterre on 17 Mar 2014 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 24 Mar 2014 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by antonin on 24 Mar 2014 at 3:55

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 24 Mar 2014 at 5:15

GoogleCodeExporter commented 9 years ago

Original comment by antonin on 27 Mar 2014 at 2:59

GoogleCodeExporter commented 9 years ago
Same explanation as in issue 282.

In this case however, the test has to be adapted to consider only the first 
component of the reference file (no downscaling of output needed).

Original comment by antonin on 3 Apr 2014 at 3:43

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2939.

Update  issue 282

Original comment by m.darb...@gmail.com on 22 Nov 2014 at 12:06

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2940.

Original comment by m.darb...@gmail.com on 22 Nov 2014 at 12:07