How to digitise ultrasound doppler waveform image (.png) into csv file?

6 views (last 30 days)
Hi all, I know there's a manual way of doing this by using automeris.io (a website that digitise images into data), however, I would like to automate the entire process. So far I'm able to automate and find X-axis and Y-axis, but I'm stuck at digitising the waveform to csv format. I have attached the manually extracted data point and automated failed version to this post.
  4 Comments
Image Analyst
Image Analyst on 27 Jul 2025
I'm not sure which part(s) of that image you want to get the values of and export to a CSV text file. What I would do is first see if the program that you took this screenshot from has any kind of exporting capabilities. It probably does. Other than that try to simplify the image as much as possible (no graphics), and then crop out the part you want to digitize, and then start from there. Of course calibrating the (x,y) values is probably going to have to be by hand entry.
Zhiheng
Zhiheng on 28 Jul 2025
Thanks for the idea! I've solved the issue which was related to the smoothing and I was able to reduce it where it reads the waveform properly. For x and y, i just hard coded them using its pixel coordinate since all the US doppler images I'm dealing with has the same dimension.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!