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

Koos Spee

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Koos Spee View all
Updated File Comments Rating
22 Nov 2010 Open CV Viola-Jones Face Detection in Matlab Viola-Jones Fast Face Detection Mex Implementation Author: Sreekar Krishna

As I am getting some wrong detections, I was wondering how I can update the training stage. Can anybody point me in the right direction?

22 Mar 2010 freezeColors / unfreezeColors Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. Author: John Iversen

Got the same problem as Yongmin Jiang (May 2007). Made a quick example (as no solution has yet been posted).

%%

clear all
close all hidden
clc

%%

p=peaks(10);

%%

FigureWidth=400;
FigureHeight=200;

hFig=figure;
set(gcf, 'Position', [400 400 FigureWidth FigureHeight], 'PaperUnits', 'Points',...,
'PaperSize', [FigureWidth FigureHeight])

subplot('position', [0.1 0.2 0.40 0.70])
imagesc(p)
colormap('hsv')
freezeColors;
title('Not so nice', 'FontName', 'Arial', 'FontSize', 8');

subplot('position', [0.55 0.2 0.40 0.70])
imagesc(p)
title('Not so nice I', 'FontName', 'Verdana', 'FontSize', 6');
xlabel('XLabel Test','FontSize', 6');
colormap('bone')
freezeColors;

%%

Name='foo';

fillPage(gcf, 'margins', [0 0 0 0], 'papersize', [FigureWidth FigureHeight]);
% ttp://www.mathworks.com/matlabcentral/fileexchange/16566-fillpage

fi=strcat(Name,'.eps');
print(gcf,'-depsc',fi)


print(gcf,'-dpng','-r500','foo.png')

dos(['epstopdf ', fi]);

fprintf('done!\n Figure saved\n')

%%

Any idea to prevent the 'bitmapping' of labels/ticks?

02 Mar 2010 save2pdf Saves a figure as a PDF as it appears on the screen. Author: Gabe Hoffmann

I have got one question regarding dimensions of the saved file.

When I set figure position / size with:
set(gcf, 'Position', [400 400 600 100])
and then apply:
save2pdf('foo.pdf');

The dimensions of the image will be 450x75

Same with other values of width & height... al get resized to 75%

Does anybody know why this happens?

Contact us