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-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"
>>>> I am a PhD student at the Technical University of Berlin.
>>>> We would like to track the deformation of a cylinder in a hydraulic
>> 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;
>> wards I could use another program to find a curve fit for the bulge
>> as a function of height)
>> - is able to independently give the form of the bulge as a mathematical
>> function ( perhaps after some 'training' ? )
>>>> Thanks a million,
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:
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.