source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/BlueCCal/MultiCamSelfCal/OutputFunctions/showimg.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 541 bytes
Line 
1%SHOWIMG  Pajdla: Shows scaled images in the gray palette
2%
3%
4%       function f = showimg(m,f)
5%
6%       m = image matrix 
7%       f = figure handle
8%
9%       See also:  IMAGE, IMAGESC, COLORMEN.
10
11%       Author:         Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be
12%                                           pajdla@vision.felk.cvut.cz
13%                       03/06/95 ESAT-MI2, KU Leuven
14%       Documentation:                           
15%       Language:       Matlab 4.2, (c) MathWorks                       
16%
17function f = showimg(m,f);
18
19if (nargin==2)
20 figure(f);
21else
22 f=figure;
23%  colormen;
24 colormap('gray');
25end
26 
27imagesc(m);
28axis('image');
29
30return
Note: See TracBrowser for help on using the repository browser.