Creating a 2D mesh of a real image

2 ビュー (過去 30 日間)
Matthew Worker
Matthew Worker 2020 年 12 月 27 日
コメント済み: Matthew Worker 2020 年 12 月 28 日
Hello,
I want to create a 4*4, 2 dimentional mesh of an image of a composite material (containing an inclusion).
I have tried to collect data from the image using the function size, however i do not know how to procede for the mesh.
Thank you.
  4 件のコメント
Rik
Rik 2020 年 12 月 28 日
Your question is still not clear to me, and I can't run your code because you decided to post it as an image.
Matthew Worker
Matthew Worker 2020 年 12 月 28 日
rows=251;
columns=257;
[R, C] = meshgrid(1:10:rows, 1:10:columns);
r=size(R)
c=size(C)
Z=zeros(r(1),c(2));
T = delaunay(R,C);
trimesh(T,R,C,Z)
view(0,300)
I have been able to visualize a mesh of a rectangle, as shown in this figure:
I want now to mesh a circle inside of it(wich will represent the inclusion).
Your help will be appreciated.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by