Generating a mask from scratch
Ältere Kommentare anzeigen
Hi
I would like to generate a simple mask image from scratch in Matlab if it is possible.
It has the following criteria:
- the size of the image needs to be 500 x 500 pixels.
- the center of the mask image needs to be a number, say 8. This area is white [255 255 255].
- the size of the number is best to be adjustable by fontsize?.
- the rest of the areas in the mask image needs to be black [0 0 0].
See the sample image below which is NOT done in Matlab. Is this achievable in Matlab?

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Tracking and Motion Estimation finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!