Label Image

Script to place text label on the image without losing on the pixel information by pixel replacement

您现在正在关注此提交

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.

引用格式

Amitabh Verma (2026). Label Image (https://ww2.mathworks.cn/matlabcentral/fileexchange/31187-label-image), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: ImagePatchTool

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.2.0.0

12 Apr 2012

Changes in ver 1.01
1. Fix for Matlab's default character encoding

1.0.0.0