Edge detection in an image

1 次查看(过去 30 天)
Sergio Lozano
Sergio Lozano 2021-2-19
Hi!
I would like to measure the water table in each point of the attached image but i do not know what is the best way to proceed. I have tried fuzzy logic and edge detector Canny algorithm.
Thank you all beforehand.
  2 个评论
KALYAN ACHARJYA
KALYAN ACHARJYA 2021-2-19
What does "water table" menas here?
Sergio Lozano
Sergio Lozano 2021-2-19
It is the surface of the wave, its height

请先登录,再进行评论。

回答(1 个)

Keerthana Chiruvolu
Hi,
Use the Image Segmenter App, to extract the region of interest ( region between the ground and the water surface).
  • Draw the ROI using the Assisted Freehand and generate the binary image
  • Export the binary image to the MATLAB Workspace and use the regionprops() function to extract the required properties from the binary image.
Please find the attached binary mask for 'wave.png' image file.
Refer the link for more information on different function used to calculate image properties.

Community Treasure Hunt

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

Start Hunting!

Translated by