Extract time-amplitude signals to a matrix from a png

1 visualizzazione (ultimi 30 giorni)
How can I extract the a-scan (time- amplitude) signals from a grayscale png. to a matrix?

Risposta accettata

Swetha Polemoni
Swetha Polemoni il 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by