help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you read a .bmp file?


From: Søren Hauberg
Subject: Re: How do you read a .bmp file?
Date: Sat, 29 Sep 2007 19:31:35 +0200
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

I believe there is a 'bmpread' function in the Octave forge image package. I haven't used it though...

Robert A. Macy skrev:
Thank you for your very prompt response and URL's.
I think I went through this before and found Imagmagic is
always missing or such.  Do remember I got some custom code
from here that allowed me to make colored .bmp images.

I do most of the work on the Win98 running binary octave 2.1.50a

I have an adjacent machine running WinXP Professional which
I could try running the binary 2.9.12. I don't use that
version of octave, because all my plot routines died.
However, I could open the .bmp with it, store the data as
.txt, and then open the data file using 2.1.50a

Is that possible?  Does 2.9.12 have an easy way to read
.bmp's ?

Robert

On Fri, 28 Sep 2007 23:58:31 -0400
 "James Sherman Jr." <address@hidden> wrote:
Have you tried the image package from octave forge?
 Found here:
http://octave.sourceforge.net/packages.html

You can get older versions of the packages to work with
2.1.50 here:

http://sourceforge.net/project/showfiles.php?group_id=2888&package_id=29785
I'm assuming that you still need to have the same
requirements as the
current build, i.e. ImageMagik installed.

James Sherman

On 9/28/07, Robert A. Macy <address@hidden> wrote:
I have a simple .bmp file, actually in two forms.

Both are 512 by 512 pixels, one is RGB 24 bit format
(?)
and the same gray image is in single ?? format.  Of
course
the single format is 1/3 the size of the RGB image.

Short of trashing the header, reading the file byte by
byte, is there some easy way to read in the pixel
values
for a 512 by 512 image?

I'm using Win98 to run octave 2.1.50a [I have to use
50a to
keep all those plotting functions.]

Robert
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]