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

Contents of /eyes/colored_heart.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Mar 6 06:43:51 2014 UTC (4 years, 1 month ago) by hib
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
Got qi working and released.
1 This is a variant of heart_blob - making a colored heart
2 at 44x44 or bigger, with full color.
3
4 This requires double the work, because we need the real and imaginary code.
5 And right now, the code to compute fast just does real.
6
7
8
9 Older
10
11 We will take heart_hologram.txt and divide by 3 for the 480 res
12
13 bash change_coords.sh
14 scp hearts_480dpi.txt cookie:cvs/eyes/gpu/okcolored_heart
15
16
17
18 Find the average:
19 awk -F \| <hearts_480dpi.txt '{s1+=$1;s2+=$2;} END {print s1/NR, s2/NR }
20 12318.5 10578.6
21
22
23 We will change from 5.32 to 671 in hearts_480dpi_red.txt
24
25 On cookie:
26 perl colored_heart_blocks.pl > colored_heart_blocks_fp.sh
27 mkdir u
28 time bash colored_heart_blocks_fp.sh
29 ../../find_grey_range real u/s00[0-5]*.fp >real.grey
30 ../../find_grey_range imaginary u/s00[0-5]*.fp >imaginary.grey
31
32 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
33
34
35 1. make a heart at 15840x15840 using windows 7 ms paint binary - this is heart15840.bmp
36 2. rotate 90 degrees to the right using gimp or something
37
38
39 export MAGICK_TMPDIR=/t/tmp
40 export TMP=/t/tmp
41 export TMP2=/t/tmp
42
43
44 rm 2>/dev/null h.txt
45 mknod h.txt p
46
47 convert heart15840.bmp h.txt &
48 grep -v white <h.txt | analyze_source_image_filter >dots.txt
49
50 So dots should be workable by our field tools - we then convert this to a list of points - 44 inches out
51 or maybee 33 inches out. Have the phase change 7 times the pixel size in the X, and 11 times in the y - or something like that
52 and then with tehse points, we can generate a section of the image.
53
54
55
56 Then we can generate some dark red - color 192 64 64 with a range of 64 looks pretty good. But it is worth playing around with it.
57
58 Maybee range 96?
59
60 Then somehow convert the square ( which is 38016 pixels) to a circle (which is 38016 pixels in diameter.
61
62 then give the image to Kevin at Ross imaging.
63
64 The heart will probably be green - or maybee the yellow color of our cone - Green would be rejected better depending on the color.
65
66
67
68
69
70 OK next:
71
72 perl $e/points_to_hologram_vectors.pl <dots.txt >heart_hologram.txt
73
74 perl $e/japan_blocks.pl >/tmp/a
75 flip_flop </tmp/a >oj1 2>oj2 3>oj3 4>oj4 5>oj5 6>oj6 6
76 nohup bash oj1 >oj1.log 2>&1 &
77 nohup bash oj2 >oj2.log 2>&1 &
78 nohup bash oj3 >oj3.log 2>&1 &
79 nohup bash oj4 >oj4.log 2>&1 &
80 nohup bash oj5 >oj5.log 2>&1 &
81 nohup bash oj6 >oj6.log 2>&1 &
82
83
84 u is current cpu.
85 Wait 36 days.
86
87 Then copy everything from both machiens into v
88
89 Then lets rotate it so it is easier to montage
90
91 cd v
92 find . -name '*.png' -print | awk '{print "convert " $1 " -rotate 270 ../w/" $1 } ' | bash
93
94 cd ..
95
96
97
98
99
100
101 time montage w/es_026*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_00.png &
102 time montage w/es_025*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_01.png &
103 time montage w/es_024*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_02.png &
104 time montage w/es_023*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_03.png &
105 time montage w/es_022*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_04.png &
106 time montage w/es_021*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_05.png &
107 time montage w/es_020*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_06.png &
108 wait
109 time montage w/es_019*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_07.png &
110 time montage w/es_018*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_08.png &
111 time montage w/es_017*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_09.png &
112 time montage w/es_016*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_10.png &
113 time montage w/es_015*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_11.png &
114 time montage w/es_014*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_12.png &
115 wait
116 time montage w/es_013*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_13.png &
117 time montage w/es_012*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_14.png &
118 time montage w/es_011*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_15.png &
119 time montage w/es_010*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_16.png &
120 time montage w/es_009*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_17.png &
121 time montage w/es_008*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_18.png &
122 wait
123 time montage w/es_007*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_19.png &
124 time montage w/es_006*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_20.png &
125 time montage w/es_005*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_21.png &
126 time montage w/es_004*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_22.png &
127 time montage w/es_003*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_23.png &
128 time montage w/es_002*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_24.png &
129 wait
130 time montage w/es_001*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_25.png &
131 time montage w/es_000*.png -geometry 1440x1440+0+0 -tile 27x1 ww/strip_26.png &
132 wait
133
134
135
136 time montage -limit memory 5000000000 -limit map 5000000000 ww/strip*.png -geometry 38880x1440+0+0 -tile 1x27 raw_27_x_27.png &
137 #time montage --enable-openmp ww/strip*.png -geometry 38880x1440+0+0 -tile 1x27 raw_27_x_27.png &
138
139 61 minutes
140
141 608 pixels will be clipped off the front
142
143 convert w/es_000_013*.png -gravity northeast -crop 832x0+0+0 u.bmp
144
145 832 - 1440 - 608
146
147
148
149 time analyze_source_image.sh raw_27_x_27.png > raw_27_x_27.txt
150
151 # note - encirculate has parameters now
152 time encirculate 38272 19136 19136 <raw_27_x_27.txt | convert txt: ship/disk_full.png
153 time encirculate_bw <raw_27_x_27.txt | convert txt: ship/bwdisk_full.png
154 time encirculate_bbw <raw_27_x_27.txt | convert txt: -depth 1 ship/bbwdisk_full.png
155 time encirculate_grey <raw_27_x_27.txt | convert txt: -depth 1 ship/greydisk_full.png
156 time encirculate_yellow_magenta <raw_27_x_27.txt | convert txt: ship/yellow_magenta_disk_full.png
157
158 time rgbify <raw_27_x_27.txt | convert txt: ship/rgb_full.png
159
160
161 time convert ship/disk_full.png -resize "2560x1600" ship/disk_2560_x_1600.png
162 time convert ship/bwdisk_full.png -resize "2560x1600" ship/bwdisk_2560_x_1600.png
163 time convert ship/disk_full.png -resize "1600x1200" ship/disk_1600_x_1200.png
164 time convert ship/bwdisk_full.png -resize "1600x1200" ship/bwdisk_1600_x_1200.png
165 time convert ship/disk_full.png -resize "1920x1080" ship/disk_1920_x_1080.png
166 time convert ship/bwdisk_full.png -resize "1920x1080" ship/bwdisk_1920_x_1080.png
167
168 time convert -limit memory 5000000000 -limit map 5000000000 ship/disk_full.png -bordercolor white -border 28384x12544 ship/flag_full.png
169 time convert -limit memory 5000000000 -limit map 5000000000
170 ship/bwdisk_full.png -bordercolor white -border 28384x12544 ship/bwflag_full.png
171
172 time convert -limit memory 5000000000 -limit map 5000000000 ship/flag_full.png -rotate 270 ship/flag_full_rotate.png
173 time convert -limit memory 5000000000 -limit map 5000000000 ship/bwflag_full.png -rotate 270 ship/bwflag_full_rotate.png
174
175 time convert ship/disk_full.png -rotate 270 ship/disk_full_rotate.png
176 time convert ship/bwdisk_full.png -rotate 270 ship/bwdisk_full_rotate.png
177
178
179
180
181 To show it off on an 8 1/2 by 11
182 time convert cooked_6600_x_6600.png -crop 4800x6600+847+0 cooked_4800_6600.bmp
183 convert cooked_4800_6600.bmp -depth 1 cooked_4800_6600_d1.bmp
184
185
186
187 To show it off as bigger pieces:
188 time convert ship/greydisk_full.png -crop 12228x9600 +repage rprint/split%02d.png
189 convert rprint/grey07.png -background white -extent 12228x9600 rprint/grey07b.png
190 convert rprint/grey11.png -background white -extent 12228x9600 rprint/grey11b.png
191 convert rprint/grey12.png -background white -extent 12228x9600 rprint/grey12b.png
192 convert rprint/grey13.png -background white -extent 12228x9600 rprint/grey13b.png
193 convert rprint/grey14.png -background white -extent 12228x9600 rprint/grey14b.png
194
195 time convert ship/yellow_magenta_disk_full.png -crop 12228x9600 +repage rprint/ym%02d.png
196 convert rprint/ym07.png -background white -extent 12228x9600 rprint/ym07b.png
197 convert rprint/ym11.png -background white -extent 12228x9600 rprint/ym11b.png
198 convert rprint/ym12.png -background white -extent 12228x9600 rprint/ym12b.png
199 convert rprint/ym13.png -background white -extent 12228x9600 rprint/ym13b.png
200 convert rprint/ym14.png -background white -extent 12228x9600 rprint/ym14b.png
201
202 time convert ship/yellow_purple_full.png -crop 12228x9600 +repage rprint/yp%02d.png
203 convert rprint/yp07.png -background white -extent 12228x9600 rprint/yp07b.png
204 convert rprint/yp11.png -background white -extent 12228x9600 rprint/yp11b.png
205 convert rprint/yp12.png -background white -extent 12228x9600 rprint/yp12b.png
206 convert rprint/yp13.png -background white -extent 12228x9600 rprint/yp13b.png
207 convert rprint/yp14.png -background white -extent 12228x9600 rprint/yp14b.png
208
209
210
211
212
213 NEW: make every_other to reduce the size to 50% without loosing quality
214
215 Miniature edition
216 We will make multiple disks at different places.
217
218 time encirculate 19136 19136 9568 <raw_27_x_27.txt | convert txt: ship/mini_01_disk.png
219 time encirculate 19136 19136 25385 <raw_27_x_27.txt | convert txt: ship/mini_02_disk.png
220 time encirculate 19136 19136 10458 <raw_27_x_27.txt | convert txt: ship/mini_03_disk.png
221
222 time encirculate 19136 19136 12482 <raw_27_x_27.txt | convert txt: ship/mini_04_disk.png
223 time encirculate 19136 19136 15771 <raw_27_x_27.txt | convert txt: ship/mini_05_disk.png
224 time encirculate 19136 19136 17542 <raw_27_x_27.txt | convert txt: ship/mini_06_disk.png
225 time encirculate 19136 19136 24626 <raw_27_x_27.txt | convert txt: ship/mini_07_disk.png
226 time encirculate 19136 19136 22855 <raw_27_x_27.txt | convert txt: ship/mini_08_disk.png
227 time encirculate 19136 19136 26144 <raw_27_x_27.txt | convert txt: ship/mini_09_disk.png
228 time encirculate 19136 19136 14253 <raw_27_x_27.txt | convert txt: ship/mini_10_disk.png
229 time encirculate 19136 19136 12988 <raw_27_x_27.txt | convert txt: ship/mini_11_disk.png
230 time encirculate 19136 19136 21337 <raw_27_x_27.txt | convert txt: ship/mini_12_disk.png
231 time encirculate 19136 19136 11470 <raw_27_x_27.txt | convert txt: ship/mini_13_disk.png
232 time encirculate 19136 19136 19819 <raw_27_x_27.txt | convert txt: ship/mini_14_disk.png
233 time encirculate 19136 19136 28674 <raw_27_x_27.txt | convert txt: ship/mini_15_disk.png
234 time encirculate 19136 19136 13241 <raw_27_x_27.txt | convert txt: ship/mini_16_disk.png
235 time encirculate 19136 19136 27915 <raw_27_x_27.txt | convert txt: ship/mini_17_disk.png
236 time encirculate 19136 19136 25638 <raw_27_x_27.txt | convert txt: ship/mini_18_disk.png
237 time encirculate 19136 19136 18301 <raw_27_x_27.txt | convert txt: ship/mini_19_disk.png
238 time encirculate 19136 19136 18048 <raw_27_x_27.txt | convert txt: ship/mini_20_disk.png
239 time encirculate 19136 19136 26903 <raw_27_x_27.txt | convert txt: ship/mini_21_disk.png
240 time encirculate 19136 19136 11976 <raw_27_x_27.txt | convert txt: ship/mini_22_disk.png
241 time encirculate 19136 19136 24120 <raw_27_x_27.txt | convert txt: ship/mini_23_disk.png
242 time encirculate 19136 19136 18807 <raw_27_x_27.txt | convert txt: ship/mini_24_disk.png
243 time encirculate 19136 19136 23361 <raw_27_x_27.txt | convert txt: ship/mini_25_disk.png
244 time encirculate 19136 19136 16024 <raw_27_x_27.txt | convert txt: ship/mini_26_disk.png
245 time encirculate 19136 19136 27409 <raw_27_x_27.txt | convert txt: ship/mini_27_disk.png
246 time encirculate 19136 19136 22602 <raw_27_x_27.txt | convert txt: ship/mini_28_disk.png
247 time encirculate 19136 19136 13747 <raw_27_x_27.txt | convert txt: ship/mini_29_disk.png
248 time encirculate 19136 19136 28421 <raw_27_x_27.txt | convert txt: ship/mini_30_disk.png
249 time encirculate 19136 19136 21084 <raw_27_x_27.txt | convert txt: ship/mini_31_disk.png
250 time encirculate 19136 19136 15012 <raw_27_x_27.txt | convert txt: ship/mini_32_disk.png
251 time encirculate 19136 19136 15518 <raw_27_x_27.txt | convert txt: ship/mini_33_disk.png
252 time encirculate 19136 19136 27156 <raw_27_x_27.txt | convert txt: ship/mini_34_disk.png
253 time encirculate 19136 19136 19566 <raw_27_x_27.txt | convert txt: ship/mini_35_disk.png
254 time encirculate 19136 19136 28168 <raw_27_x_27.txt | convert txt: ship/mini_36_disk.png
255 time encirculate 19136 19136 9699 <raw_27_x_27.txt | convert txt: ship/mini_37_disk.png
256 time encirculate 19136 19136 10711 <raw_27_x_27.txt | convert txt: ship/mini_38_disk.png
257 time encirculate 19136 19136 20578 <raw_27_x_27.txt | convert txt: ship/mini_39_disk.png
258 time encirculate 19136 19136 11723 <raw_27_x_27.txt | convert txt: ship/mini_40_disk.png
259 time encirculate 19136 19136 20325 <raw_27_x_27.txt | convert txt: ship/mini_41_disk.png
260 time encirculate 19136 19136 12229 <raw_27_x_27.txt | convert txt: ship/mini_42_disk.png
261 time encirculate 19136 19136 23614 <raw_27_x_27.txt | convert txt: ship/mini_43_disk.png
262 time encirculate 19136 19136 20831 <raw_27_x_27.txt | convert txt: ship/mini_44_disk.png
263 time encirculate 19136 19136 10205 <raw_27_x_27.txt | convert txt: ship/mini_45_disk.png
264 time encirculate 19136 19136 21843 <raw_27_x_27.txt | convert txt: ship/mini_46_disk.png
265 time encirculate 19136 19136 27662 <raw_27_x_27.txt | convert txt: ship/mini_47_disk.png
266 time encirculate 19136 19136 16783 <raw_27_x_27.txt | convert txt: ship/mini_48_disk.png
267 time encirculate 19136 19136 13494 <raw_27_x_27.txt | convert txt: ship/mini_49_disk.png
268 time encirculate 19136 19136 10964 <raw_27_x_27.txt | convert txt: ship/mini_50_disk.png
269 time encirculate 19136 19136 14759 <raw_27_x_27.txt | convert txt: ship/mini_51_disk.png
270 time encirculate 19136 19136 22349 <raw_27_x_27.txt | convert txt: ship/mini_52_disk.png
271 time encirculate 19136 19136 20072 <raw_27_x_27.txt | convert txt: ship/mini_53_disk.png
272 time encirculate 19136 19136 12735 <raw_27_x_27.txt | convert txt: ship/mini_54_disk.png
273 time encirculate 19136 19136 18554 <raw_27_x_27.txt | convert txt: ship/mini_55_disk.png
274 time encirculate 19136 19136 19060 <raw_27_x_27.txt | convert txt: ship/mini_56_disk.png
275 time encirculate 19136 19136 24373 <raw_27_x_27.txt | convert txt: ship/mini_57_disk.png
276 time encirculate 19136 19136 17036 <raw_27_x_27.txt | convert txt: ship/mini_58_disk.png
277 time encirculate 19136 19136 16530 <raw_27_x_27.txt | convert txt: ship/mini_59_disk.png
278 time encirculate 19136 19136 23108 <raw_27_x_27.txt | convert txt: ship/mini_60_disk.png
279 time encirculate 19136 19136 15265 <raw_27_x_27.txt | convert txt: ship/mini_61_disk.png
280 time encirculate 19136 19136 26650 <raw_27_x_27.txt | convert txt: ship/mini_62_disk.png
281 time encirculate 19136 19136 14000 <raw_27_x_27.txt | convert txt: ship/mini_63_disk.png
282 time encirculate 19136 19136 14506 <raw_27_x_27.txt | convert txt: ship/mini_64_disk.png
283 time encirculate 19136 19136 17795 <raw_27_x_27.txt | convert txt: ship/mini_65_disk.png
284 time encirculate 19136 19136 21590 <raw_27_x_27.txt | convert txt: ship/mini_66_disk.png
285 time encirculate 19136 19136 24879 <raw_27_x_27.txt | convert txt: ship/mini_67_disk.png
286 time encirculate 19136 19136 23867 <raw_27_x_27.txt | convert txt: ship/mini_68_disk.png
287 time encirculate 19136 19136 11217 <raw_27_x_27.txt | convert txt: ship/mini_69_disk.png
288 time encirculate 19136 19136 16277 <raw_27_x_27.txt | convert txt: ship/mini_70_disk.png
289 time encirculate 19136 19136 9952 <raw_27_x_27.txt | convert txt: ship/mini_71_disk.png
290 time encirculate 19136 19136 26397 <raw_27_x_27.txt | convert txt: ship/mini_72_disk.png
291 time encirculate 19136 19136 17289 <raw_27_x_27.txt | convert txt: ship/mini_73_disk.png
292 time encirculate 19136 19136 19313 <raw_27_x_27.txt | convert txt: ship/mini_74_disk.png
293 time encirculate 19136 19136 25891 <raw_27_x_27.txt | convert txt: ship/mini_75_disk.png
294 time encirculate 19136 19136 25132 <raw_27_x_27.txt | convert txt: ship/mini_76_disk.png
295 time encirculate 19136 19136 22096 <raw_27_x_27.txt | convert txt: ship/mini_77_disk.png
296
297
298
299 export SERID=03
300
301
302
303 time convert ship/mini_$SERID""_disk.png -bordercolor white -border 14192x6272 ship/mini_$SERID""_flag.png
304
305 convert -depth 8 -size 47520x500 -background white -gravity East -fill '#bc002d'\
306 -font Purisa-Medium -pointsize 330 \
307 label:\""Love for a Shaken Japan"\"" by Chamelion. Miniature Edition $SERID""/77 Copyright 2011-2012 " \
308 ship/mini_$SERID""_label.png
309
310 convert ship/mini_$SERID""_flag.png -gravity SouthEast ship/mini_$SERID""_label.png \
311 -composite -density 1440x1440 ship/mini_$SERID""_labelled_flag.png
312
313 time convert -limit memory 5000000000 -limit map 5000000000 \
314 ship/mini_$SERID""_labelled_flag.png -rotate 270 ship/mini_$SERID""_labelled_flag_rotate.png
315
316

  ViewVC Help
Powered by ViewVC 1.1.5