Picture format -> ASCII

I DON'T LIKE SPAM!!! spam.spam at spam.spam.com
Thu Feb 17 15:43:19 EST 2000

X-Original-Subject: Re: Picture format -> ASCII
X-Original-Date: Sun, 13 Feb 2000 14:24:01 +0100
X-Original-Organization: University of Heidelberg, Germany
<38A6B071.D32C431B at popeye.aphys2.uni-heidelberg.de>
X-Agent-Group: sci.techniques.microscopy
X-Agent-Format: 1 1 0 1 1 630000 0 0 1 0 "*" 0
X-Intro: "On Sun, 13 Feb 2000 14:24:01 +0100, Nutan Sampat
<nsampat at popeye.aphys2.uni-heidelberg.de> wrote:\n"

>> Hi,
>> I am a PhD student at the Technical University of Berlin.
>> We would like to track the deformation of a cylinder in a hydraulic
>> press.
>> The pictures then need to be analyzed in a manner giving the shape of
>> the bulge as a function of height.
>> So I am searching for a program that takes a picture format as an input
>> and either
>> - yields a table listing brightness for each picture pixel ( cylinder
>> will be
>>   illuminated with laser light from the other side of the specimen;
>> after-
>>   wards I could use another program to find a curve fit for the bulge
>> width
>>   as a function of height)
>> or
>> - is able to independently give the form of the bulge as a mathematical
>>   function ( perhaps after some 'training' ? )
>> Thanks a million,
>> Frank
You probably want a program that can take an image and convert it to a
PGM file format, for portable gray map. I believe Adobe Photoshop or
JASC Paint Shop Pro can do this.

Check out the "Encyclopedia of Graphics File Formats" for details.
>From this source:

File Organization
The PBM, PGM, and PPM formats are designed to be as simple as
possible. Each starts out with a header, and the bitmap data follows
immediately after. The header is always written in ASCII, and data
items are separated by white space (blanks, tabs, carriage returns, or
linefeeds). The data portion of each file type can be written in
either ASCII or binary form.

Hope this helps.

More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net