Label Image
by Amitabh Verma
25 Apr 2011
(Updated 13 Apr 2012)
Script to place text label on the image without losing on the pixel information by pixel replacement
|
Watch this File
|
| File Information |
| Description |
This function is useful in placing text label, time-stamps, legends, etc. on the image without any loss in image quality. It also does not depend on the getframe method which renders the desktop useless during the process.
This is a function representation of the ImagePatchTool
http://www.mathworks.com/matlabcentral/fileexchange/25111-imagepatchtool
Different character set / fonts can also be generated using the ImagePatchTool and incorporated into this script.
Usage:
iout = labelimg(original, label_text)
iout = labelimg(original, label_text, location)
Please feel free to report bugs, feature request, comments and suggestions. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
ImagePatchTool
|
| Required Products |
Image Processing Toolbox
|
| MATLAB release |
MATLAB 7.10 (2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 13 Apr 2012 |
12 Apr 2012
Changes in ver 1.01
1. Fix for Matlab's default character encoding |
|
Contact us at files@mathworks.com