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

Contents of /eyes/antique.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Mon Aug 4 11:35:23 2014 UTC (4 years, 3 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +18 -5 lines
File MIME type: text/plain
bit more
1 <480 dpi - man, I almost want to do the super big. Bit no, 44 inches will be fine.
2
3 source - 7095 x 11273
4
5 dest -
6 20800 x 33048
7
8
9 Note - I tried to do some grey scale reductions.
10 The gimp leveling might have looked better, and -contrast did ok,
11 -normalize, and -contrast-stretch sucked.
12 So In the end, I just decided to keep the values the same as scanned.
13 look in misc for examples
14
15
16
17
18 step 2. - from i, convert to smaller .png in j - not 16 bit - 8 bit
19 Step 3 - in j, draw green circles around all the important parts
20 Step 4 - make k using analuze_green_area from j
21 Step 5 - figure out the color aread isong compute_cyclone_averages - similar to eyes.c - except that there are up to 255 variations
22 sepending on the strenght of the color;
23
24
25 h - original sources NOT (too big)
26 i - sources - converted to png and made smaller - for easier green line drawing ( 1/64 are, 1/8 width)
27
28
29
30 j - png files - with a green line around the important bit, reduced to 1/8 size:
31 ls | awk '{print "convert " $1 " -resize 12.5%x12.5% ../j/" $1'} | bash
32
33 k - 16 bit alpha mask based on the image
34 kbad - ???
35 m - ??
36 other_possible_tops - other possible top pages
37 ri - rotated image at 512x512 - well this is not rotated here because of the image
38 rk - rotated alpha at 512x512
39 I think this size was designed to pick the image.
40
41
42
43
44 <add notes3.txt here >
45
46
47 so it looks good.
48
49
50
51 bash analyze_source_image.sh squared.png >source.txt
52
53
54
55
56
57 !* OK at this point we have source_frames.txt holding the information on each frame, and we are doing 177 pictures by selectively
58 blocking some outer edge ones
59 and a few inner ones.
60 Now we need to find the best match for each square.
61
62
63
64
65
66 mkdir s
67 cd s
68
69
70
71 grep '^010|004' ../source_frames.txt | \
72 awk -F '|' \
73 '{print "convert -size " $24 "x" $25 " xc:black -stroke white -fill white -draw '\''polygon " \
74 $14 "," $15 " " $16 "," $17 " " $20 "," $21 " " $18 "," $19 "'\'' a.png"}' | bash
75
76 echo "cat choices.txt | " `grep '^010|004' ../source_frames.txt | awk -F '|' '{print "bash multiproc.sh cyclone_pick a.png " $11 " " $12 " " $13 " 2000" }'` \
77 "| sort | tee first.txt | head -100 | " \
78 `grep '^010|004' ../source_frames.txt | awk -F '|' '{print "cyclone_pick a.png " $11 " " $12 " " $13 " 2000" }'`
79
80
81 Then you pick the best one.
82
83 echo "4f21201993833ee65b923958c1947a05.png" | cyclone_pick a.png 162 133 123 100000 | sort | tee second.txt | head -50 | cyclone_pick a.png 162 133 123 100000
84
85 echo `grep '^010|004' ../source_frames.txt`"|4f21201993833ee65b923958c1947a05.png-194.957031|-145.340332|3.457551" >>final_frames.txt
86
87
88 # remove a line from points.txt
89 # remove a 4f21 from choices.txt
90 rm *.png
91
92
93 /* note - to redo choices exclusion:
94 field 26 <final_frames.txt | awk '{print "grep -v " $1 " <../s/choices.txt >l;mv l choices.txt"}' | bash
95 */
96
97
98 this is the selection script - we ran 2 copies - one isn as and one in s2
99 s has the main files. s2 was the secondary. This sped up the very very very long process.
100 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
101 export A="015|010"
102 export CHOICE=NONO
103 export FINAL_CHOICE=NONO
104 grep '^'$A ../source_frames.txt | \
105 awk -F '|' \
106 '{print "convert -size " $24 "x" $25 " xc:black -stroke white -fill white -draw '\''polygon " \
107 $14 "," $15 " " $16 "," $17 " " $20 "," $21 " " $18 "," $19 "'\'' a.png"}' | bash
108
109 export RGB=`grep '^'$A ../source_frames.txt |awk -F '|' '{print $11 " " $12 " " $13 }'`
110
111 cat ../s/choices.txt |bash multiproc.sh cyclone_pick a.png $RGB 2500 | sort | tee first.txt | head -100 | bash multiproc.sh cyclone_pick a.png $RGB 2500
112
113 #Then you pick the best one.
114
115 export CHOICE=`head -1 |awk -F '_' '{print $4}'`
116 000000000000317445_290.000000_483.058593_2bad261905c437c227df92ba9c3c0888.png_-250.838379_-119.383789_2.895593.png
117
118 grep -v $CHOICE <../s/choices.txt >l
119 mv l ../s/choices.txt
120
121 rm 000*.png
122 echo $CHOICE | cyclone_pick a.png $RGB 100000 | sort | tee second.txt | head -50 | cyclone_pick a.png $RGB 100000
123
124
125
126 export FINAL_CHOICE=`awk -F '_' '{print $4 "|" $5 "|" $6 "|" $7; exit; }'`
127 000000000000399875_312.000000_550.028740_2bad261905c437c227df92ba9c3c0888.png_-259.676758_-125.611816_2.944895.png
128
129
130 export FINAL_CHOICE=`echo $FINAL_CHOICE | sed 's/.png$//g'`
131
132 echo >>../s/final_frames.txt `grep '^'$A ../source_frames.txt`\|"$FINAL_CHOICE"
133
134 # remove a line from points.txt
135 rm *.png
136
137
138
139 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^6
140 Selection script ^^^^^^
141
142
143
144 # note - this will not work because we are missing some tiles.
145 sort <final_frames.txt >final_frames_sorted.txt
146
147 cd ri
148
149
150 export MAGICK_TMPDIR=/t/tmp
151 montage -limit memory 6000000000 -limit map 6000000000 `field 26 <../final_frames_sorted.txt` -geometry 512x512+0+0 -tile 16x16 ../test.png
152
153
154
155
156 final_frames.txt has the following format:
157
158 (0-24 from tilify.c rest from picking with cyclone_pick.c )
159
160 0 1 X (or column)
161 1 2 Y (or row)
162 2 3 top left x - in real coordinates
163 3 4 top left y - in real coordinates
164 4 5 Top right x - in real coordinates
165 5 6 top right y - in real coodrindates
166 6 7 bottom left x - in real coordinates
167 7 8 bottom left y - in real coordinates
168 8 9 bottom right x - in real coordinates
169 9 10 bottom right y - in real coordinates
170 10 11 R color - 0-255
171 11 12 g color - 0-255
172 12 13 b color - 0-255
173 13 14 top left x - in local coordinates
174 14 15 top left y - in local coordinates
175 15 16 top right x - in local coordiantes
176 16 17 top right y - in local coordinates
177 17 18 bottom left x - in local coordinates
178 18 19 bottom left y - in local coordinates
179 19 20 bottom right x - in local coordinates
180 20 21 bottom right y - in local coodinates
181 21 22 x offset to place the local to global
182 22 23 y offset ...
183 23 24 width
184 24 25 height
185 25 26 filename.ext
186 26 27 shift xoffset
187 27 28 shift yoffset
188 28 29 shift scale
189
190
191
192
193 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
194 Make the squares
195 blur is 0x16 for 512
196 and 0x256 for 8192
197
198 mkdir r
199 cd r
200
201 # make the r files for input
202 awk <../final_frames_sorted.txt -F '|' \
203 '{print "convert -size " $24 "x" $25 " xc:black -stroke white -fill white -draw '\''polygon " \
204 $14 "," $15 " " $16 "," $17 " " $20 "," $21 " " $18 "," $19 "'\'' -blur 0x75 " $1 "_" $2 "_a.png" }' | bash
205 ^^^ That was before - but the blur got clipped - so we added a 75x75 border
206
207 awk <../final_frames_sorted.txt -F '|' \
208 '{print "convert -size " ($24+75+75) "x" ($25+75+75) " xc:black -stroke white -fill white -draw '\''polygon " \
209 ($14+75) "," ($15+75) " " ($16+75) "," ($17+75) " " ($20+75) "," ($21+75) " " ($18+75) "," ($19+75) "'\'' -blur 0x75 " $1 "_" $2 "_a.png" }' | bash multiproc.sh bash
210
211 cyclone_build <../final_frames_sorted.txt
212
213 # - not- had to modify cyclone_build to be cyclone_build_small - 512 instead of 8192 and other things.
214
215 cyclone_build a <../final_frames_sorted.txt |fsort 8000000000 | combinify 7095 11273 72 >c.txt
216
217
218
219
220
221
222 Make depth
223 cd depth_work
224 analyze_source_image.sh depth3.png | clean_up_alpha 7095 11273 141 | convert txt: depth4.png
225
226 Guassian blur of 209
227
228
229 Now generate tons of points for this. The color will be blue. 471nm
230 $e/analyze_source_image.sh depth5.png >depth5.txt
231
232 perl $e/build_antique_eye_source.pl <depth5.txt | randomize 4000000000 |\
233 head -5000000 >points.txt
234
235
236
237 ------------------------------
238
239 Make the big sizes
240
241
242
243 We will be rotating to the right 40 degrees every fricking picture, and their blob.
244 Have to square it out as well. Scale it up? - can't scale it up too much because we need
245 the eyes program to handle everything in memory.
246 I know - we will rotate right and make all images 8192x8192 - that should be plenty good for color
247 determination. Then in the final production we will rotate bigger
248
249 To do this - need some variant of
250 compute_all_averages.sh - makes analysis.txt
251 run on the i folder.
252
253 OK to rotate i - need to use analysis in order to make the background the same as the average
254 so it looks good.
255
256
257 cd big
258 mkdir ri
259 mkdir rk
260
261
262 # make full size images
263
264 field 26 26 11 12 13 <../final_frames_sorted.txt | awk -F \| '
265 {
266 print "convert ../h/" $2 " -background \#" $3 $4 $5 " -resize 8192x8192 -extent 8192x8192 ri/" $1 ;
267 }
268 '
269 # OOPS - I initially did this as ../i - and it should be ../k
270 # ../i is 1/8 quality. I am going to redo the background.
271
272 field 26 26 11 12 13 <../final_frames_sorted.txt | awk -F \| '
273 {
274 print "convert ../h/" $2 " -background \#" $3 $4 $5 " -resize 16384x16384 -extent 16384x16384 ri/" $1 ;
275 }
276 '
277
278 #make full size masks - but cheat in the resolution a bit.
279
280 field 26 26 11 12 13 <../final_frames_sorted.txt | awk -F \| '
281 {
282 print "convert ../k/" $2 " -background \#000000 -resize 8192x8192 -extent 8192x8192 rk/" $1 ;
283 }
284 '
285
286 field 26 26 11 12 13 <../final_frames_sorted.txt | awk -F \| '
287 {
288 print "convert ../k/" $2 " -background \#000000 -resize 16384x16384 -extent 16384x16384 rk/" $1 ;
289 }
290 '
291
292 cd big
293 perl convert_final_frames.pl <../final_frames_sorted.txt > final_frames_sorted.txt
294
295
296 mkdir r
297 cd r
298
299
300
301 # make the r files for input
302 awk <../final_frames_sorted.txt -F '|' \
303 '{print "convert -size " ($24+150+150) "x" ($25+150+150) " xc:black -stroke white -fill white -draw '\''polygon " \
304 ($14+150) "," ($15+150) " " ($16+150) "," ($17+150) " " ($20+150) "," ($21+150) " " ($18+150) "," ($19+150) "'\'' -blur 0x75 " $1 "_" $2 "_a.png" }' | bash
305
306 time cyclone_build_big <../final_frames_sorted.txt a | fsort 4000000000 | combinify 20800 33048 72 >c.txt
307 time convert c.txt c.png
308 time analyze_source_image.sh c.png >../pixel_final.txt
309
310 ???????
311
312
313
314
315 31200 41600
316 ---------------------------------------
317 Hologram
318
319 cd big
320 mkdir holo
321 cd holo
322 perl holo.pl >eye_source.txt
323 mkdir u
324
325 Lets just pick ~3000 random points in a 4x6x4 area.
326
327 perl $e/cyclone_blocks.pl >m1
328 flip_flop <m1 >o1 2>o2 3>o3 4>o4 5>o5 5
329 time bash o1 &
330 time bash o2 &
331 time bash o3 &
332 time bash o4 &
333 time bash o5 &
334 wait
335
336 find_grey_range real u/*_018.fp >tfull.grey
337
338
339 ls u/*.fp | awk '{print "fp_to_txt real 720 720 tfull.grey " $1 " | convert txt: " $1 ".png"}' >n
340 flip_flop <n >o1 2>o2 3>o3 4>o4 5>o5 6>o6 5
341 time bash o1 &
342 time bash o2 &
343 time bash o3 &
344 time bash o4 &
345 time bash o5 &
346 wait
347
348
349 mkdir v
350
351 time montage -limit memory 1000000000 -limit map 1000000000 u/es_000_*.png -geometry 720x720+0+0 -tile 44x1 v/es_000.png
352 time montage -limit memory 1000000000 -limit map 1000000000 u/es_001_*.png -geometry 720x720+0+0 -tile 44x1 v/es_001.png
353 time montage -limit memory 1000000000 -limit map 1000000000 u/es_002_*.png -geometry 720x720+0+0 -tile 44x1 v/es_002.png
354 time montage -limit memory 1000000000 -limit map 1000000000 u/es_003_*.png -geometry 720x720+0+0 -tile 44x1 v/es_003.png
355 time montage -limit memory 1000000000 -limit map 1000000000 u/es_004_*.png -geometry 720x720+0+0 -tile 44x1 v/es_004.png
356 time montage -limit memory 1000000000 -limit map 1000000000 u/es_005_*.png -geometry 720x720+0+0 -tile 44x1 v/es_005.png
357 time montage -limit memory 1000000000 -limit map 1000000000 u/es_006_*.png -geometry 720x720+0+0 -tile 44x1 v/es_006.png
358 time montage -limit memory 1000000000 -limit map 1000000000 u/es_007_*.png -geometry 720x720+0+0 -tile 44x1 v/es_007.png
359 time montage -limit memory 1000000000 -limit map 1000000000 u/es_008_*.png -geometry 720x720+0+0 -tile 44x1 v/es_008.png
360 time montage -limit memory 1000000000 -limit map 1000000000 u/es_009_*.png -geometry 720x720+0+0 -tile 44x1 v/es_009.png
361
362
363 time montage -limit memory 1000000000 -limit map 1000000000 u/es_010_*.png -geometry 720x720+0+0 -tile 44x1 v/es_010.png
364 time montage -limit memory 1000000000 -limit map 1000000000 u/es_011_*.png -geometry 720x720+0+0 -tile 44x1 v/es_011.png
365 time montage -limit memory 1000000000 -limit map 1000000000 u/es_012_*.png -geometry 720x720+0+0 -tile 44x1 v/es_012.png
366 time montage -limit memory 1000000000 -limit map 1000000000 u/es_013_*.png -geometry 720x720+0+0 -tile 44x1 v/es_013.png
367 time montage -limit memory 1000000000 -limit map 1000000000 u/es_014_*.png -geometry 720x720+0+0 -tile 44x1 v/es_014.png
368 time montage -limit memory 1000000000 -limit map 1000000000 u/es_015_*.png -geometry 720x720+0+0 -tile 44x1 v/es_015.png
369 time montage -limit memory 1000000000 -limit map 1000000000 u/es_016_*.png -geometry 720x720+0+0 -tile 44x1 v/es_016.png
370 time montage -limit memory 1000000000 -limit map 1000000000 u/es_017_*.png -geometry 720x720+0+0 -tile 44x1 v/es_017.png
371 time montage -limit memory 1000000000 -limit map 1000000000 u/es_018_*.png -geometry 720x720+0+0 -tile 44x1 v/es_018.png
372 time montage -limit memory 1000000000 -limit map 1000000000 u/es_019_*.png -geometry 720x720+0+0 -tile 44x1 v/es_019.png
373
374 time montage -limit memory 1000000000 -limit map 1000000000 u/es_020_*.png -geometry 720x720+0+0 -tile 44x1 v/es_020.png
375 time montage -limit memory 1000000000 -limit map 1000000000 u/es_021_*.png -geometry 720x720+0+0 -tile 44x1 v/es_021.png
376 time montage -limit memory 1000000000 -limit map 1000000000 u/es_022_*.png -geometry 720x720+0+0 -tile 44x1 v/es_022.png
377 time montage -limit memory 1000000000 -limit map 1000000000 u/es_023_*.png -geometry 720x720+0+0 -tile 44x1 v/es_023.png
378 time montage -limit memory 1000000000 -limit map 1000000000 u/es_024_*.png -geometry 720x720+0+0 -tile 44x1 v/es_024.png
379 time montage -limit memory 1000000000 -limit map 1000000000 u/es_025_*.png -geometry 720x720+0+0 -tile 44x1 v/es_025.png
380 time montage -limit memory 1000000000 -limit map 1000000000 u/es_026_*.png -geometry 720x720+0+0 -tile 44x1 v/es_026.png
381 time montage -limit memory 1000000000 -limit map 1000000000 u/es_027_*.png -geometry 720x720+0+0 -tile 44x1 v/es_027.png
382 time montage -limit memory 1000000000 -limit map 1000000000 u/es_028_*.png -geometry 720x720+0+0 -tile 44x1 v/es_028.png
383 time montage -limit memory 1000000000 -limit map 1000000000 u/es_029_*.png -geometry 720x720+0+0 -tile 44x1 v/es_029.png
384 time montage -limit memory 1000000000 -limit map 1000000000 u/es_030_*.png -geometry 720x720+0+0 -tile 44x1 v/es_030.png
385 time montage -limit memory 1000000000 -limit map 1000000000 u/es_031_*.png -geometry 720x720+0+0 -tile 44x1 v/es_031.png
386 time montage -limit memory 1000000000 -limit map 1000000000 u/es_032_*.png -geometry 720x720+0+0 -tile 44x1 v/es_032.png
387 time montage -limit memory 1000000000 -limit map 1000000000 u/es_033_*.png -geometry 720x720+0+0 -tile 44x1 v/es_033.png
388 time montage -limit memory 1000000000 -limit map 1000000000 u/es_034_*.png -geometry 720x720+0+0 -tile 44x1 v/es_034.png
389 time montage -limit memory 1000000000 -limit map 1000000000 u/es_035_*.png -geometry 720x720+0+0 -tile 44x1 v/es_035.png
390 time montage -limit memory 1000000000 -limit map 1000000000 u/es_036_*.png -geometry 720x720+0+0 -tile 44x1 v/es_036.png
391 time montage -limit memory 1000000000 -limit map 1000000000 u/es_037_*.png -geometry 720x720+0+0 -tile 44x1 v/es_037.png
392 time montage -limit memory 1000000000 -limit map 1000000000 u/es_038_*.png -geometry 720x720+0+0 -tile 44x1 v/es_038.png
393 time montage -limit memory 1000000000 -limit map 1000000000 u/es_039_*.png -geometry 720x720+0+0 -tile 44x1 v/es_039.png
394 time montage -limit memory 1000000000 -limit map 1000000000 u/es_040_*.png -geometry 720x720+0+0 -tile 44x1 v/es_040.png
395 time montage -limit memory 1000000000 -limit map 1000000000 u/es_041_*.png -geometry 720x720+0+0 -tile 44x1 v/es_041.png
396 time montage -limit memory 1000000000 -limit map 1000000000 u/es_042_*.png -geometry 720x720+0+0 -tile 44x1 v/es_042.png
397 time montage -limit memory 1000000000 -limit map 1000000000 u/es_043_*.png -geometry 720x720+0+0 -tile 44x1 v/es_043.png
398 time montage -limit memory 1000000000 -limit map 1000000000 u/es_044_*.png -geometry 720x720+0+0 -tile 44x1 v/es_044.png
399 time montage -limit memory 1000000000 -limit map 1000000000 u/es_045_*.png -geometry 720x720+0+0 -tile 44x1 v/es_045.png
400 time montage -limit memory 1000000000 -limit map 1000000000 u/es_046_*.png -geometry 720x720+0+0 -tile 44x1 v/es_046.png
401 time montage -limit memory 1000000000 -limit map 1000000000 u/es_047_*.png -geometry 720x720+0+0 -tile 44x1 v/es_047.png
402 time montage -limit memory 1000000000 -limit map 1000000000 u/es_048_*.png -geometry 720x720+0+0 -tile 44x1 v/es_048.png
403 time montage -limit memory 1000000000 -limit map 1000000000 u/es_049_*.png -geometry 720x720+0+0 -tile 44x1 v/es_049.png
404 time montage -limit memory 1000000000 -limit map 1000000000 u/es_050_*.png -geometry 720x720+0+0 -tile 44x1 v/es_050.png
405 time montage -limit memory 1000000000 -limit map 1000000000 u/es_051_*.png -geometry 720x720+0+0 -tile 44x1 v/es_051.png
406 time montage -limit memory 1000000000 -limit map 1000000000 u/es_052_*.png -geometry 720x720+0+0 -tile 44x1 v/es_052.png
407 time montage -limit memory 1000000000 -limit map 1000000000 u/es_053_*.png -geometry 720x720+0+0 -tile 44x1 v/es_053.png
408 time montage -limit memory 1000000000 -limit map 1000000000 u/es_054_*.png -geometry 720x720+0+0 -tile 44x1 v/es_054.png
409 time montage -limit memory 1000000000 -limit map 1000000000 u/es_055_*.png -geometry 720x720+0+0 -tile 44x1 v/es_055.png
410
411 time montage -limit memory 1000000000 -limit map 1000000000 u/es_056_*.png -geometry 720x720+0+0 -tile 44x1 v/es_056.png
412 time montage -limit memory 1000000000 -limit map 1000000000 u/es_057_*.png -geometry 720x720+0+0 -tile 44x1 v/es_057.png
413
414
415
416 convert v/es_000.png -crop 31200x720+0+0 t.png;mv t.png v/es_000.png
417 convert v/es_001.png -crop 31200x720+0+0 t.png;mv t.png v/es_001.png
418 convert v/es_002.png -crop 31200x720+0+0 t.png;mv t.png v/es_002.png
419 convert v/es_003.png -crop 31200x720+0+0 t.png;mv t.png v/es_003.png
420 convert v/es_004.png -crop 31200x720+0+0 t.png;mv t.png v/es_004.png
421 convert v/es_005.png -crop 31200x720+0+0 t.png;mv t.png v/es_005.png
422 convert v/es_006.png -crop 31200x720+0+0 t.png;mv t.png v/es_006.png
423 convert v/es_007.png -crop 31200x720+0+0 t.png;mv t.png v/es_007.png
424 convert v/es_008.png -crop 31200x720+0+0 t.png;mv t.png v/es_008.png
425 convert v/es_009.png -crop 31200x720+0+0 t.png;mv t.png v/es_009.png
426 convert v/es_010.png -crop 31200x720+0+0 t.png;mv t.png v/es_010.png
427 convert v/es_011.png -crop 31200x720+0+0 t.png;mv t.png v/es_011.png
428 convert v/es_012.png -crop 31200x720+0+0 t.png;mv t.png v/es_012.png
429 convert v/es_013.png -crop 31200x720+0+0 t.png;mv t.png v/es_013.png
430 convert v/es_014.png -crop 31200x720+0+0 t.png;mv t.png v/es_014.png
431 convert v/es_015.png -crop 31200x720+0+0 t.png;mv t.png v/es_015.png
432 convert v/es_016.png -crop 31200x720+0+0 t.png;mv t.png v/es_016.png
433 convert v/es_017.png -crop 31200x720+0+0 t.png;mv t.png v/es_017.png
434 convert v/es_018.png -crop 31200x720+0+0 t.png;mv t.png v/es_018.png
435 convert v/es_019.png -crop 31200x720+0+0 t.png;mv t.png v/es_019.png
436 convert v/es_020.png -crop 31200x720+0+0 t.png;mv t.png v/es_020.png
437 convert v/es_021.png -crop 31200x720+0+0 t.png;mv t.png v/es_021.png
438 convert v/es_022.png -crop 31200x720+0+0 t.png;mv t.png v/es_022.png
439 convert v/es_023.png -crop 31200x720+0+0 t.png;mv t.png v/es_023.png
440 convert v/es_024.png -crop 31200x720+0+0 t.png;mv t.png v/es_024.png
441 convert v/es_025.png -crop 31200x720+0+0 t.png;mv t.png v/es_025.png
442 convert v/es_026.png -crop 31200x720+0+0 t.png;mv t.png v/es_026.png
443 convert v/es_027.png -crop 31200x720+0+0 t.png;mv t.png v/es_027.png
444 convert v/es_028.png -crop 31200x720+0+0 t.png;mv t.png v/es_028.png
445 convert v/es_029.png -crop 31200x720+0+0 t.png;mv t.png v/es_029.png
446 convert v/es_030.png -crop 31200x720+0+0 t.png;mv t.png v/es_030.png
447 convert v/es_031.png -crop 31200x720+0+0 t.png;mv t.png v/es_031.png
448 convert v/es_032.png -crop 31200x720+0+0 t.png;mv t.png v/es_032.png
449 convert v/es_033.png -crop 31200x720+0+0 t.png;mv t.png v/es_033.png
450 convert v/es_034.png -crop 31200x720+0+0 t.png;mv t.png v/es_034.png
451 convert v/es_035.png -crop 31200x720+0+0 t.png;mv t.png v/es_035.png
452 convert v/es_036.png -crop 31200x720+0+0 t.png;mv t.png v/es_036.png
453 convert v/es_037.png -crop 31200x720+0+0 t.png;mv t.png v/es_037.png
454 convert v/es_038.png -crop 31200x720+0+0 t.png;mv t.png v/es_038.png
455 convert v/es_039.png -crop 31200x720+0+0 t.png;mv t.png v/es_039.png
456 convert v/es_040.png -crop 31200x720+0+0 t.png;mv t.png v/es_040.png
457 convert v/es_041.png -crop 31200x720+0+0 t.png;mv t.png v/es_041.png
458 convert v/es_042.png -crop 31200x720+0+0 t.png;mv t.png v/es_042.png
459 convert v/es_043.png -crop 31200x720+0+0 t.png;mv t.png v/es_043.png
460 convert v/es_044.png -crop 31200x720+0+0 t.png;mv t.png v/es_044.png
461 convert v/es_045.png -crop 31200x720+0+0 t.png;mv t.png v/es_045.png
462 convert v/es_046.png -crop 31200x720+0+0 t.png;mv t.png v/es_046.png
463 convert v/es_047.png -crop 31200x720+0+0 t.png;mv t.png v/es_047.png
464 convert v/es_048.png -crop 31200x720+0+0 t.png;mv t.png v/es_048.png
465 convert v/es_049.png -crop 31200x720+0+0 t.png;mv t.png v/es_049.png
466 convert v/es_050.png -crop 31200x720+0+0 t.png;mv t.png v/es_050.png
467 convert v/es_051.png -crop 31200x720+0+0 t.png;mv t.png v/es_051.png
468 convert v/es_052.png -crop 31200x720+0+0 t.png;mv t.png v/es_052.png
469 convert v/es_053.png -crop 31200x720+0+0 t.png;mv t.png v/es_053.png
470 convert v/es_054.png -crop 31200x720+0+0 t.png;mv t.png v/es_054.png
471 convert v/es_055.png -crop 31200x720+0+0 t.png;mv t.png v/es_055.png
472 convert v/es_056.png -crop 31200x720+0+0 t.png;mv t.png v/es_056.png
473 convert v/es_057.png -crop 31200x560+0+0 t.png;mv t.png v/es_057.png
474
475
476 time convert -limit memory 1000000000 -limit map 1000000000 -append v/es_*.png hologram_final.png
477
478 time convert -limit memory 1000000000 -limit map 1000000000 hologram_final.png ../hologram_final.txt
479
480
481 --------------------------------------
482
483
484
485
486
487
488
489
490 cd big
491 convert ../start.jpg -resize 8800x6600 -rotate 90 work_base.png
492
493 - clean up face on work_base.png
494
495 make alpha.png and convert the pic
496
497
498 analyze_source_image.sh alpha.png | clean_up_alpha 6600 8800 4333 | convert txt: alpha2.png
499
500 alpha2.png -> alpha3.png guassian blur 31 pixels wide RLE
501
502
503 cd big
504 time analyze_source_image.sh ../source/04_source_480_size.png >base_final.txt
505
506 Alpha:
507 time convert -limit memory 2000000000 -limit map 2000000000 ../alpha_work/alpha5.png -resize 20800x33048! alpha_final.png
508 time analyze_source_image.sh alpha_final.png >alpha_final.txt
509 time analyze_fast_image.sh alpha_final.bmp >alpha_final.txt
510
511 time randomify 20800 33048 439 pixel_final.txt base_final.txt alpha_final.txt hologram_final.txt | convert txt: final.png
512
513 It came out beautiful.
514
515
516
517
518
519 alpha:
520 tint green so we can fix the gaps
521 convert alpha1.png -fill green -tint 100 alpha2.png
522 # use gimp to make alpha as alpha3.png
523 convert alpha3.png alpha3.bmp
524 analyze_fast_image.sh alpha3.bmp >alpha3.txt
525 clean_up_alpha <alpha3.txt 7095 11273 42 | convert txt: alpha4.png
526 rm alpha3.txt
527 # use gimp to guassian blur alpha from alpha4 to alpha5
528 # of 20
529 analyze_source_image.sh alpha5.png >alpha5.txt
530
531
532 test small
533
534 cd rsmall2
535 analyze_source_image.sh small2.png >small2.txt
536 analyze_source_image.sh ../source/02_source_cleaned.png >base.txt
537 randomify 7095 11273 119 small2.txt base.txt ../alpha_work/alpha5.txt | convert txt: small_example.png
538
539
540 -----------------------------------------------------
541 build the u.png - backdrop
542 cd okantique/u
543 ls *.fp | awk '{print "fp_to_txt real 832 918 real.grey " $1 " | convert txt: " $1 ".png"}' | bash multiproc.sh bash
544
545 convert s_*_000.fp.png +append t_000.png
546 convert s_*_001.fp.png +append t_001.png
547 convert s_*_002.fp.png +append t_002.png
548 convert s_*_003.fp.png +append t_003.png
549 convert s_*_004.fp.png +append t_004.png
550 convert s_*_005.fp.png +append t_005.png
551 convert s_*_006.fp.png +append t_006.png
552 convert s_*_007.fp.png +append t_007.png
553 convert s_*_008.fp.png +append t_008.png
554 convert s_*_009.fp.png +append t_009.png
555 convert s_*_010.fp.png +append t_010.png
556 convert s_*_011.fp.png +append t_011.png
557 convert s_*_012.fp.png +append t_012.png
558 convert s_*_013.fp.png +append t_013.png
559 convert s_*_014.fp.png +append t_014.png
560 convert s_*_015.fp.png +append t_015.png
561 convert s_*_016.fp.png +append t_016.png
562 convert s_*_017.fp.png +append t_017.png
563 convert s_*_018.fp.png +append t_018.png
564 convert s_*_019.fp.png +append t_019.png
565 convert s_*_020.fp.png +append t_020.png
566 convert s_*_021.fp.png +append t_021.png
567 convert s_*_022.fp.png +append t_022.png
568 convert s_*_023.fp.png +append t_023.png
569 convert s_*_024.fp.png +append t_024.png
570 convert s_*_025.fp.png +append t_025.png
571 convert s_*_026.fp.png +append t_026.png
572 convert s_*_027.fp.png +append t_027.png
573 convert s_*_028.fp.png +append t_028.png
574 convert s_*_029.fp.png +append t_029.png
575 convert s_*_030.fp.png +append t_030.png
576 convert s_*_031.fp.png +append t_031.png
577 convert s_*_032.fp.png +append t_032.png
578 convert s_*_033.fp.png +append t_033.png
579 convert s_*_034.fp.png +append t_034.png
580 convert s_*_035.fp.png +append t_035.png
581 time convert -limit memory 24000000000 -limit map 24000000000 t_*.png -append u.png
582
583
584 #
585 slight crop
586 convert final.png -crop 20685x32910+115+138 +repage final_cropped.png
587 convert final_cropped.png -background white -extent 20800x32910 final3_polished.png
588

  ViewVC Help
Powered by ViewVC 1.1.5