Rank: 10510 based on 0 downloads (last 30 days) and 0 file submitted
photo

Robert

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Robert
Updated File Comments Rating
02 May 2013 Add Text To Image Overlays rasterized text on an image matrix. Author: Daniel Warren

Just what I needed, thanks. Suggested change to prevent text figure from being visible (lines from BitmapFont.m):

%fighandle = figure('Position',[50 50 150+Size 150+Size],'Units','pixels','Color',[1 1 1]); % original
fighandle = figure('Visible','Off','Position',[50 50 150+Size 150+Size],'Units','pixels','Color',[1 1 1]);

%Bitmap = getframe(gcf); % original
Bitmap = hardcopy(fighandle, path, '-dOpenGL', '-r0');

%Bitmap = mean(Bitmap.cdata,3); % original
Bitmap = mean(Bitmap,3);

Contact us