pdf - How can we compare two plots? -
suppose have 2 similar plots.
- plot1 (already published in paper)
- plot2 (calculated using software)
my question is: how can compare calculated plot (pdf, png, jpeg, etc) plot in paper. thank you
to best of knowledge, there no software enable re-convert images nominal data.
however, it's not hard write piece of code it.
here steps (at high level):
- extract images pdf document (use itext)
- separate out images plot. can train neural network this, or can images contain lot of white (assuming that's background) , have straight lines in black (assuming that's foreground). or step manually.
- once have image(s), extract axis information. i'll assume simple lineplot. extract minimal x , y value, , maximum x , y value.
- separate out colors of lines in lineplot, , exact pixel coordinates. then, using axis information, scale them original datapoint.
- apply kind of smoothing algorithm. e.g. savitzky-golay
- if ever use data in paper, please mention gathered data approximation of graph. make clear did not use original source data.
reading material:
Comments
Post a Comment