Luiz Angioletti
2008-04-02 15:06:13 UTC
Hi there Friends,
I'm new to the group, and have done a minor search here for image
manipulation in Octave.
I've read at http://www.gnu.org/software/octave/doc/interpreter/Image-Processing.html#Image-Processing,
that octave only loads images in the Octave's format (.img).
I've got a few .tif files of binary images I'd like to load and
manipulate.
The command I give Octave is:
"I = loadimage("file.tif")", without the external quotation marks.
The return it gives to me is:
error: load: /home/angioletti/Documentos/UFPA/gait/images/circles.tif:
inconsistent number of columns near line 2
error: load: unable to extract matrix size from file `/home/angioletti/
Documentos/UFPA/gait/images/circles.tif'
error: called from `loadimage' in file `/usr/share/octave/2.9.12/m/
image/loadimage.m'
error: evaluating assignment expression near line 1, column 3
I've also tried to load an .jpeg image (converted with the "convert"
command), and the result I get is:
error: load: /home/angioletti/Documentos/UFPA/gait/images/circc.jpeg:
inconsistent number of columns near line 3
error: load: unable to extract matrix size from file `/home/angioletti/
Documentos/UFPA/gait/images/circc.jpeg'
error: called from `loadimage' in file `/usr/share/octave/2.9.12/m/
image/loadimage.m'
error: evaluating assignment expression near line 1, column 3
Since the research I'm starting is with images, and I wouldn't like
to buy MATLAB, I really need this image operations to work... =P
I'm using Ubuntu 7.10, with the imagemagick and octave installed
thru Synaptic.
Thanks.
Luiz
I'm new to the group, and have done a minor search here for image
manipulation in Octave.
I've read at http://www.gnu.org/software/octave/doc/interpreter/Image-Processing.html#Image-Processing,
that octave only loads images in the Octave's format (.img).
I've got a few .tif files of binary images I'd like to load and
manipulate.
The command I give Octave is:
"I = loadimage("file.tif")", without the external quotation marks.
The return it gives to me is:
error: load: /home/angioletti/Documentos/UFPA/gait/images/circles.tif:
inconsistent number of columns near line 2
error: load: unable to extract matrix size from file `/home/angioletti/
Documentos/UFPA/gait/images/circles.tif'
error: called from `loadimage' in file `/usr/share/octave/2.9.12/m/
image/loadimage.m'
error: evaluating assignment expression near line 1, column 3
I've also tried to load an .jpeg image (converted with the "convert"
command), and the result I get is:
error: load: /home/angioletti/Documentos/UFPA/gait/images/circc.jpeg:
inconsistent number of columns near line 3
error: load: unable to extract matrix size from file `/home/angioletti/
Documentos/UFPA/gait/images/circc.jpeg'
error: called from `loadimage' in file `/usr/share/octave/2.9.12/m/
image/loadimage.m'
error: evaluating assignment expression near line 1, column 3
Since the research I'm starting is with images, and I wouldn't like
to buy MATLAB, I really need this image operations to work... =P
I'm using Ubuntu 7.10, with the imagemagick and octave installed
thru Synaptic.
Thanks.
Luiz