/[opencvs]/eyes/larissa.txt
ViewVC logotype

Contents of /eyes/larissa.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations)
Sat Oct 15 22:01:46 2011 UTC (6 years, 6 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
File MIME type: text/plain
Added build_double, find_gery_range, and fp_to_txt so that we can do some real cool stuff
like having the sin and cosine at the same time, for color, and
attenuate and all that.  We are starting from scratch.  Which sucks,  because
it will take that much longer for 2880 - but the effect will be beautiful
This time - we are going to start at the center part and then expand from there.
So we can get something cool out earlier.  and we can test it computing the real version
oh yeah we now limit based on the nyquest frequency so we can really speed things up.
1 02_md5_everything
2 made 605 unique files
3
4 28x21 obviously!
5 at 44 inches - 20 would be 1584 at 720 dpi, or
6 63360 at 1440 dpi and you know we need 1440 dpi!
7
8 This should have 2 moire patterns - or just 1 - I guess just 1
9 If there are 2 it is too confusing.
10
11 So the moire should be from the hands to the mountains, which go back a bit
12 I need to estimate the distance to the mountains and height to come up with
13 the coordinates
14 OR - I can just make the distance 10 meters or 1 meter from her hand
15 extruding in different colors - not too many - maybee 1000 points of light.
16
17 Yellow purple would be neat, but probably should be blue orange.
18 I could rainbow it - for each finger - yeah, I like that.
19
20 For alpha,
21 I am thinking 15 for the hand, - well, maybee 23, 65 for the ocean,
22 35 for the shore, 50 for the mountain, and 95 for the white background.
23 30 for the wrist, 40 for the brown.
24
25 588 pictures total out of 605 - pretty good.
26
27 So Stage 1 - Fit the pictures - yeah - thats the easy part.
28
29 Then stage 2 - make the alpha - yuck.
30
31 Then stage 3. draw a line to the fingers. I woulg guess 3 miles away.
32 but if we do some light 3 miles away we cannot see the distance.
33 Better make it close - 5 inches back from point ot point.
34 Red Orange yellow green-blue Indigo
35
36
37
38 OK - next step - compute_all_averages.sh - makes analysis.txt - 605 entries
39 convert aaa.jpg -resize 28x21 aaa.txt -depth 8 txt: |
40 analyze_source_image_filter > source.txt
41
42 ^^^ derived by looking at analyze_source_image_filter
43 points are done by using gimp and finging the coordinates
44 3,8
45 7,3
46 11,4
47 13,7
48 15,10
49
50 modify points.c
51 points | sort >points.txt
52
53
54 then make the eyes
55 eyes | sort >eyes.txt
56 This one took a long time - so the picture mixing is probably not that good.
57
58 set val in workeyes.pl - for now I will set it cheap - make simple=-1 for this
59
60
61 mkdir m
62
63 do workeyes.sh
64
65
66 Before we make montage - we straighten the sideways pics in m.
67
68 then makemontage.pl for show, No need to do sideways becaus of the pixel size.
69
70
71 export TMP=/t/tmp
72 export MAGICK_TMPDIR=/t/tmp
73 export TMP2=/t/tmp
74 perl $e/makemontage.pl >/tmp/a
75 bash /tmp/a
76
77 # time montage -limit memory 1000000000 -limit map 1000000000 o/h0_0*.png -geometry 2160x45360x0x0 -tile 28x1 p/i0_0.txt
78
79
80 OK - now for the alpha - 10080x7560 is at 360 dpi -
81 convert aaa.jpg -resize 5040x3780 alpha.bmp
82 Then I made alpha.bmp - the next stage is to convert to 1440 dpi and a bit bigger than 28x21
83 has to be 56x42!
84 no - lets make it smaller
85 42x31.5 - 1.5 inches each one.
86 42*1440*1.5 = 90720
87 31.5*1440*1.5=68040
88 have to go png?
89 convert alpha.bmp -resize -limit memory 1000000000 -limit map 1000000000 60480x45360 alpha.txt
90
91
92
93
94 perl $e/build_larissa_eye_source.pl >eye_source.txt
95
96 mknod base.txt p
97 mknod l.txt p
98
99
100
101 perl $e/larissa_blocks.pl | flip_flop 1>o1 2>o2 3>o3 4>o4 5>o5 6>o6 6
102 bash o1 &
103 bash o2 &
104 bash o3 &
105 bash o4 &
106 bash o5 &
107 bash o6 &
108
109
110 # This is NOT being done with pipes as it thrashes like no other
111
112
113 time convert aaa.jpg -limit memory 10000000000 -limit map 10000000000 -resize 60480x45360 -depth 8 txt: | analyze_source_image_filter >base.txt
114
115 time montage -limit memory 10000000000 -limit map 10000000000 u/* -geometry 2160x2160x0x0 -tile 28x21 -depth 8 hologram.png
116 time convert -limit memory 10000000000 -limit map 10000000000 hologram.png txt: | analyze_source_image_filter >hologram.txt
117
118 time convert alpha.bmp -limit memory 10000000000 -limit map 10000000000 -resize 60480x45360 -depth 8 txt: | analyze_source_image_filter >alpha.txt
119
120 time montage -limit memory 10000000000 -limit map 10000000000 o/h0_0*.png -geometry 2160x45360x0x0 -tile 28x1 pixeled.png
121 time convert -limit memory 10000000000 -limit map 10000000000 pixeled.png -depth 8 txt: | analyze_source_image_filter >pixeled.txt
122
123 time randomify 60480 45360 324 base.txt pixeled.txt alpha.txt hologram.txt | tee final.txt | convert -limit memory 1000000000 -limit map 1000000000 txt: final.png
124
125

  ViewVC Help
Powered by ViewVC 1.1.5