<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello Tomislav<br><br>for the part 1-3 you can use PIL, for the part 4, you should also use numpy to convert your image into a flat list. Sorry, I cant help you for the points 5 and 6.<br><br>Keep us in touch with your project<br><br>Maxime <br><br>&gt; Date: Fri, 26 Nov 2010 11:45:09 +0100<br>&gt; From: tomislav.maric@gmx.com<br>&gt; To: image-sig@python.org<br>&gt; Subject: [Image-SIG] experimental data diagram digitalization<br>&gt; <br>&gt; Hi everyone, <br>&gt; <br>&gt; I need to digitalize a diagram of experimental data. I have been reading the documentation of the Python Imaging Library, and I'm thinking that I can approach my problem in the following way:<br>&gt; <br>&gt; 1) Create a .png of the diagram I find in the literature (.pdf articles, or theses). <br>&gt; 2) Clean up the diagram (remove the axes, the text and leave only the data that I am interested in). <br>&gt; 3) Read the image. <br>&gt; 4) Apply a filter that will result in only those pixels that are non-white (pick up the experimental data). <br>&gt; 5) Scale the result data of the filter (in pixels) to the actual coordinates in the image in milimeters. <br>&gt; 6) Scale the milimeter coordinates to the actual scale of the diagram (read from the original .pdf), to get the<br>&gt;  &nbsp; true coordinates (in my case, I have time in seconds and pressure in kPa). <br>&gt; <br>&gt; Can this be done with the Python Imaging Library + some additional python coding?<br>&gt; <br>&gt; The other option would be to use inkscape to export the path into .svg and manipulate (scale) it with some python-XML library.<br>&gt; <br>&gt; Can anyone give me some advice on this issue? <br>&gt; <br>&gt; Thanks in advance, <br>&gt; Tomislav<br>&gt; _______________________________________________<br>&gt; Image-SIG maillist  -  Image-SIG@python.org<br>&gt; http://mail.python.org/mailman/listinfo/image-sig<br>                                               </body>
</html>