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

Contents of /eyes/als.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Wed Apr 9 03:45:43 2014 UTC (4 years, 6 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
als is complete
1 from qi
2
3
4 2048x1529 rotate 90
5
6
7 20800x??? - 3 inches on the side both sides for nova effect
8 24016 x 17920
9
10 convert source.png -resize 24016x17920 source_full_size.png
11
12
13 time convert source.png -colorspace RGB +sigmoidal-contrast 6.5,50% \
14 -filter Lanczos -distort resize 24016x17920! \
15 -sigmoidal-contrast 6.5,50% -colorspace sRGB source1_resized.png
16
17 convert source.png -adaptive-resize 24016x17920! source_full_asize.png
18
19 # need to turn SCALE on and set it to 20880x27840 for both tilify and tilify_cyclone
20 # or, we need to read the full source, somtehing that will take a day or so, 100 times the amount of time
21 {
22 rm -f 2>/dev/null /tmp/oo1
23 rm -f 2>/dev/null /tmp/oo2
24 mknod /tmp/oo1 p
25 mknod /tmp/oo2 p
26 bash analyze_source_image.sh source/source.png | tee /tmp/oo1 | tee /tmp/oo2 >02_source_cleaned.txt &
27 tilify_cyclone 2048 1529 30 4 /tmp/oo1 >tiles.txt &
28 time tilify 2048 1529 30 4 /tmp/oo2 | tee tilified.txt | convert txt: tilified.png &
29 wait
30 }
31
32 step 1 convert to i
33
34 step 2. - from i, convert to smaller .png in j - not 16 bit - 8 bit
35 Step 3 - in j, draw green circles around all the important parts
36 Step 4 - make k using analuze_green_area from j
37 Step 5 - figure out the color aread isong compute_cyclone_averages - similar to eyes.c - except that there are up to 255 variations
38 sepending on the strenght of the color;
39
40
41 h - original sources NOT (too big)
42 i - sources - converted to png and made smaller - for easier green line drawing ( 1/64 are, 1/8 width)
43
44
45
46 j - png files - with a green line around the important bit
47 ls | awk '{print "convert " $1 " ../j/" $1'} | bash
48
49 k - 16 bit alpha mask based on the image
50 ri - rotated image at 512x512 - well this is not rotated here because of the image
51 rk - rotated alpha at 512x512
52 I think this size was designed to pick the image.
53
54
55
56
57
58
59 # resize is for big images like antique, not good here
60 cd h
61 mkdir ../i
62 ls *.png | awk '{print "convert " $1 " -resize 12.5%x12.5% ../i/" $1}'
63
64
65 cd j
66 mkdir ../k
67 ls | awk '{print "analyze_green_area " $1 " ../k/" $1}' | bash
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92 field 1 2 11 12 13 <tiles.txt | awk -F \| '
93 BEGIN {
94 print "# ImageMagick pixel enumeration: 16,16,255,rgb";
95 }
96 {
97 print $1 "," $2 ": (" $3 "," $4 "," $5 ")";
98 }
99 ' | convert txt: squared.png
100
101 The above is used to figure out the order of point placement.
102
103
104
105
106 Start at
107 9,11
108
109 OK - modify points.c as per above:
110
111
112 points | sort >points.txt
113
114
115
116 bash analyze_source_image.sh squared.png >source.txt
117
118
119
120
121 cp tiles.txt source_frames.txt
122
123 bash analyze_source_image.sh squared.png >source.txt
124
125
126
127 cd k
128 ls >../choices.txt
129 cd ..
130 cp choices.txt original_choices.txt
131
132
133 # rotate some images the right way - in i and j and k
134 # shpould have done this earlier
135 #n/a
136
137 Find analysis of pictures
138 cd i
139 compute_all_averages.sh >../analysis.txt
140
141 !!!!!!edit analysis.txt - change ./ to nothing
142
143 note - this was done in h for antique, as the size in i was smaller, but the filenames are different fro qi and i has () so
144
145
146
147
148
149
150
151 # now make the ri stuff
152 mkdir ri
153 cd ri
154 field 1 1 4 5 6 <../analysis.txt | awk -F \| '
155 {
156 print "convert ../i/" $2 " -background \#" $3 $4 $5 " -resize 512x512 -extent 512x512 ../ri/" $1 ;
157 }
158 ' | bash multiproc.sh bash
159 cd ..
160
161
162 # now make the rk stuff
163 mkdir rk
164 cd rk
165 field 1 1 4 5 6 <../analysis.txt | awk -F \| '
166 {
167 print "convert ../k/" $2 " -background \#000000 -resize 512x512 -extent 512x512 ../rk/" $1 ;
168 }
169 ' | bash multiproc.sh bash
170 cd ..
171
172
173
174
175
176 !* OK at this point we have source_frames.txt holding the information on each frame, and we are doing 256
177 Now we need to find the best match for each square.
178
179
180 awk -F '|' <points.txt '{printf ("bash $e/analyze_looking_for_best_frame.sh %3.3d %3.3d %3.3d 20\n",$1,$2,$3)}' > work_all.txt
181 cp work_all.txt work_todo.txt
182
183
184
185
186
187 Original source 1920x2560
188
189 20880x27840 - 480 dpi
190 convert 0630131502a.png -resize 20880x27840 01_source_480_size.png
191
192
193 # need to turn SCALE on and set it to 20880x27840 for both tilify and tilify_cyclone
194 # or, we need to read the full source, somtehing that will take a day or so, 100 times the amount of time
195 {
196 rm -f 2>/dev/null /tmp/oo1
197 rm -f 2>/dev/null /tmp/oo2
198 mknod /tmp/oo1 p
199 mknod /tmp/oo2 p
200 bash analyze_source_image.sh source/0630131502a.png | tee /tmp/oo1 | tee /tmp/oo2 >02_source_cleaned.txt &
201 tilify_cyclone 1920 2560 30 4 /tmp/oo1 >tiles.txt &
202 time tilify 1920 2560 30 4 /tmp/oo2 | tee tilified.txt | convert txt: tilified.png &
203 wait
204 }
205
206 #note we made tilified_small.png before setting scale at the original source image
207
208
209
210
211
212
213
214 so it looks good.
215
216
217
218 bash analyze_source_image.sh squared.png >source.txt
219
220
221
222
223
224 !* OK at this point we have source_frames.txt holding the information on each frame, and we are doing 177 pictures by selectively
225 blocking some outer edge ones
226 and a few inner ones.
227 Now we need to find the best match for each square.
228
229
230
231
232
233 mkdir s
234 cd s
235
236
237
238 grep '^010|004' ../source_frames.txt | \
239 awk -F '|' \
240 '{print "convert -size " $24 "x" $25 " xc:black -stroke white -fill white -draw '\''polygon " \
241 $14 "," $15 " " $16 "," $17 " " $20 "," $21 " " $18 "," $19 "'\'' a.png"}' | bash
242
243 echo "cat choices.txt | " `grep '^010|004' ../source_frames.txt | awk -F '|' '{print "bash multiproc.sh cyclone_pick a.png " $11 " " $12 " " $13 " 2000" }'` \
244 "| sort | tee first.txt | head -100 | " \
245 `grep '^010|004' ../source_frames.txt | awk -F '|' '{print "cyclone_pick a.png " $11 " " $12 " " $13 " 2000" }'`
246
247
248 Then you pick the best one.
249
250 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
251
252 echo `grep '^010|004' ../source_frames.txt`"|4f21201993833ee65b923958c1947a05.png-194.957031|-145.340332|3.457551" >>final_frames.txt
253
254
255 # remove a line from points.txt
256 # remove a 4f21 from choices.txt
257 rm *.png
258
259
260 /* note - to redo choices exclusion:
261 field 26 <final_frames.txt | awk '{print "grep -v " $1 " <../s/choices.txt >l;mv l choices.txt"}' | bash
262 */
263
264
265 this is the selection script - we ran 2 copies - one isn as and one in s2
266 s has the main files. s2 was the secondary. This sped up the very very very long process.
267 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
268 export A="015|010"
269 export CHOICE=NONO
270 export FINAL_CHOICE=NONO
271 grep '^'$A ../source_frames.txt | \
272 awk -F '|' \
273 '{print "convert -size " $24 "x" $25 " xc:black -stroke white -fill white -draw '\''polygon " \
274 $14 "," $15 " " $16 "," $17 " " $20 "," $21 " " $18 "," $19 "'\'' a.png"}' | bash
275
276 export RGB=`grep '^'$A ../source_frames.txt |awk -F '|' '{print $11 " " $12 " " $13 }'`
277
278 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
279
280 #Then you pick the best one.
281
282 export CHOICE=`head -1 |awk -F '_' '{print $4}'`
283 000000000000317445_290.000000_483.058593_2bad261905c437c227df92ba9c3c0888.png_-250.838379_-119.383789_2.895593.png
284
285 grep -v $CHOICE <../s/choices.txt >l
286 mv l ../s/choices.txt
287
288 rm 000*.png
289 echo $CHOICE | cyclone_pick a.png $RGB 100000 | sort | tee second.txt | head -50 | cyclone_pick a.png $RGB 100000
290
291
292
293 export FINAL_CHOICE=`awk -F '_' '{print $4 "|" $5 "|" $6 "|" $7; exit; }'`
294 000000000000399875_312.000000_550.028740_2bad261905c437c227df92ba9c3c0888.png_-259.676758_-125.611816_2.944895.png
295
296
297 export FINAL_CHOICE=`echo $FINAL_CHOICE | sed 's/.png$//g'`
298
299 echo >>../s/final_frames.txt `grep '^'$A ../source_frames.txt`\|"$FINAL_CHOICE"
300
301 # remove a line from points.txt
302 rm *.png
303
304
305
306 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^6
307 Selection script ^^^^^^
308
309
310
311 # note - this will not work because we are missing some tiles.
312 sort <final_frames.txt >final_frames_sorted.txt
313
314 cd ri
315
316 export MAGICK_TMPDIR=/t/tmp
317 montage -limit memory 6000000000 -limit map 6000000000 `field 26 <../final_frames_sorted.txt` -geometry 512x512+0+0 -tile 16x16 ../test.png
318
319
320
321
322 final_frames.txt has the following format:
323
324 (0-24 from tilify.c rest from picking with cyclone_pick.c )
325
326 0 1 X (or column)
327 1 2 Y (or row)
328 2 3 top left x - in real coordinates
329 3 4 top left y - in real coordinates
330 4 5 Top right x - in real coordinates
331 5 6 top right y - in real coodrindates
332 6 7 bottom left x - in real coordinates
333 7 8 bottom left y - in real coordinates
334 8 9 bottom right x - in real coordinates
335 9 10 bottom right y - in real coordinates
336 10 11 R color - 0-255
337 11 12 g color - 0-255
338 12 13 b color - 0-255
339 13 14 top left x - in local coordinates
340 14 15 top left y - in local coordinates
341 15 16 top right x - in local coordiantes
342 16 17 top right y - in local coordinates
343 17 18 bottom left x - in local coordinates
344 18 19 bottom left y - in local coordinates
345 19 20 bottom right x - in local coordinates
346 20 21 bottom right y - in local coodinates
347 21 22 x offset to place the local to global
348 22 23 y offset ...
349 23 24 width
350 24 25 height
351 25 26 filename.ext
352 26 27 shift xoffset
353 27 28 shift yoffset
354 28 29 shift scale
355
356
357
358
359 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
360 Make the squares
361 blur is 0x16 for 512
362 and 0x256 for 8192
363
364 mkdir r
365 cd r
366
367 # make the r files for input
368 awk <../final_frames_sorted.txt -F '|' \
369 '{print "convert -size " $24 "x" $25 " xc:black -stroke white -fill white -draw '\''polygon " \
370 $14 "," $15 " " $16 "," $17 " " $20 "," $21 " " $18 "," $19 "'\'' -blur 0x75 " $1 "_" $2 "_a.png" }' | bash
371 ^^^ That was before - but the blur got clipped - so we added a 75x75 border
372
373 # not this one - 75 was used for cyclone. We use 75
374 awk <../final_frames_sorted.txt -F '|' \
375 '{print "convert -size " ($24+75+75) "x" ($25+75+75) " xc:black -stroke white -fill white -draw '\''polygon " \
376 ($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
377
378 # here is 25 just fyi
379 awk <../final_frames_sorted.txt -F '|' \
380 '{print "convert -size " ($24+25+25) "x" ($25+25+25) " xc:black -stroke white -fill white -draw '\''polygon " \
381 ($14+25) "," ($15+25) " " ($16+25) "," ($17+25) " " ($20+25) "," ($21+25) " " ($18+25) "," ($19+25) "'\'' -blur 0x25 " $1 "_" $2 "_a.png" }' | bash multiproc.sh bash
382
383 cyclone_build <../final_frames_sorted.txt
384 # the above one creates the memory.txt
385
386 # - not- had to modify cyclone_build to be cyclone_build_small - 512 instead of 8192 and other things.
387
388
389 time cyclone_build a <../final_frames_sorted.txt |fsort 8000000000 | combinify 24016 17920 776 >c.txt
390 time convert c.txt c.png
391
392
393
394
395
396
397
398
399 ------------------------------
400
401 Make the big sizes
402
403 mkdir rough
404 mv r ri rk rough
405
406 mkdir big
407 cd big
408 mkdir r
409 mkdir ri
410
411
412 # make full size images
413
414 field 26 26 11 12 13 <../final_frames_sorted.txt | awk -F \| '
415 {
416 printf "%s%X%X%X%s","convert ../i/" $2 " -background \#",$3,$4,$5," -resize 8192x8192 -extent 8192x8192 ri/" $1;print "";
417
418 }
419 ' | bash multiproc.sh bash
420 # multiproc is bad because we broke the computer thant way
421
422
423
424 # now make the rk stuff
425 mkdir rk
426 field 1 1 4 5 6 <../analysis.txt | awk -F \| '
427 {
428 print "convert ../k/" $2 " -background \#000000 -resize 8192x8192 -extent 8192x8192 rk/" $1 ;
429 }
430 ' | bash multiproc.sh bash
431
432
433
434 cd big
435 perl convert_final_frames.pl <../final_frames_sorted.txt > final_frames_sorted.txt
436 # not changed the scale to 1-1 because we are full scale input.
437 # there are multiple scales in the convert perl script.
438
439
440 mkdir r
441 cd r
442
443 # not this one - 75 was used for cyclone. We use 75
444 awk <../final_frames_sorted.txt -F '|' \
445 '{print "convert -size " ($24+75+75) "x" ($25+75+75) " xc:black -stroke white -fill white -draw '\''polygon " \
446 ($14+75) "," ($15+75) " " ($16+75) "," ($17+75) " " ($20+75) "," ($21+75) " " ($18+75) "," ($19+75) "'\'' -blur 0x75 " $1 "_" $2 "_a.png" }' | bash
447 # well, this is extra wrk, because we reduced the size, we can just copy from the non big r instead.
448 cp ../../r/*a.png .
449
450
451
452 # make the r files - this is just for effect, we don't have to do this
453 # time cyclone_build_big <../final_frames_sorted.txt
454
455
456 # modify cyclone_build_big to not cut the size in 1/4
457
458 time cat <../final_frames_sorted.txt | cyclone_build_big a | fsort 16000000000 | combinify 24016 17920 776 >c.txt
459
460
461
462 # some pixels are missing so have to convert it:
463 time convert c.txt c.png
464 time analyze_source_image.sh c.png >../pixel_final.txt
465
466
467
468
469 # alpha - easy
470 cd /t/als/big/r
471 time convert -limit memory 2000000000 -limit map 2000000000 ../../alpha_work/alpha3.png -resize 24016x17920! txt: |\
472 analyze_source_image_filter >alpha_final.txt
473
474
475 # base
476 cd /t/als/big/r
477 time analyze_source_image.sh /t/als/source/source_full_size_cleaned_up_final.png >base.txt
478
479
480
481
482 ---------------------------------------
483 Hologram
484
485 cd source
486 analyze_source_image.sh holoham_points_480.png >hologram_find2.txt
487 # note the fast image did not work
488
489
490 grep '0|255|0' hologram_find2.txt | tee points1.txt
491 # then edit points1.txt to clean up
492
493 #then
494 awk -F '|' <points1.txt '{print $1 "|" $2 "|0.5589|1|8.41e-07|0.13"
495 }' >../points.txt
496
497
498
499 cd big
500 mkdir holo
501 cd holo
502 cp ../../points.txt .
503
504 mkdir u
505
506
507 perl $e/qi_blocks.pl >m1
508 flip_flop <m1 >o1 2>o2 3>o3 4>o4 5>o5 5
509 time bash o1 &
510 time bash o2 &
511 time bash o3 &
512 time bash o4 &
513 time bash o5 &
514 wait
515
516 find_grey_range real u/*_018.fp >tfull.grey
517
518
519 ls u/*.fp | awk '{print "fp_to_txt real 720 960 tfull.grey " $1 " | convert txt: " $1 ".png"}' >n
520 flip_flop <n >o1 2>o2 3>o3 4>o4 5>o5 6>o6 5
521 time bash o1 &
522 time bash o2 &
523 time bash o3 &
524 time bash o4 &
525 time bash o5 &
526 wait
527
528
529 mkdir v
530
531 time montage -limit memory 1000000000 -limit map 1000000000 u/es_000_*.png -geometry 720x960+0+0 -tile 29x1 v/es_000.png
532 time montage -limit memory 1000000000 -limit map 1000000000 u/es_001_*.png -geometry 720x960+0+0 -tile 29x1 v/es_001.png
533 time montage -limit memory 1000000000 -limit map 1000000000 u/es_002_*.png -geometry 720x960+0+0 -tile 29x1 v/es_002.png
534 time montage -limit memory 1000000000 -limit map 1000000000 u/es_003_*.png -geometry 720x960+0+0 -tile 29x1 v/es_003.png
535 time montage -limit memory 1000000000 -limit map 1000000000 u/es_004_*.png -geometry 720x960+0+0 -tile 29x1 v/es_004.png
536 time montage -limit memory 1000000000 -limit map 1000000000 u/es_005_*.png -geometry 720x960+0+0 -tile 29x1 v/es_005.png
537 time montage -limit memory 1000000000 -limit map 1000000000 u/es_006_*.png -geometry 720x960+0+0 -tile 29x1 v/es_006.png
538 time montage -limit memory 1000000000 -limit map 1000000000 u/es_007_*.png -geometry 720x960+0+0 -tile 29x1 v/es_007.png
539 time montage -limit memory 1000000000 -limit map 1000000000 u/es_008_*.png -geometry 720x960+0+0 -tile 29x1 v/es_008.png
540 time montage -limit memory 1000000000 -limit map 1000000000 u/es_009_*.png -geometry 720x960+0+0 -tile 29x1 v/es_009.png
541
542
543 time montage -limit memory 1000000000 -limit map 1000000000 u/es_010_*.png -geometry 720x960+0+0 -tile 29x1 v/es_010.png
544 time montage -limit memory 1000000000 -limit map 1000000000 u/es_011_*.png -geometry 720x960+0+0 -tile 29x1 v/es_011.png
545 time montage -limit memory 1000000000 -limit map 1000000000 u/es_012_*.png -geometry 720x960+0+0 -tile 29x1 v/es_012.png
546 time montage -limit memory 1000000000 -limit map 1000000000 u/es_013_*.png -geometry 720x960+0+0 -tile 29x1 v/es_013.png
547 time montage -limit memory 1000000000 -limit map 1000000000 u/es_014_*.png -geometry 720x960+0+0 -tile 29x1 v/es_014.png
548 time montage -limit memory 1000000000 -limit map 1000000000 u/es_015_*.png -geometry 720x960+0+0 -tile 29x1 v/es_015.png
549 time montage -limit memory 1000000000 -limit map 1000000000 u/es_016_*.png -geometry 720x960+0+0 -tile 29x1 v/es_016.png
550 time montage -limit memory 1000000000 -limit map 1000000000 u/es_017_*.png -geometry 720x960+0+0 -tile 29x1 v/es_017.png
551 time montage -limit memory 1000000000 -limit map 1000000000 u/es_018_*.png -geometry 720x960+0+0 -tile 29x1 v/es_018.png
552 time montage -limit memory 1000000000 -limit map 1000000000 u/es_019_*.png -geometry 720x960+0+0 -tile 29x1 v/es_019.png
553
554 time montage -limit memory 1000000000 -limit map 1000000000 u/es_020_*.png -geometry 720x960+0+0 -tile 29x1 v/es_020.png
555 time montage -limit memory 1000000000 -limit map 1000000000 u/es_021_*.png -geometry 720x960+0+0 -tile 29x1 v/es_021.png
556 time montage -limit memory 1000000000 -limit map 1000000000 u/es_022_*.png -geometry 720x960+0+0 -tile 29x1 v/es_022.png
557 time montage -limit memory 1000000000 -limit map 1000000000 u/es_023_*.png -geometry 720x960+0+0 -tile 29x1 v/es_023.png
558 time montage -limit memory 1000000000 -limit map 1000000000 u/es_024_*.png -geometry 720x960+0+0 -tile 29x1 v/es_024.png
559 time montage -limit memory 1000000000 -limit map 1000000000 u/es_025_*.png -geometry 720x960+0+0 -tile 29x1 v/es_025.png
560 time montage -limit memory 1000000000 -limit map 1000000000 u/es_026_*.png -geometry 720x960+0+0 -tile 29x1 v/es_026.png
561 time montage -limit memory 1000000000 -limit map 1000000000 u/es_027_*.png -geometry 720x960+0+0 -tile 29x1 v/es_027.png
562 time montage -limit memory 1000000000 -limit map 1000000000 u/es_028_*.png -geometry 720x960+0+0 -tile 29x1 v/es_028.png
563
564
565
566
567
568 time convert -limit memory 10000000000 -limit map 10000000000 -append v/es_*.png hologram_final.png
569
570 time analyze_source_image.sh hologram_final.png >../hologram_final.txt
571
572
573 --------------------------------------
574
575
576
577
578
579
580
581
582 cd big
583
584
585 time randomify 24016 17920 442 pixel_final.txt base.txt alpha_final.txt | convert txt: final_no_holo.png
586
587
588
589
590 time randomify 24016 17920 442 pixel_final.txt base.txt alpha_final.txt hologram_final.txt | convert txt: final.png
591
592 It came out beautiful.
593
594
595
596
597
598 alpha:
599 tint green so we can fix the gaps
600 convert alpha1.png -fill green -tint 100 alpha2.png
601 # use gimp to make alpha as alpha3.png
602 convert alpha3.png alpha3.bmp
603 analyze_fast_image.sh alpha3.bmp >alpha3.txt
604 clean_up_alpha <alpha3.txt 7095 11273 42 | convert txt: alpha4.png
605 rm alpha3.txt
606 # use gimp to guassian blur alpha from alpha4 to alpha5
607 # of 20
608 analyze_source_image.sh alpha5.png >alpha5.txt
609
610
611 test small
612
613 cd rsmall2
614 analyze_source_image.sh small2.png >small2.txt
615 analyze_source_image.sh ../source/02_source_cleaned.png >base.txt
616 randomify 7095 11273 119 small2.txt base.txt ../alpha_work/alpha5.txt | convert txt: small_example.png
617
618
619
620
621 OK. now depth
622 guassian blur 52 -> depth3
623 convert depth3.png depth3.bmp
624 hib@burner:/t/als/depth_work$ analyze_fast_image.sh depth3.bmp >depth3.txt
625
626
627 # this one makes a sample of points, but now that I have modified als, we can do it with a full set of points.
628 #perl $e/build_als_eye_source.pl <depth3.txt | randomize 4000000000 |\
629 # head -1000000 >points.txt
630
631 perl $e/build_als_eye_source.pl <depth3.txt >points_full.txt
632 # ^ this is what we use- 3m points!
633
634
635
636 nova_als
637 2960 added - 1480
638
639 26976x20880
640
641
642 24016 x 17920
643
644 After all that work, final_noholo looks alte better.
645 One could adjust the alpha for the hologram, but the hologram being per dot causes a
646 screening effect that is undesireable.
647 Sp we will go with final_no_holo.png
648
649
650 perl $e/nova_als.pl | bash
651 convert a.png -depth 8 -crop 26976x1480+0+0 +repage nova_top.png
652 convert a.png -depth 8 -crop 26976x1480+0+19400 +repage nova_bottom.png
653 convert a.png -depth 8 -crop 1480x17920+0+1480 +repage nova_left.png
654 convert a.png -depth 8 -crop 1480x17920+25496+1480 +repage nova_right.png
655
656
657
658 time convert +append nova_left.png final_no_holo.png nova_right.png f1.png
659 time convert -append nova_top.png f1.png nova_bottom.png als_real_final_with_border.png
660
661

  ViewVC Help
Powered by ViewVC 1.1.5