Extract time-amplitude signals to a matrix from a png

1 view (last 30 days)
How can I extract the a-scan (time- amplitude) signals from a grayscale png. to a matrix?

Accepted Answer

Swetha Polemoni
Swetha Polemoni on 13 Apr 2021
Hi
It is my understanding that you want to get the x and y coordinates of few points from image.
  1. Read the image using imread.
  2. Display the image using imshow.
  3. You may use imbinarize to convert your image to binary image if needed.
  4. Click on the image points whose x and y coordinates needs to be calculated using ginput.

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!