/[opencvs]/eyes/kristie_blocks.pl
ViewVC logotype

Contents of /eyes/kristie_blocks.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sat Nov 12 21:31:10 2011 UTC (6 years, 11 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
I think I got kristie working
1 $full_width=63360;
2 $full_height=84480;
3
4 $width = 1440;
5 $height = 1440;
6 $i = 0;
7 $threshold=0.5;
8
9 for ($y = 0; $y < $full_height; $y = $y + $height) {
10 $j = 0;
11
12 for ($x = 0;$x < $full_width;$x = $x + $width) {
13 $tox = $x + $width;
14 $toy = $y + $height;
15 $fname = sprintf("es_%03d_%03d.fp",$i,$j);
16 print "build_double eye_source.txt 143 $full_width $full_height 1440 1440 $x $tox $y $toy 1 1 >u/$fname\n";
17 $j++;
18 }
19 $i++;
20 }

  ViewVC Help
Powered by ViewVC 1.1.5