[Pkg-octave-devel] Bug#438465: octave2.9-forge: image/edge.m fails with 'wrong type argument'

Andreas Romeyke art1 at andreas-romeyke.de
Fri Aug 17 08:07:13 UTC 2007


Subject: octave2.9-forge: image/edge.m fails with 'wrong type argument'
Package: octave2.9-forge
Version: 2006.07.09+dfsg1-8
Severity: normal

*** Please type your report below this line ***
Hi,

I load an image with following lines:
	image=imread("test.png");
	imshow(image);
	edgeimage=edge(image,'sobel');

The last line triggers an error:
	error: octave_base_value::matrix_value(): wrong type argument
`uint8 matrix' error: evaluating binary operator `.^' near line 77,
column 39 error: evaluating binary operator `+' near line 77, column 43
	error: evaluating assignment expression near line 77, column 7
	error: evaluating if command near line 65, column 1
	error: called from `edge' in file
	`/usr/share/octave/site/api-v22/m/octave2.9-forge/image/edge.m'
	error: evaluating assignment expression near line 8, column 10

The same code does work under Debian Sarge`s Version of Octave and
Octave forge.

Please use for additional questions my email-address:
art1 at andreas-romeyke.de.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.22.1art1
Locale: LANG=de_DE.UTF-8 at euro, LC_CTYPE=de_DE.UTF-8 at euro
(charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8 at euro)

Versions of packages octave2.9-forge depends on:
ii  atlas3-3dnow [liblapack. 3.6.0-20.6      Automatically Tuned Linear
Algebra ii  atlas3-base [liblapack.s 3.6.0-20.6      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-13    GNU C Library: Shared
libraries ii  libcln4                  1.1.13-2        Class Library
for Numbers (C++) ii  libgcc1                  1:4.1.1-21      GCC
support library ii  libgfortran1             4.1.1-21        Runtime
library for GNU Fortran ap ii  libginac1.3c2a           1.3.5-3
The GiNaC symbolic framework (runt ii  libgmp3c2
2:4.2.1+dfsg-4  Multiprecision arithmetic library ii
libgraphicsmagick++1     1.1.7-13        format-independent image
processin ii  libgraphicsmagick1       1.1.7-13
format-independent image processin ii  libgsl0
1.8-2           GNU Scientific Library (GSL) -- li ii
libhdf5-serial-1.6.5-0 [ 1.6.5-3         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-5           Shared libraries for terminal hand ii
libnetcdf3               3.6.1-1         An interface for scientific
data a ii  libpcre3                 6.7-1           Perl 5 Compatible
Regular Expressi ii  libpng12-0               1.2.15~beta5-1  PNG
library - runtime ii  libqhull5                2003.1-2
Calculate convex hulls and related ii  libreadline5
5.2-2           GNU readline and history libraries ii
libsm6                   1:1.0.1-3       X11 Session Management library
ii  libstdc++6               4.1.1-21        The GNU Standard C++
Library v3 ii  libx11-6                 2:1.0.3-7       X11 client-side
library ii  octave2.9                2.9.9-8etch1    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


-- 
Dipl. Inf. (FH) Andreas Romeyke, http://andreas-romeyke.de/privat/,
Gesellschaft für die Anwendung offener Systeme e.V. (http://gaos.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20070817/9b99e837/attachment.pgp 


More information about the Pkg-octave-devel mailing list