Code covered by the BSD License  

Highlights from
matprint

2.0

2.0 | 2 ratings Rate this file 16 Downloads (last 30 days) File Size: 46.8 KB File ID: #40538
image thumbnail

matprint

by

 

Prints (rasterizes) text directly to image matrix.

| Watch this File

File Information
Description

I spent a long time searching the web, looking for a script to print text directly to image matrix, without using text and getframe. And I realized I am not alone (e.g. http://www.mathworks.com/matlabcentral/newsreader/view_thread/163433 and more). In the end, I decided to make something myself. This is just an example how it would work. I would like to get some feedback from potential users, to know if this might be useful and whether I should put further effort into this. My plans are to employ some arcs (circular, parabolic, elliptic,...), finish simple font and maybe read fonts from some "normal" file type,... Any feedback?

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
13 Nov 2013 Karel Lebeda

Hi, no, no extensions so far... There didn't seem to be any interest by anyone, so I left it for now.

16 Sep 2013 John Morris

Interesting script. Have you developed the simple font any further?

16 Sep 2013 John Morris  
12 Mar 2013 Karel Lebeda

Position is in format [x;y] and they're by default coordinates of the upper left corner; that can be changed by alignment options. Currently, the only font format it takes is my 'special' one... I thought about making it load some common type, or at least create some font(s) in this format (100 characters is not so much...).

Btw, if raster format with fixed font size is enough for you, I can recommend this: http://www.mathworks.co.kr/matlabcentral/fileexchange/26940-render-rgb-text-over-rgb-or-grayscale-image

11 Mar 2013 Dan Gianotti

This would certainly be useful for me... What are the allowable fonts? And what format is 'position'?

Contact us