[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: imwrite
From: |
Etienne Grossmann |
Subject: |
Re: imwrite |
Date: |
Wed, 27 Aug 2003 09:07:01 +0100 |
User-agent: |
Mutt/1.3.28i |
Does something like
octave:9> imwrite ("small_img.pgm",[1,2;3,4])
octave:10> imread ("small_img.pgm")
ans =
1 2
3 4
work?
Etienne
On Tue, Aug 26, 2003 at 06:53:31PM -0500, Travis Turner wrote:
# Hi. I wrote a pretty simple program in Matlab that creates gradient fields
# of specified contrast and spatial frequency, then writes the matrix out as
# an image (in bitmap format). I would like to give this program to a
# colleague who doesn't own a Matlab license so that she can create some
# images for her research. When I tried to run the program on Octave, I
# couldn't get the imwrite.m function to work. I kept getting the "error
# defining new function... (line 320)" return. My program is
# octave-compatible until this step. I spent a pretty good amount of time
# playing with the syntax, but nothing seemed to help. Any ideas? Example
# syntax?
#
# Many thanks,
#
# ---Travis Turner
#
#
#
# -------------------------------------------------------------
# Octave is freely available under the terms of the GNU GPL.
#
# Octave's home on the web: http://www.octave.org
# How to fund new projects: http://www.octave.org/funding.html
# Subscription information: http://www.octave.org/archive.html
# -------------------------------------------------------------
#
--
Etienne Grossmann ------ http://www.isr.ist.utl.pt/~etienne
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- imwrite, Travis Turner, 2003/08/26
- Re: imwrite, JD Cole, 2003/08/26
- Re: imwrite,
Etienne Grossmann <=