Graphics+editing

=Graphics editing=


 * 1) =Make changes in eps figures without gimp ;)=
 * 2) =Combined pictures=
 * 3) =High resolution PowerPoint pictures=
 * 4) =Digitalize RDF : Extract (x,y) data from the picture=

Make changes in eps figures without gimp
Input file: Task is to change g to h: 1) open *.eps file with any editor 2) find (g)

3) remove (g) with (h)

Combined pictures
If we need to make a combined picture, the easiest way would be PowerPoint in most of the cases. However, it saves pictures with resolution 96 DPI. We also can not rescale them because they are quite small in size. This problem could be solves as described in here. However this method has one disadvantage: practically the maximal resolution is 307 DPI. But it is sufficient because:
 * most of journals require 300 dpi for coloured pictures ;
 * the created picture is still ~30 cm height*, that allows to re-sample it to size ~10 cm in height with resolution 600 dpi;
 * one is free to make arbitrary big picture and re-sample it.


 * with default screen presentation at my system.

High resolution PowerPoint pictures
Takes about 3 minutes to complete the instructions. The tutorial works for both MS Office 2003 and MS Office 2007 (see the instructions inside the text). []

Digitalize RDF : Extract (x,y) data from the picture
Bellow are the scripts, which digitalize the RDF. Requirements to the picture: 1) Box around the plot (like in matlab) 2) One RDF on the plot 3) No extra symbols (no digits, legends, names of plot etc. One may remove them in gimp) 4) The plot Should be RDF-like ( go to 0 at zero and is finite and non-zero at the end of scale ) 5) You should know the limits of the x and y data (XLim, YLim) Note: Plot CAN BE dotted, dashed etc, but this will decrease the quality of digitalization.



Note: currently there are no documentation for the functions. You may use the following Example instead:



(Download Plot1a.png) and then run:

% load the picture, convert it to grayscale. Change whilte->0, black->1 A=rgb2gray(imread('Plot1a.png'))<254;

%set limits of axes on the picture XLim=[1 6]; YLim=[0 7];

% digitalize the picture [r,g]=digitalizeRDF(A,XLim,YLim);

% remove noise from the digitalized plot [r1,g1]=removeSinglePoints(r,g);

%plot result plot(r1,g1);

% show the initial plot (for comparison) figure,imshow(imread('Plot1a.png'))