필터 지우기
필터 지우기

Generate an image containing a pattern of random shapes

조회 수: 9 (최근 30일)
KAE
KAE 2019년 1월 25일
댓글: Image Analyst 2023년 4월 5일
I would like to generate an image like this containing random shapes where I specify the size range, color, and type of shape such as triangles, squares, or circles. Before starting to write code, I thought I would first check if there is an existing function to get me part way there that I might have missed on my search of the file exchange, or elsewhere. Does anything come to mind?

채택된 답변

Image Analyst
Image Analyst 2019년 1월 25일
My attached shape recognition demo does that.
  댓글 수: 1
KAE
KAE 2019년 1월 25일
편집: KAE 2019년 1월 25일
Many thanks! Here is the relevant part of the code output for others, and it will be easy to alter the code to choose just one shape type, increase the shape coverage in the image, combine masks to vary shape color, etc.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Pitipark Jirahirankit
Pitipark Jirahirankit 2023년 4월 5일
I actually have a project like this but is there some coding in matlab i'm newbie to this i just got into matlab thrrough computer vision and i want someone to sharing something with this

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by