/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to automate_image_orig.m

  • Committer: Suren A. Chilingaryan
  • Date: 2010-04-23 00:02:19 UTC
  • Revision ID: csa@dside.dyndns.org-20100423000219-xagi3lp4su6g1y8e
Tags: single_gpu
CUDAfication of real-time module

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
% exist('validy')
44
44
 
45
45
 
46
 
if exist('data', 'dir')
47
 
    datadir = 'data/';
48
 
else
49
 
    datadir = '';
50
 
end
51
 
 
52
46
if exist('images', 'dir')
53
47
    imagedir = 'images/';
54
48
else
55
49
    imagedir = '';
56
50
end
57
51
 
 
52
if exist('data', 'dir')
 
53
    datadir = 'data/';
 
54
else
 
55
    if exist([imagedir, 'grid_x.dat'], 'file')
 
56
        datadir = imagedir;
 
57
    else
 
58
        datadir = '';
 
59
    end
 
60
end
 
61
 
 
62
 
58
63
% Load necessary files
59
64
if exist('grid_x')==0
60
65
    load([datadir, 'grid_x.dat'])   % file with x position, created by grid_generator.m