[Pkg-octave-devel] Bug#403864: octave2.9-forge: imread determines depth of a grayscale tiff image wrongly

Tobias Eberle tobias.eberle at gmx.de
Wed Dec 20 09:34:49 CET 2006


Package: octave2.9-forge
Version: 2006.07.09+dfsg1-5
Severity: normal

Hello,

octave2.9:1> imread("darkimage.tif");
warning: implicit conversion from matrix to string
error: imread: invalid image depth
error: evaluating if command near line 76, column 5
error: called from `imread' in file
`/usr/share/octave/site/api-v22/m/octave2.9- forge/image/imread.m'

looking at line 72 of imread.m:
depth = re_grab("Red: ([[:digit:]]{1,2})", ident);
this results in "" with my file.

If you need the file for testing purposes please let me know.

# identify -verbose darkimage.tif
darkimage.tif TIFF 492x492 DirectClass 474kb
Image: darkimage.tif
  Format: TIFF (Tagged Image File Format)
  Geometry: 492x492
  Class: DirectClass
  Type: Grayscale
  Endianess: MSB
  Colorspace: Gray
  Channel depth:
    Gray: 16-bits
  Channel statistics:
    Gray:
      Min: 0 (0)
      Max: 65535 (1)
      Mean: 5617.95 (0.0857244)
      Standard deviation: 1437.82 (0.0219398)
  Colors: 293
  Histogram:
    [removed because long and unneccessary]
  Rendering-intent: Undefined
  Resolution: 72x72
  Units: PixelsPerInch
  Filesize: 474kb
  Interlace: None
  Background Color: white
  Border Color: #DFDFDFDFDFDF
  Matte Color: grey74
  Dispose: Undefined
  Iterations: 0
  Compression: None
  Orientation: TopLeft
  Comment: ImageJ=1.37v
min=0.0
max=65535.0

  Signature:
5e16c899d38c7b1603717a28f49fc2ff503330d40a79de1bb4e4b06e740f7cf2
  Tainted: False
  Version: ImageMagick 6.2.4 06/12/06 Q16 http://www.imagemagick.org


Best regards,

Tobias

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages octave2.9-forge depends on:
ii  atlas3-base [liblapack.s 3.6.0-20.2      Automatically Tuned Linear Algebra
ii  fftw3                    3.1.2-1         library for computing Fast Fourier
ii  lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines
ii  libc6                    2.3.6.ds1-4     GNU C Library: Shared libraries
ii  libcln4                  1.1.13-1        Class Library for Numbers (C++)
ii  libgcc1                  1:4.1.1-13      GCC support library
ii  libgfortran1             4.1.1-13        Runtime library for GNU Fortran ap
ii  libginac1.3c2a           1.3.5-1         The GiNaC symbolic framework (runt
ii  libgmp3c2                2:4.2.1+dfsg-4  Multiprecision arithmetic library
ii  libgraphicsmagick++1     1.1.7-8         format-independent image processin
ii  libgraphicsmagick1       1.1.7-8         format-independent image processin
ii  libgsl0                  1.8-1           GNU Scientific Library (GSL) -- li
ii  libhdf5-serial-1.6.5-0 [ 1.6.5-2         Hierarchical Data Format 5 (HDF5) 
ii  libice6                  1:1.0.1-2       X11 Inter-Client Exchange library
ii  libjpeg62                6b-13           The Independent JPEG Group's JPEG 
ii  libncurses5              5.5-3           Shared libraries for terminal hand
ii  libnetcdf3               3.6.1-0.1       An interface for scientific data a
ii  libpcre3                 6.4-2           Perl 5 Compatible Regular Expressi
ii  libpng12-0               1.2.15~beta5-0  PNG library - runtime
ii  libqhull5                2003.1-2        Calculate convex hulls and related
ii  libreadline5             5.2-1           GNU readline and history libraries
ii  libsm6                   1:1.0.1-2       X11 Session Management library
ii  libstdc++6               4.1.1-13        The GNU Standard C++ Library v3
ii  libx11-6                 2:1.0.0-8       X11 client-side library
ii  octave2.9                2.9.9-6         GNU Octave language for numerical 
ii  refblas3 [libblas.so.3]  1.2-8           Basic Linear Algebra Subroutines 3
ii  zlib1g                   1:1.2.3-13      compression library - runtime

octave2.9-forge recommends no packages.

-- no debconf information




More information about the Pkg-octave-devel mailing list