Borrar filtros
Borrar filtros

Generate an image containing a pattern of random shapes

9 visualizaciones (últimos 30 días)
KAE
KAE el 25 de En. de 2019
Comentada: Image Analyst el 5 de Abr. de 2023
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?

Respuesta aceptada

Image Analyst
Image Analyst el 25 de En. de 2019
My attached shape recognition demo does that.
  1 comentario
KAE
KAE el 25 de En. de 2019
Editada: KAE el 25 de En. de 2019
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.

Iniciar sesión para comentar.

Más respuestas (1)

Pitipark Jirahirankit
Pitipark Jirahirankit el 5 de Abr. de 2023
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

Categorías

Más información sobre Feature Detection and Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by