TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Extract numerical data from plot images

47 pointsby deniszgonjaninalmost 10 years ago

7 comments

jamessbalmost 10 years ago
This is very nice.<p>I particularly like the automatic mode. However, the deafult &#x27;distance&#x27; threshold of 120 seems to be too large: selecting the yellow foreground color picks points on both the yellow and red lines; selecting the green foreground color picks points on both the green curve and the axes.<p>A solution for the test image is to just reduce the threshold to 50.<p>The best threshold may depend on both the target color and the specific image being processed, but could potentially be automatically chosen: imagine constructing a greyscale image by replacing each pixel&#x27;s color with its distance from the target color, and then picking a threshold for converting this grayscale image to a binary image (e.g. using Otsu&#x27;s method [0]).<p>The export to plot.ly feature is also great - you can really quickly extract data from one graph and re-plot it in a different&#x2F;clearer way.<p>[0]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Otsu%27s_method" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Otsu%27s_method</a>
评论 #9897687 未加载
acemarkealmost 10 years ago
That is fantastic. I actually wrote a one-off utility to do exactly this from polar plots several years back. This is WAAAAAYYYY better, in both features and UI. I don&#x27;t have a specific need for this now, but it&#x27;s actually kinda nifty to see someone else do this.
ankitrohatgialmost 10 years ago
Hello everyone, I am the developer of this app. I wanted to thank you for the appreciation and I hope you find this tool useful in your work.<p>There are a lot of things that I want to add to this app in the future - e.g. working with heat maps, path and area measurement, simple image editing tools etc. Also while the auto extraction stuff works ok at the moment, I think there is still a lot of room for improvement. I hope I can get to all these things soon.<p>If you have any suggestions, then feel free to comment here, or use the issue tracker on GitHub. You can also just send me an email.
filmoralmost 10 years ago
Awesome tool :)<p>One minor thing, it could make sense to decrease the default colour distance in the example, as with the current default setting the orange and red lines are selected together in automatic mode when using the orange from the &quot;dominant colors&quot;. A distance of 78 or less separates them.
dmdalmost 10 years ago
Neat. I&#x27;ve been using GraphClick [0] for this for decades.<p>[0]: <a href="http:&#x2F;&#x2F;www.arizona-software.ch&#x2F;graphclick&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.arizona-software.ch&#x2F;graphclick&#x2F;</a>
berrygalmost 10 years ago
This brings back memories. I used to use these kind of programs during my study electrochemistry more than 20 years ago. Apparently it is still relevant.
balazsdavid987almost 10 years ago
Amazing work! Can it process plots with one data set (one line) with an all white background?