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

Contents of /eyes/jenni.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Tue Apr 10 04:13:58 2012 UTC (6 years, 3 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +45 -0 lines
File MIME type: text/plain
did a fix to randomify that was ever so slight.
For the hologram,  we flip the hologram values if base is lma darker than the pattern.
It is a slight difference,  but noticeable - that it seems to flow better, is softer.
I think it will jump out more, or less, I don't know.  But it has made a big deal.
I used the option 1 and not the objective values. Objective had blue as way too dark.
I guess it shouald all be on hte green in this case because the hologram is
572 nm (green laser pointer).
1 48x144 girl3 found on 4chan
2
3 using analysis of viktoria.
4 source.jpg - orignial source
5 clipped.png 2799x933 clipped.
6
7 Since this is high res, we will probably incorporate 20-25% of the original in the final? 15?
8 maybe only in the borders?
9
10 convert clipped.png -resize 144x48 small.png
11 analyze_source_image.sh small.png >source.txt
12
13
14 Modify points.c
15
16 16,6 and 32,5 make the eye points
17 22,11 for the nose -
18 make points
19 points >points.txt
20
21 !* dont forget to modify eyes.c with the x,y resolution otherwise it comes out real crappy!
22
23 eyes | sort >eyes.txt
24
25
26 then clean up:
27
28 comm -23 /tmp/a /tmp/b | awk '{print "bash reject.sh " $1}' | bash
29
30 mkdir r2
31 ln `field 3 <eyes.txt` r2
32
33
34
35 NEw method - sorted by color - sort of:
36
37 1 perl $e/eyes_rename_color.pl <eyes.txt >/tmp/i
38 # worked sorta well, but better to make contact sheets with the names on them
39
40
41
42 Well, that ducked. So Instead - I modified workeyes.pl - spo the label_me parameter will
43 label the filename on the image - so it is easy to eliminate duplicates Mofo!
44
45 OK - now it is clean - lets decide the size.
46 I choose 56xwhatever?
47
48
49 mkdir j k l m o p
50 ln -s m n
51
52
53
54 perl $e/montage_sideways.pl >/tmp/aaa
55
56
57
58 NEW - to clean up the dupications, I made a file called to_close.txt
59 this lists the first 6 characters of the link that is too close for comfort.
60 And then eyes will fake process them, and come back to them after everything is done.
61 We come back - to reduce the shifting of the problem elsewhere.
62 Also, we come back to make it more likely that the common series are more used up.
63
64
65
66 bash analyze_source_image.sh q/jenni.png >pixeled.txt
67
68 analysis.png - has the row, column numbers - done at 100x100 dots per square
69
70
71 now for the alpha:
72 perl $e/make_eyes_alpha.pl <eyes.txt | bash
73 well, thats the slow way. The fast way is this here variant of workeyes.sh:
74
75
76 rm -f /tmp/ok1 /tmp/ok2 /tmp/ok3 /tmp/ok4 /tmp/ok5 /tmp/ok6
77 {
78 fsort <eyes.txt | flip_flop >/tmp/ok1 2>/tmp/ok2 3>/tmp/ok3 4>/tmp/ok4 5>/tmp/ok5 6>/tmp/ok6 6
79 perl $e/make_eyes_alpha.pl </tmp/ok1 >/tmp/w1
80 perl $e/make_eyes_alpha.pl </tmp/ok2 >/tmp/w2
81 perl $e/make_eyes_alpha.pl </tmp/ok3 >/tmp/w3
82 perl $e/make_eyes_alpha.pl </tmp/ok4 >/tmp/w4
83 perl $e/make_eyes_alpha.pl </tmp/ok5 >/tmp/w5
84 perl $e/make_eyes_alpha.pl </tmp/ok6 >/tmp/w6
85 bash /tmp/w1 &
86 bash /tmp/w2 &
87 bash /tmp/w3 &
88 bash /tmp/w4 &
89 bash /tmp/w5 &
90 bash /tmp/w6 &
91 wait
92 }
93
94 Then modify montage_sideways - change ldestination file, and also g to k so we make the correct file.
95 perl $e/montage_sideways.pl >/tmp/bbb
96 time bash /tmp/bbb
97
98
99 Oh yeah, we are supposed t o blur it!!!!!!!! don't forget!!!!
100 time convert q/alpha.png -blur 0x200 q/alphablur.png
101
102
103 #time convert -limit memory 1 -limit map 1 q/alpha.png -blur 0x200 q/alphablur.png - took too long.
104 bash analyze_source_image.sh q/alpha.png | tee alpha.txt >a1.txt
105 bash analyze_source_image.sh q/alpha.png | tee alpha.txt >a1.txt
106 convert clipped_and_sharpened_rotated.png -depth 8 -resize 51840x155520 txt: |
107 analyze_source_image_filter | tee base72.txt >big.txt &
108 time randomify 51840 155520 17 big.txt pixeled.txt a1.txt | convert -limit memory 1 -limit map 1 txt: final72.png
109
110 So we habe base.txt - with the original picture. pixeled.txt for our fabricated jenni, and alpha.txt
111 for the framed window that will make the borders look more like the woman.
112
113 Cool. Finally, we can randomify, and then that is that.
114
115

  ViewVC Help
Powered by ViewVC 1.1.5