font_mask(str, font)
Version 1.0.0.0 (222 ko) par
Jaroslaw Tuszynski
Create a boolean pixel mask based on string
mask = font_mask(str, font) returns boolean mask showing characters in the string "str", rendered using font "font". Meant to be used for image annotation where final image is of the same size as the original image.
Fonts based on Libgd fonts ( https://github.com/libgd/libgd) and on fonts from http://patorjk.com/software/taag/ .
Citation pour cette source
Jaroslaw Tuszynski (2025). font_mask(str, font) (https://www.mathworks.com/matlabcentral/fileexchange/62059-font_mask-str-font), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2016b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
En savoir plus sur Region and Image Properties dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |