How can I obtain an array of the xy coordinates for a curve in a picture?
조회 수: 3 (최근 30일)
이전 댓글 표시
hello, I have a picture and would like to extract information. Specifically, I want to use the Finite Element Analysis Tool (app extension) to model flow around a car. On my ipad, I have drawn a simple 2D side layout (a closed curve) and would like to gain somehow the coordinates for each point (with a small spacestep). Could you please help?
댓글 수: 0
답변 (2개)
Jason Shrand
2022년 4월 26일
If you have a picture, you can load it as a [width X height X 3] RGB image that you can then manipulate, using the "imread" function.
From there you could use the Computer Vision Toolbox to do feature detection. Specifically, I think imcontour might be useful.
댓글 수: 0
Precise Simulation
2022년 8월 30일
When using FEATool version 1.15.1 and later your can import a bitmap image (jpeg, bmp, or png) and convert it to a two dimensional geometry (which you later can mesh and perform CFD simulations on). For example see the link below:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!