automeris-io / WebPlotDigitizer

Computer vision assisted tool to extract numerical data from plot images.
https://automeris.io
GNU Affero General Public License v3.0
2.63k stars 362 forks source link

Outliers at the same locations #250

Closed rsfeelsomoon closed 3 years ago

rsfeelsomoon commented 3 years ago

Hi,

I'm extracting data from some simple X-Y line plots. I got some outliers at the same locations for all the plots though the data points shown on the plot seem to match perfectly. Any help is appreciated!

The dots seem to match great. Note the maximum of x is 70. image

The data extracted has some points above 70. image

The abnormal points happens at similar locations. image image

A sample profile I want to extract. image

nbehrnd commented 3 years ago

The very first image shown by you looks like a plot simultaneously including traces and a legend. Because the digitizer screens the image for any pixel matching the definition of colour you set, it may happen that pixels of this legend equally are taken into consideration as if they would belong to the very trace, too. This pitfall seems even more plausible to me because the blue and amber trace in the subsequent examples show this not at the same position (along your ordinate):

possible_pitfall

Either

.or.

Opting for the first approach, the digitization just worked fine (i.e., values of the abscissa less than 70 only); see the project's data below.

test_run.zip