Triangle Circle Dataset Creation
Show older comments
I need to generate a triangle in matlab in the scope of 500x500 pixels. I need to generate a certain amount of images so its a dataset. The triangles either need to be at a certain angle and be either pink or purple. I have no idea what commands to use.
2 Comments
DGM
on 15 Nov 2022
What are the constraints?
- Do they need to be a certain configuration? Irregular? Regular?
- How many triangles per image?
- Do they need to be a certain size?
- Do they need to be in a certain position?
- Can they intersect image boundaries?
- What's the background?
- Are the triangles supposed to be a particular pink/purple, or can it be any random color in that range?
- Do the triangles need to be binarized, or should they be antialiased?
marsmar
on 25 Nov 2022
Accepted Answer
More Answers (1)
David Hill
on 15 Nov 2022
0 votes
Look at polyshape
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

