Browse Source

reprise du code et renommages

rep 3 years ago
parent
commit
103687984a

+ 31
- 0
0_alpha.py View File

@@ -0,0 +1,31 @@
1
+#!/usr/bin/python
2
+# coding: utf-8
3
+
4
+
5
+import Image
6
+import sys
7
+import ImageDraw
8
+from PIL.Image import composite,LINEAR
9
+
10
+# MILLISECONDES
11
+from datetime import datetime
12
+dt = datetime.now()
13
+dt.microsecond
14
+
15
+im1 = Image.open(str(sys.argv[1])).convert('RGBA')
16
+im2 = Image.open(str(sys.argv[2])).convert('RGBA')
17
+im3 = Image.new("1", (512,512), "white")
18
+
19
+draw = ImageDraw.Draw(im3)
20
+draw.ellipse(((100,100),(200,200)), fill="black")
21
+draw.ellipse(((180,180),(300,300)), fill="black")
22
+
23
+scriptpy = str(sys.argv[1])
24
+script = scriptpy[:-4]
25
+heure = str(dt.hour)+"h"+str(dt.minute)+"m"+str(dt.second)+"s"+str(dt.microsecond)+"ms"
26
+
27
+im1.paste(im2, im3)
28
+
29
+im1.save(script+".1.alpha."+heure+".png",'PNG', quality=100)
30
+im2.save(script+".2.alpha."+heure+".png",'PNG', quality=100)
31
+im3.save(script+".3.alpha."+heure+".png",'PNG', quality=100)

+ 51
- 0
0_effets.py View File

@@ -0,0 +1,51 @@
1
+#!/usr/bin/python
2
+# -*- coding: utf-8 -*- 
3
+import sys
4
+import Image
5
+import random
6
+import os
7
+import ImageDraw
8
+import ImageFont
9
+import ImageFilter
10
+from time import gmtime, strftime
11
+# modifs du 30/10/2013
12
+import ImageEnhance
13
+
14
+im1 = Image.open(str(sys.argv[1]))
15
+im1 = im1.convert('RGB')
16
+
17
+# BLUR
18
+'''for i in range(40):
19
+    im1 = im1.filter(ImageFilter.BLUR)
20
+'''
21
+
22
+#operation 'degoulinage', pixel par pixel
23
+imagesource = im1
24
+imagedest = im1
25
+for i in range (60000) :
26
+	posrandX = random.randint(1, imagesource.size[0]-1)
27
+	posrandY = random.randint(1, imagesource.size[1]-55)
28
+	pixelRGB = imagesource.getpixel((posrandX,posrandY))
29
+	
30
+	for Y in range (1, 49) :
31
+		imagedest.putpixel((posrandX, posrandY + random.randint(1,Y)+5), pixelRGB)
32
+		
33
+imagedest.save("test.jpg"+strftime("%Y-%m-%d-%Hh%Mm%Ss", gmtime())+".jpg",quality=100)
34
+
35
+'''
36
+#collage de l'image résultante dans une image 1bit
37
+im4 = Image.new("1", (im1.size[0], im1.size[1]))
38
+im4.paste(im1, (0, 0, im1.size[0], im1.size[1]))
39
+
40
+# CTRL + S
41
+im4.save("griis-out-"+strftime("%Y-%m-%d-%Hh%Mm%Ss", gmtime())+".jpg",quality=100)
42
+'''
43
+
44
+#COPIER/COLLAGE SIMPLE ET EFFICACE :
45
+'''
46
+box = (30, 30, 110, 110)
47
+sample = image.crop(box)
48
+for i in range(10):  # with the BLUR filter, you can blur a few times to get the effect you're seeking
49
+    sample = sample.filter(ImageFilter.BLUR)
50
+image.paste(sample, box)
51
+'''

+ 144
- 0
0_hac.py View File

@@ -0,0 +1,144 @@
1
+#!/usr/bin/python
2
+# coding: utf-8
3
+
4
+import sys
5
+import Image
6
+import random
7
+import os
8
+import ImageDraw
9
+import ImageFont
10
+import ImageFilter
11
+import time
12
+import ImageEnhance
13
+import pickle
14
+
15
+# MILLISECONDES
16
+from datetime import datetime
17
+dt = datetime.now()
18
+dt.microsecond
19
+heure = str(dt.hour)+"h"+str(dt.minute)+"m"+str(dt.second)+"s"+str(dt.microsecond)+"ms"
20
+
21
+print dt
22
+
23
+# AGRANDISSEMENT
24
+allongement = 3
25
+
26
+# IMAGES
27
+im1 = Image.open(str(sys.argv[1])).convert('RGBA')
28
+im2 = Image.new("RGBA",(im1.size[0], im1.size[1]))
29
+im3 = Image.new("RGBA",(im1.size[0], im1.size[1]))
30
+im4 = Image.new("RGBA",(im1.size[0], im1.size[1]))
31
+im5 = Image.new("RGBA",(im1.size[0], im1.size[1]))
32
+im6 = Image.new("RGBA",(im1.size[0]*allongement, im1.size[1]))
33
+im7 = Image.new("RGBA",(im1.size[0], im1.size[1]), "white") # masque alpha
34
+
35
+# LARGEUR HAUTEUR
36
+Larg = im1.size[0]
37
+Haut = im1.size[1]
38
+loadfile = False
39
+
40
+# EMPLACEMENT SCRIPT
41
+scriptpy = str(sys.argv[1])
42
+script = scriptpy[:-4]
43
+
44
+def randHaut():
45
+	return random.randint(0, im1.size[1]/16)*16
46
+
47
+randomCoupeHauteur1 = [0, \
48
+randHaut(),randHaut(),randHaut(),randHaut(), \
49
+randHaut(),randHaut(),randHaut(),randHaut(), \
50
+randHaut(),randHaut(),randHaut(),randHaut(), \
51
+randHaut(),randHaut(),randHaut(),randHaut(), \
52
+randHaut(),randHaut(),randHaut(),randHaut(), \
53
+randHaut(),randHaut(),randHaut(),randHaut(), \
54
+im1.size[1]]
55
+
56
+print  randomCoupeHauteur1
57
+# ENLEVE DOUBLONS
58
+randomCoupeHauteur = set(randomCoupeHauteur1)
59
+randomCoupeHauteur = list(randomCoupeHauteur)
60
+
61
+print randomCoupeHauteur
62
+
63
+# RANGEMENT
64
+randomCoupeHauteur.sort()
65
+print  randomCoupeHauteur
66
+	
67
+# HAACHEUUR
68
+def Hacheur(haut, bas) :
69
+	n = 0
70
+	i = 0
71
+	while n<im6.size[0] :
72
+		i+=1
73
+		loop = 0
74
+		
75
+		# PROPORTIONS
76
+		proportions = [\
77
+#		(2,2),(2,4),(2,5),(2,8),(2,16),(2,32),\
78
+#		(4,4),(4,5),(4,8),(4,16),(4,32),(4,64),\
79
+#		(8,3),(8,5),(8,8),(8,16),(8,32),\
80
+		(16,2),(16,3),(16,4),(16,5),(16,8),(16,16),(16,32),\
81
+		(32,3),(32,5),(32,8),(32,16),(32,32),\
82
+		(128,1),(128,2),(128,4),(128,8),\
83
+		(256,1),(256,2),(256,4),\
84
+		(512,1),(512,2)]
85
+		
86
+		'''
87
+		(768,1),(768,2),\
88
+		(1024,1),(1024,2),\
89
+		(2048,1),\
90
+		(3072,1)]
91
+		'''
92
+		
93
+		# COPY POS X 
94
+		choix_rnd = random.randint(0, len(proportions)-1)
95
+		largeur = proportions[choix_rnd][0]
96
+		copyPosX = random.randint(0, (im1.size[0]-largeur))
97
+		largeur = proportions[choix_rnd][0]			
98
+		repeat = proportions[choix_rnd][1]
99
+		
100
+		# PIXEL SIZE
101
+		pixelSizeList = [1]
102
+		#pixelSizeList = [1, 1, 1, 1, 2, 2, 4, 8, 16, 32, 64, 128, 256]
103
+		#pixelSizeList = [1,5,25,125]
104
+		pixelSizeIndex = random.randint(0,len(pixelSizeList)-1)
105
+		pixelSize = pixelSizeList[pixelSizeIndex]
106
+		
107
+		# CROP
108
+		hauteur = bas-haut
109
+		cropfinal = [largeur,hauteur]
110
+				
111
+		im2 = im1.crop((copyPosX,haut,copyPosX+largeur,haut+hauteur))
112
+		im3 = im2.resize((im2.size[0]/pixelSize, im2.size[1]/pixelSize), Image.NEAREST)
113
+		im4 = im3.resize((im3.size[0]*pixelSize, im3.size[1]*pixelSize), Image.NEAREST)
114
+		im5 = im4.crop((0,0,cropfinal[0],cropfinal[1]))
115
+		
116
+		# MASQUE
117
+		im7 = Image.new("1", (cropfinal[0],cropfinal[1]), "black")
118
+		l = im7.size[0]
119
+		h = im7.size[1]
120
+		im7draw = ImageDraw.Draw(im7)	
121
+		n1 = 0
122
+		ecart = 3
123
+		tranches = h / ecart
124
+		while n1 < tranches :
125
+			rx = random.randint(0,l/2)
126
+			im7draw.rectangle(((rx,n1*tranches),(rx+l/2,n1*tranches+tranches)),"white")
127
+			n1 = n1 + 1
128
+		
129
+		# REPETITION MOTIF MASQUÉ
130
+		while loop<repeat:
131
+			px1 = n
132
+			px2 = n + cropfinal[0]
133
+			im6.paste(im5, (px1, haut, px2, bas), im7)
134
+			n = n + l/2			
135
+			loop = loop + 1
136
+		n = n - im7.size[0]/2	
137
+
138
+for j in range(len(randomCoupeHauteur)-1):
139
+	Hacheur(randomCoupeHauteur[j], randomCoupeHauteur[j+1])
140
+
141
+#TODO : inclure version du script + taille finale image
142
+#im6.putalpha(255)
143
+im6.save(script+"."+heure+".png",'PNG', quality=100)
144
+im6.show()

BIN
0_hac.pyc View File


+ 41
- 0
0_motif.py View File

@@ -0,0 +1,41 @@
1
+#!/usr/bin/python
2
+# coding: utf-8
3
+
4
+def pr3nt():
5
+	print hello
6
+
7
+'''
8
+import sys
9
+import Image
10
+import random
11
+import os
12
+import ImageDraw
13
+import ImageFont
14
+import ImageFilter
15
+from time import gmtime, strftime
16
+
17
+# MILLISECONDES
18
+from datetime import datetime
19
+dt = datetime.now()
20
+dt.microsecond
21
+heure = str(dt.hour)+"h"+str(dt.minute)+"m"+str(dt.second)+"s"+str(dt.microsecond)+"ms"
22
+
23
+image = Image.new("RGBA",(512,512), "black")
24
+h = image.size[0]
25
+l = image.size[1]
26
+
27
+motif = ImageDraw.Draw(image)
28
+
29
+def motifs(image):
30
+	n = 0
31
+	ecart = 20
32
+	tranches = h / ecart
33
+	while n < tranches :
34
+		rx = random.randint(0,l/2)
35
+		image.rectangle(((rx,n*tranches),(rx+l/2,n*tranches+tranches)),"white")
36
+		n = n + 1
37
+
38
+motifs(motif)
39
+
40
+image.save(heure+".png",'PNG', quality=100)
41
+'''

+ 42
- 0
1_crop.py View File

@@ -0,0 +1,42 @@
1
+#!/usr/bin/python
2
+# coding: utf-8
3
+
4
+import Image, sys
5
+from time import gmtime, strftime
6
+
7
+im1 = Image.open(str(sys.argv[1]))
8
+largeur = im1.size[0]
9
+hauteur = im1.size[1]
10
+crop = hauteur * 3 / 4
11
+nb = largeur/crop
12
+
13
+# print infos image
14
+print 
15
+print "dimensions : %d * %d pix" % (largeur, hauteur)
16
+print "crop : %d, nb = largeur/crop = %d" % (crop, nb)
17
+
18
+i = 0
19
+x1 = y1 = 0
20
+x2 = crop
21
+y2 = hauteur
22
+scriptpy = str(sys.argv[1])
23
+script = scriptpy[:-3]
24
+
25
+while i < nb :
26
+	
27
+	#print infos crop
28
+	print
29
+	print "x1 %d" % x1
30
+	print "y1 %d"  % y1
31
+	print "x2 %d" % x2
32
+	print "y2 %d" % y2
33
+	print
34
+
35
+	#enregistrement
36
+	im2 = im1.crop((x1,y1,x2,y2))
37
+	im2.save(script+".crop."+str(crop)+"."+strftime("%Y%m%d-%Hh%Mm%Ss", gmtime())+"._"+str(i)+"_.png",'PNG', quality=100)
38
+	
39
+	#incr boucle
40
+	x1 = x1 + crop
41
+	x2 = x2 + crop	
42
+	i = i +1

+ 154
- 0
2_video2d.py View File

@@ -0,0 +1,154 @@
1
+#!/usr/bin/python
2
+# coding: utf-8
3
+
4
+# sys.popen youtube.dl
5
+'''
6
+youtube-dl $1
7
+'''
8
+
9
+# rename file
10
+'''
11
+sys.popen("mv $1 $2")
12
+'''
13
+
14
+# mosaique
15
+'''
16
+ffmpeg -i drone.mp4 -vf fps=30 ./drone/img%03d.jpg
17
+'''
18
+
19
+import sys 		# sys.argv[]
20
+import Image 	# Image.open()
21
+import os 		# os.getcwd
22
+
23
+'''
24
+im1 = Image.open(str(sys.argv[1]))
25
+width, height = im1.size
26
+<<<<<<< HEAD
27
+print "width  =% 5.2i" % width
28
+print "height =% 5.2i" % height
29
+allongement = 8
30
+im4 = Image.new("RGBA",(im1.size[0]*allongement, im1.size[1]))
31
+=======
32
+print 
33
+print "width  =% 5.2i" % width
34
+print "height =% 5.2i" % height
35
+print
36
+allongement = 8
37
+im4 = Image.new("RGBA",(im1.size[0]*allongement, im1.size[1]))
38
+
39
+>>>>>>> adc56b0f751a338bfe5c843061889df049d4390b
40
+for x in range(1,allongement+1):
41
+    print('%03.1i' % x)
42
+'''
43
+
44
+script = os.getcwd()
45
+print script
46
+
47
+index = 1
48
+allongement = 32	#4818
49
+
50
+im1 = Image.open("./lila/img001.jpg")
51
+im2 = Image.new("RGBA",(im1.size[0]*allongement, im1.size[1]))
52
+largeur = im1.size[0]
53
+
54
+for x in range(0,allongement):	
55
+	positionx = 0
56
+
57
+	for y in range(1,33):
58
+		z = x*allongement + y
59
+		im1 = Image.open("./lila/img%03.1i.jpg" % z)
60
+		im2.paste(im1, (positionx,0))
61
+		positionx = positionx + largeur
62
+	im2.save(script+"/"+str(x)+".2.png",'PNG', quality=100)
63
+
64
+'''
65
+# VERSION BATAILLE NAVALE
66
+for x in range(0,allongement):	
67
+	positionx = 0
68
+
69
+	for y in range(1,6):
70
+		z = x*10 + y
71
+		im1 = Image.open("./capt/img%03.1i.jpg" % z)
72
+		#print "z="+str(z)
73
+		im2.paste(im1, (positionx,positiony))
74
+		#print position
75
+		#print("./drone/img%03.1i.jpg" % x)
76
+		positionx = positionx + largeur
77
+		#print "px"+str(positionx)
78
+	positiony = positiony + hauteur
79
+	#print "py"+str(positiony)
80
+	#scriptpy = str(sys.argv[1])
81
+	#script = scriptpy[:-3]
82
+
83
+im2.save(script+"/"+str(x)+".2.png",'PNG', quality=100)
84
+
85
+'''
86
+
87
+
88
+
89
+'''
90
+1145  ffmpeg -i noir...png.mp4 noir...png.enscribe.norm.wav -c:a copy -c:v copy noir..HQ..mp4
91
+ 1146  ffmpeg -i noir...png.mp4 -i noir...png.enscribe.norm.wav -c:a copy -c:v copy noir..HQ..mp4
92
+ 1147  ffmpeg -i noir...png.mp4 -i noir...png.enscribe.norm.wav -c:a aac -c:v copy noir..HQ..mp4
93
+ 1148  ffmpeg -i noir...png.mp4 -i noir...png.enscribe.norm.wav -c:a libfaac -c:v copy noir..HQ..mp4
94
+ 1158  ffmpeg -i pylone3.png.mp4 -i pylone3.png.enscribe.norm.wav -c:a libfaac -c:v copy pylone3.HQ.mp4
95
+ 1162  ffmpeg -i pylone3.HQ.mp4 
96
+ 1163  ffmpeg -i pylone3.png.mp4 -i pylone3.png.enscribe.norm.wav -c:a libfaac -c:v copy pylone3.HQ.mp4
97
+ 1177  ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -preset ultrafast -crf 32 final.mp4
98
+ 1178  ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -b:v 5000k  final2.mp4
99
+ 1179  ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -vf format=gray -b:v 5000k  final2.mp4
100
+ 1180  ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -vf format=gray -b:v 5000k  final3.mp4
101
+ 1181  ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -pix_fmt monow  final3.mp4
102
+ 1182  ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v mjpeg -b:v 3000 final4.avi
103
+ 1183  ffmpeg -q:v
104
+ 1184  ffmpeg -q:v 0
105
+ 1186  ffmpeg -pix_fmts
106
+ 1265  ffmpeg -pix_fmts
107
+ 1266  ffmpeg -pix_fmts | grep H
108
+ 1321  history | grep ffmpeg
109
+ 1323  nano ffmpeg_one_liner
110
+ 1403  ffmpeg -i Ajja_Tulpa_Full_Album.webm -vn -ar 44100 -ac 2 -ab 192k -f mp3 Ajja_Tulpa_Full_Album.mp3
111
+ 1404  ffmpeg -i Ajja_Tulpa_Full_Album.webm -vn -ar 44100 -ac 2 -ab 192k -acodec copy Ajja_Tulpa_Full_Album.ogg
112
+ 1770  ffmpeg ffmpeg -i test0%4d.jpg -vcodec mjpeg out.avi
113
+ 1771  ffmpeg -i test0%4d.jpg -vcodec mjpeg out.avi
114
+ 1774  ffmpeg -i out.avi -c:v libvpx -crf 10 -b:v 2M  -threads 4 out.webm
115
+ 1916  ffmpeg -i drone.mp4 -vf fps=1 ./drone/img%03d.jpg
116
+ 1917  ffmpeg -i drone.mp4 -vf fps=4 ./drone/img%03d.jpg
117
+ 1918  ffmpeg -i drone.mp4 -vf fps=20 ./drone/img%03d.jpg
118
+ 1922  ffmpeg -i drone.mp4 -vf fps=30 ./drone/img%03d.jpg
119
+ 1943  ffmpeg -i drone.mp4 -vf fps=20 ./images_yatil/img%03d.jpg
120
+ 1946  ffmpeg -i yatil.mkv -vf fps=1 ./images_yatil/img%03d.jpg
121
+ 1952  ffmpeg -i final.mp4 -v:c h264 -a:c copy tintin.mpeg
122
+ 1953  ffmpeg -i final.mp4 -v:c libvpx -a:c copy tintin.mpeg
123
+ 1954  ffmpeg -i final.mp4 -v:c libvpx -a:c copy tintin.mpeg
124
+ 1956  ffmpeg -i final.mp4 -c:v libvpx -crf 10 -b:v 2M  -threads 4 final.webm
125
+ 1958  ffmpeg -formats
126
+ 1959  ffmpeg -formats | grep DE
127
+ 1975  ffmpeg -i drone.mp4 
128
+ 2006  history | grep ffmpeg
129
+ 2009  history | grep ffmpeg
130
+'''
131
+
132
+'''
133
+index = 1
134
+allongement = 300      #4818
135
+
136
+im1 = Image.open("./drone/img001.jpg")
137
+im2 = Image.new("RGBA",(im1.size[0]*allongement, im1.size[1]))
138
+
139
+largeur = im1.size[0]
140
+
141
+for x in range(0,allongement/10):
142
+	position = 0
143
+	
144
+	for y in range(1,11):
145
+		im1 = Image.open("./drone/img%03.1i.jpg" % y)
146
+		im2.paste(im1, (position,0))
147
+		#print position
148
+		#print("./drone/img%03.1i.jpg" % x)
149
+		position = position + largeur
150
+		
151
+	scriptpy = str(sys.argv[1])
152
+	script = scriptpy[:-3]
153
+	im2.save(script+"_"+str(x)+".png",'PNG', quality=100)
154
+'''

+ 34
- 0
3_enscribe_.sh View File

@@ -0,0 +1,34 @@
1
+# ------------- FILE INFO OUTPUT
2
+
3
+file = $1
4
+echo 'file : '+file
5
+
6
+# ------------- RESIZE IMAGE (512, 1024, 2048, 4096 pixels de haut)
7
+# donc de 5184*3456 pix à 1536*1024 pix par exemple
8
+#convert $image_input -resize 768x512 $image_output_resize
9
+
10
+# ------------- HACHAGE
11
+#python ~/Projets/haacheur/hacheuur.py $image_output_resize
12
+
13
+# ------------- HORIZONTAL
14
+
15
+
16
+# ------------- ROTATE IMAGE 90 DEGRES SENS HORAIRE
17
+#convert -rotate 90 $image_input $image_output
18
+
19
+
20
+# ------------- ENSCRIBE 
21
+# 1536 pixels / 25 fps = 61 secondes (durée fichier audio)
22
+# enscribe -ts 1024 -hf 20 -o output.wav input.wav -mask /usr/local/share/horizontal/sounds/piano_7.flac -lenght $tailleImage/$fps
23
+# enscribe -ts=1 -hf=20 -mask /usr/local/share/horizontal/sounds/piano-major7.flac -length=61.0 _MG_8817.out.2colors.tiff _MG_8817.out.2colors.tiff.wav
24
+
25
+
26
+# enscribe retenu : sans mask, avec du hissing : -h, largeur image : 1024 -ts=1, sur une png 2 couleurs 
27
+#enscribe -ts=0 -length=30.72 image_input.jpg sound_output.enscribe.wav
28
+
29
+#enscribe -ts=1 -h -length=61.0 -mask /usr/local/share/horizontal/sounds/alto-majormode.flac _MG_8817.out.2colors.png _MG_8817.out.2colors.png.61s.alto-majormode.wav
30
+
31
+
32
+# ------------- NORMALIZE ENSCRIBE AUDIO OUTPUT
33
+# normaliser l'audio, histoire d'avoir une amplitude (volume) optimale 
34
+#sox --norm sound_output.enscribe.wav sound_output.wav

+ 48
- 0
3_horizontal.simple.py View File

@@ -0,0 +1,48 @@
1
+#!/usr/bin/python
2
+import os, sys, Image, ImageDraw, ImageColor
3
+from time import gmtime, strftime
4
+
5
+fichier=sys.argv[1]
6
+
7
+try:
8
+	#im1 = Image.open(fichier).convert('1')
9
+	im1 = Image.open(fichier)
10
+	im2 = im1.copy()
11
+	im3 = im1.copy()
12
+	draw = ImageDraw.Draw(im2)
13
+except IOError:
14
+	print "Erreur : fichier manquant", infile
15
+
16
+date = strftime("%Y%m%d-%Hh%Mm%Ss", gmtime())
17
+
18
+x=0
19
+while x < im1.size[0] :
20
+	y = 0
21
+	while y < im1.size[1] :
22
+		colorpixel = im1.getpixel((x,y))
23
+		draw.line((0, y, im2.size[0], y) , fill=colorpixel)
24
+		draw.line((x, 0, x, im2.size[1]-1), fill=1)
25
+		
26
+		y = y + 1
27
+		
28
+	# ALPHA tout bete :
29
+	im3 = Image.blend(im1, im2, 0.8)
30
+	
31
+	n = "%05d" % x
32
+	nomdefichier = "horizontal"+n+".png"
33
+	im3.save(nomdefichier, "PNG")
34
+	print nomdefichier
35
+	
36
+	x = x + 1
37
+	
38
+del draw
39
+
40
+# audio + video
41
+#os.system("ffmpeg -i horizontal%05d.png -i "+fichier+".enscribe.norm.wav -c:a libfaac -c:v libx264 -preset ultrafast -crf 32 "+fichier+".final.mp4")
42
+
43
+# video seule
44
+os.system("ffmpeg -i horizontal%05d.png -c:v libx264 -preset ultrafast -crf 32 "+fichier+".final.video.mp4")
45
+print " OUTPUT FINAL : "+fichier+".final.video.mp4"
46
+
47
+# Nettoyage
48
+#os.system("rm horizontal*.png")

BIN
HH.20161121.zip View File


BIN
IMG_SRC/IMG_4190.JPG View File


+ 439
- 0
IMG_SRC/PANORAMIQUES/IMG_6038_panoramique - IMG_6046_panoramique.pto View File

@@ -0,0 +1,439 @@
1
+# hugin project file
2
+#hugin_ptoversion 2
3
+p f2 w13292 h5521 v195  E13.9128 R0 S103,13025,248,4555 n"TIFF_m c:LZW r:CROP"
4
+m g1 i0 f0 m2 p0.00784314
5
+
6
+# image lines
7
+#-hugin  cropFactor=1.57033
8
+i w3456 h5184 f0 v48.04396619621 Ra-2.86424684524536 Rb1.23315286636353 Rc-0.0984228998422623 Rd0.282287895679474 Re-0.0308591909706593 Eev13.9433503215031 Er1 Eb1 r0.753672998610233 p4.88229759582812 y-72.3227130059661 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a0 b-0.00723177623032044 c0 d0 e0 g0 t0 Va1 Vb-0.125545501942763 Vc0.0297098805006692 Vd-0.080144503105947 Vx0 Vy0  Vm5 n"IMG_6038_panoramique.JPG"
9
+#-hugin  cropFactor=1.5703308517507
10
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev14.1119201671745 Er1.01400061645181 Eb0.97876423868998 r0.0583860063023377 p4.44414398258613 y-51.2956987603616 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6039_panoramique.JPG"
11
+#-hugin  cropFactor=1.5703308517507
12
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev14.1074465169566 Er0.999377024007792 Eb0.973583459636295 r-0.551071531254118 p3.83303563606199 y-32.6101870330387 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6040_panoramique.JPG"
13
+#-hugin  cropFactor=1.5703308517507
14
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev14.054846179819 Er1.0061710148976 Eb0.99243879989158 r0.104421413939895 p3.90920846354046 y-16.6866683500332 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6041_panoramique.JPG"
15
+#-hugin  cropFactor=1.5703308517507
16
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev13.8925214167912 Er0.98930231928563 Eb0.987276897635803 r-0.121597358074024 p4.1113679177379 y0.709294799026623 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6042_panoramique.JPG"
17
+#-hugin  cropFactor=1.5703308517507
18
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev13.8397846805661 Er0.98666261131379 Eb0.986038431370235 r0.458857504520535 p4.77621406909587 y19.4163565971344 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6043_panoramique.JPG"
19
+#-hugin  cropFactor=1.5703308517507
20
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev13.7884987291266 Er1.03713922413671 Eb1.0068272885624 r-0.242458803186299 p5.64590218854188 y36.4778863594857 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6044_panoramique.JPG"
21
+#-hugin  cropFactor=1.5703308517507
22
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev13.7302482063072 Er1.01704090451386 Eb0.988129549127632 r-0.545362926720318 p6.24823414086808 y52.2460912241287 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6045_panoramique.JPG"
23
+#-hugin  cropFactor=1.5703308517507
24
+i w3456 h5184 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev13.7463574592268 Er1.06956243187017 Eb1.00841619661451 r0.976154216834816 p6.3634416655883 y71.1394630919333 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0  Vm5 n"IMG_6046_panoramique.JPG"
25
+
26
+
27
+# specify variables that should be optimized
28
+v Ra0
29
+v Rb0
30
+v Rc0
31
+v Rd0
32
+v Re0
33
+v r0
34
+v Vb0
35
+v Vc0
36
+v Vd0
37
+v Eev1
38
+v r1
39
+v p1
40
+v y1
41
+v Eev2
42
+v r2
43
+v p2
44
+v y2
45
+v Eev3
46
+v r3
47
+v p3
48
+v y3
49
+v Eev4
50
+v r4
51
+v p4
52
+v y4
53
+v Eev5
54
+v r5
55
+v p5
56
+v y5
57
+v Eev6
58
+v r6
59
+v p6
60
+v y6
61
+v Eev7
62
+v r7
63
+v p7
64
+v y7
65
+v Eev8
66
+v r8
67
+v p8
68
+v y8
69
+v
70
+
71
+
72
+# control points
73
+c n0 N1 x1856.23834946163 y2041.56900725352 X414.960974481774 Y1977.13724450414 t0
74
+c n0 N1 x1644.88816379826 y2544.95384133652 X158.037258071464 Y2493.3570397774 t0
75
+c n0 N1 x1773.87230820478 y3019.30594307718 X284.377923489588 Y2997.92588560232 t0
76
+c n0 N1 x1684.06167072949 y3508.07174755349 X158.230562342962 Y3514.51121113818 t0
77
+c n0 N1 x2005.5769198607 y1772.31385792515 X590.342423650594 Y1714.14747104714 t0
78
+c n0 N1 x2173.92770685371 y2292.79205901256 X739.296522028518 Y2260.69390598432 t0
79
+c n0 N1 x2156.06528025168 y2773.81675223167 X702.927572576519 Y2748.13531643319 t0
80
+c n0 N1 x2107.3274645914 y3650.44527982421 X608.194945850018 Y3641.95806698244 t0
81
+c n0 N1 x2323.24217304867 y1588.63277663196 X930.366359631445 Y1564.00216367061 t0
82
+c n0 N1 x2537.75030283318 y2609.88554396441 X1093.91335172948 Y2593.93629444581 t0
83
+c n0 N1 x2305.03631032519 y2771.93189286086 X856.903680825629 Y2748.41875759404 t0
84
+c n0 N1 x2276.5518996658 y3581.78554929846 X784.714881608782 Y3564.13441360193 t0
85
+c n0 N1 x2628.10260164695 y4334.83959594149 X1090.63584561166 Y4280.88042538621 t0
86
+c n0 N1 x2796.41898150386 y1715.42896883412 X1384.00969445137 Y1739.69718490821 t0
87
+c n0 N1 x2920.40405134615 y2755.68372854059 X1454.90617022732 Y2745.05058889796 t0
88
+c n0 N1 x2981.90624613209 y2784.0560858619 X1510.2609992069 Y2774.35459094623 t0
89
+c n0 N1 x3028.80783307085 y1891.12118561166 X1591.14732090982 Y1928.2544229964 t0
90
+c n0 N1 x3244.94716860846 y2716.28658420925 X1750.33162809457 Y2713.88254565243 t0
91
+c n0 N1 x3263.61371102611 y2811.36021145037 X1765.22749177949 Y2803.51916685946 t0
92
+c n1 N2 x1529.95752810079 y1804.0073612743 X222.407400820934 Y1668.53457269263 t0
93
+c n1 N2 x1747.22992533803 y2706.74351475985 X432.755492551191 Y2646.90116974624 t0
94
+c n1 N2 x1763.83123300117 y2834.63529132725 X445.611168882521 Y2781.08912831164 t0
95
+c n1 N2 x2072.70084096745 y1934.8333003795 X808.925125904459 Y1858.20363053167 t0
96
+c n1 N2 x2023.3354116238 y2635.27465903097 X728.729150652722 Y2579.80901430193 t0
97
+c n1 N2 x1867.23761537052 y2965.05343104524 X555.472247431847 Y2918.60225881314 t0
98
+c n1 N2 x1980.25985808155 y3843.13272589862 X640.370828790856 Y3831.22769793433 t0
99
+c n1 N2 x2107.08740645478 y4173.40480392563 X768.675090057155 Y4161.44233645201 t0
100
+c n1 N2 x2260.41103717746 y1886.12616846882 X1006.10511645234 Y1823.7429599772 t0
101
+c n1 N2 x2403.02598530747 y2116.2486593346 X1141.50392050529 Y2067.91554538241 t0
102
+c n1 N2 x2196.673436014 y3300.34514896035 X891.213060151125 Y3263.22077149906 t0
103
+c n1 N2 x2320.40383848453 y3912.32597909037 X995.555611122866 Y3878.26169800141 t0
104
+c n1 N2 x2263.07156459602 y4258.81884174769 X928.275405390126 Y4233.48417633421 t0
105
+c n1 N2 x2846.49530712191 y1784.12146432662 X1587.69863114413 Y1772.46597885651 t0
106
+c n1 N2 x2657.28045333214 y2329.51140945494 X1385.59694357293 Y2295.67631794485 t0
107
+c n1 N2 x2635.43808461658 y2891.64058951642 X1348.21477109587 Y2851.36857422401 t0
108
+c n1 N2 x2772.38074836278 y4007.02002652598 X1434.50499251575 Y3940.38608541851 t0
109
+c n1 N2 x2961.36638349633 y4203.11039615002 X1610.89115776511 Y4112.83407292474 t0
110
+c n1 N2 x3288.67483770777 y1875.21920268654 X1989.9956553713 Y1896.66656121008 t0
111
+c n1 N2 x3216.76965171294 y2202.57488962827 X1915.29896884582 Y2200.62477999816 t0
112
+c n1 N2 x3378.71773084512 y3304.07313161888 X2026.12347491679 Y3243.79923197744 t0
113
+c n1 N2 x3079.99484112346 y3953.88893804 X1721.84682068445 Y3866.35092004959 t0
114
+c n1 N2 x3067.57217427213 y4149.93213696878 X1709.26025490564 Y4053.11936731819 t0
115
+c n2 N3 x1613.3890045427 y1779.46542882627 X500.576441580543 Y1732.3765823376 t0
116
+c n2 N3 x1233.71464074869 y2120.14089762838 X71.3714721074499 Y2067.98045307439 t0
117
+c n2 N3 x1278.03649919485 y3434.22567978475 X119.032611305277 Y3478.13847571245 t0
118
+c n2 N3 x1562.00735414524 y4123.96304936112 X437.891729829489 Y4195.13541893453 t0
119
+c n2 N3 x1375.56554368101 y4326.99132735787 X230.845533209922 Y4434.10806962012 t0
120
+c n2 N3 x2071.32951688215 y2010.79271103414 X975.500449505818 Y1999.86351258063 t0
121
+c n2 N3 x1915.29896884582 y2200.62477999816 X809.084029602855 Y2185.72047550416 t0
122
+c n2 N3 x1816.38823229613 y3315.71516566733 X694.835592779611 Y3333.18970902061 t0
123
+c n2 N3 x1709.26025490564 y4053.11936731819 X598.978458592707 Y4104.3874320975 t0
124
+c n2 N3 x1764.94130561698 y4254.69923899033 X658.18456450057 Y4310.08954378073 t0
125
+c n2 N3 x2475.13894222309 y1865.80481484488 X1383.72610690552 Y1877.97041375931 t0
126
+c n2 N3 x2114.94268757412 y2582.95533957566 X1010.96134352272 Y2580.0320322548 t0
127
+c n2 N3 x2087.29752457262 y3133.12667500698 X980.273939447429 Y3137.81742291611 t0
128
+c n2 N3 x2441.25194003805 y4186.97833586526 X1361.58785033395 Y4179.61844072116 t0
129
+c n2 N3 x2776.73116749852 y1559.33196019877 X1681.01839256396 Y1599.95764864072 t0
130
+c n2 N3 x2810.87630229887 y2736.95910386542 X1690.70726510908 Y2741.49513415374 t0
131
+c n2 N3 x2594.37790101061 y2996.85727068238 X1484.58850504757 Y2994.16879764738 t0
132
+c n2 N3 x2920.37325804053 y3793.98185970508 X1819.05748535951 Y3759.57613835432 t0
133
+c n2 N3 x2563.87601336652 y4438.44541441078 X1484.16352876036 Y4415.57813418095 t0
134
+c n2 N3 x3072.15841216796 y1410.73866957945 X1957.46707483537 Y1482.81623222887 t0
135
+c n2 N3 x3185.17554024522 y2618.97888343381 X2038.33012988061 Y2631.12902621872 t0
136
+c n2 N3 x2984.31451230802 y3576.20678677848 X1880.15315319006 Y3548.28807805482 t0
137
+c n2 N3 x3227.61960539469 y4746.99588798947 X2091.23342387186 Y4626.63493537581 t0
138
+c n3 N4 x1589.2057306494 y1651.42493444877 X396.813279642924 Y1602.27764735988 t0
139
+c n3 N4 x1414.02836865241 y1883.24135440203 X196.08484205176 Y1830.62476560024 t0
140
+c n3 N4 x1387.57397220272 y2635.48764846832 X145.610236587662 Y2628.82655841802 t0
141
+c n3 N4 x1588.3069501572 y3454.15459624877 X325.324480966842 Y3488.10684222275 t0
142
+c n3 N4 x1957.46707483537 y1482.81623222887 X794.276129175082 Y1464.6845836925 t0
143
+c n3 N4 x1913.20375042952 y2420.79337316843 X718.004058369029 Y2418.56958383511 t0
144
+c n3 N4 x1753.88358143023 y2669.86870760892 X543.379878119546 Y2669.8111795583 t0
145
+c n3 N4 x1880.15315319006 y3548.28807805482 X634.606076742447 Y3572.70290972587 t0
146
+c n3 N4 x1923.17984219967 y4834.18816260651 X671.095034157925 Y4896.98028356946 t0
147
+c n3 N4 x2150.68273036462 y1668.91096473212 X985.865030010006 Y1670.87612773748 t0
148
+c n3 N4 x2228.99702715295 y2045.31040616193 X1051.37378051235 Y2054.41934757751 t0
149
+c n3 N4 x2410.23917036287 y4579.10619120114 X1171.44698221284 Y4567.94847297909 t0
150
+c n3 N4 x2713.06173672517 y1318.04948762547 X1546.96165927094 Y1382.66996533315 t0
151
+c n3 N4 x2928.1248725035 y2263.72849063899 X1718.57383086975 Y2301.54974939315 t0
152
+c n3 N4 x2671.18164016399 y2556.10226448295 X1469.89887757342 Y2575.08281660504 t0
153
+c n3 N4 x2709.89978853069 y3378.03298318326 X1471.51402436681 Y3372.4397645848 t0
154
+c n3 N4 x3069.42741671111 y1187.27708265179 X1877.92830630043 Y1297.10105002663 t0
155
+c n3 N4 x3054.36866003593 y2524.55595091904 X1830.09903463239 Y2552.54334478353 t0
156
+c n3 N4 x3387.62940263593 y2859.51742517288 X2119.27892482261 Y2871.92518560624 t0
157
+c n4 N5 x1546.96165927094 y1382.66996533315 X242.961810580791 Y1343.70267134937 t0
158
+c n4 N5 x1730.71986436279 y2311.29955205944 X423.968173690552 Y2341.061945983 t0
159
+c n4 N5 x1727.53028950276 y3249.45499304293 X409.381654935011 Y3328.13390319541 t0
160
+c n4 N5 x1750.13092946698 y3560.14829424864 X409.492093371794 Y3651.20103341828 t0
161
+c n4 N5 x2084.40313016353 y1542.49871565856 X817.17099073751 Y1568.34814360691 t0
162
+c n4 N5 x1938.39430383971 y2357.72980547816 X645.330301894114 Y2397.0638361682 t0
163
+c n4 N5 x1856.39466542305 y2610.59035331672 X554.993883286766 Y2657.51613992205 t0
164
+c n4 N5 x2097.68007369262 y3722.38087196696 X779.198320924246 Y3794.00542114183 t0
165
+c n4 N5 x2127.28741075897 y4435.89719655882 X822.901228595665 Y4524.13514489227 t0
166
+c n4 N5 x2577.99986743706 y1327.4721863958 X1318.48326397411 Y1402.38046809833 t0
167
+c n4 N5 x2338.11508979374 y1802.94822072609 X1068.73793961805 Y1852.76358877147 t0
168
+c n4 N5 x2206.75013352285 y2886.43155401587 X918.245841609392 Y2940.22756169685 t0
169
+c n4 N5 x2592.60279870059 y3855.17418483524 X1282.84809266491 Y3890.84521716086 t0
170
+c n4 N5 x2347.68533933087 y4599.74772673017 X1036.1405097662 Y4659.37124336991 t0
171
+c n4 N5 x2765.62011019525 y1260.44977096674 X1499.56966877357 Y1359.06134059729 t0
172
+c n4 N5 x2923.24658404004 y1867.87046609163 X1631.60134805368 Y1954.33812614803 t0
173
+c n4 N5 x2722.35071309929 y3168.02798477244 X1427.94699518231 Y3210.35007113577 t0
174
+c n4 N5 x2816.87402474063 y3630.06781925705 X1517.1430996617 Y3656.1455207252 t0
175
+c n4 N5 x2894.93989404894 y4458.69483313303 X1576.97815944317 Y4446.11248663123 t0
176
+c n4 N5 x3023.78737096863 y1370.36031484121 X1735.68848396176 Y1490.64933466299 t0
177
+c n4 N5 x3013.08073817179 y2021.98734391847 X1711.96946137072 Y2105.09494554982 t0
178
+c n4 N5 x3247.77874079649 y2571.27603522632 X1917.88846327901 Y2632.2864258948 t0
179
+c n4 N5 x3191.39413954698 y3319.68714458415 X1861.60843813466 Y3339.48204527011 t0
180
+c n4 N5 x3067.27793223161 y4736.64019364074 X1732.654824154 Y4683.78138268646 t0
181
+c n5 N6 x1318.48326397411 y1402.38046809833 X140.251753724797 Y1342.67729047717 t0
182
+c n5 N6 x1631.60134805368 y1954.33812614803 X459.621693584516 Y1960.84280987634 t0
183
+c n5 N6 x1488.82685645977 y2462.93391528798 X277.877408279743 Y2486.72563065615 t0
184
+c n5 N6 x1517.1430996617 y3656.1455207252 X263.985116191667 Y3757.56984894961 t0
185
+c n5 N6 x1644.35719194814 y4554.60357523426 X352.330605480372 Y4718.73020435845 t0
186
+c n5 N6 x1708.2687346164 y1088.28157789048 X587.888829897369 Y1068.37348122313 t0
187
+c n5 N6 x1711.96946137072 y2105.09494554982 X538.988284670389 Y2125.08677939179 t0
188
+c n5 N6 x2041.9029615824 y2572.32801707055 X865.065878893748 Y2623.16990986896 t0
189
+c n5 N6 x1768.54667677779 y3518.9565099717 X544.290133818012 Y3601.71747661651 t0
190
+c n5 N6 x1729.70837778461 y4679.10880398338 X438.137043355451 Y4842.34887529081 t0
191
+c n5 N6 x2191.14726109791 y1262.6194285893 X1080.46743274231 Y1312.91443234193 t0
192
+c n5 N6 x2398.45969462452 y2177.75769720628 X1242.70925194829 Y2243.24203970474 t0
193
+c n5 N6 x2343.63429910967 y2484.06811523671 X1176.15125916691 Y2545.71346115821 t0
194
+c n5 N6 x2379.37999688978 y3984.77028713666 X1144.7480709311 Y4050.98725023698 t0
195
+c n5 N6 x2200.45665921383 y4418.31475209321 X956.384706115831 Y4506.85277673736 t0
196
+c n5 N6 x2657.68716054804 y1362.79899954588 X1532.10378196963 Y1467.05064439288 t0
197
+c n5 N6 x2673.76562738591 y1930.83137787563 X1521.34640607541 Y2018.93725343381 t0
198
+c n5 N6 x2974.32455439576 y2414.9070824596 X1786.70766088134 Y2503.43441984331 t0
199
+c n5 N6 x2932.5904678926 y3526.3972858148 X1715.76777914335 Y3574.50219758648 t0
200
+c n5 N6 x2635.42184673404 y4355.50447266677 X1389.4011331058 Y4400.89326025909 t0
201
+c n5 N6 x3018.27632135271 y1226.33128636721 X1872.28298280835 Y1379.33404160274 t0
202
+c n5 N6 x3105.87396094973 y2160.38488286785 X1915.42060666543 Y2267.98712343737 t0
203
+c n5 N6 x3041.4477054654 y2386.65970933554 X1848.99782072149 Y2479.43114515783 t0
204
+c n5 N6 x2984.52617920614 y4427.8743736416 X1713.77104569856 Y4439.38031280885 t0
205
+c n6 N7 x1497.80171290891 y1566.8600377174 X428.542547720459 Y1532.64111238712 t0
206
+c n6 N7 x1242.70925194829 y2243.24203970474 X118.288721396534 Y2225.42865550078 t0
207
+c n6 N7 x1276.00768865151 y2666.44123905834 X141.378944862164 Y2675.55942493715 t0
208
+c n6 N7 x1586.42007269455 y3964.92358045403 X424.248681797943 Y4044.10827096592 t0
209
+c n6 N7 x1464.8804483742 y4567.26023199882 X258.146428043209 Y4701.23041583066 t0
210
+c n6 N7 x1750.69305372569 y1567.04665364421 X698.747447264563 Y1560.84470321154 t0
211
+c n6 N7 x1701.78274917954 y1609.890402745 X646.449448108822 Y1599.23700013946 t0
212
+c n6 N7 x1744.25886535411 y2518.45948012693 X655.447582188494 Y2536.44667084788 t0
213
+c n6 N7 x1906.87087098552 y4028.55822014696 X764.21474659929 Y4087.9456780975 t0
214
+c n6 N7 x1638.82392322909 y4748.37216427769 X447.712848561494 Y4873.81129498596 t0
215
+c n6 N7 x2195.97479597615 y1579.01227137746 X1154.17647926116 Y1612.1473778197 t0
216
+c n6 N7 x2410.18840372294 y1637.1579149638 X1363.32540704687 Y1687.92557563225 t0
217
+c n6 N7 x2152.88465481717 y2799.50795472013 X1068.03926984603 Y2831.47978008256 t0
218
+c n6 N7 x2314.20299835846 y4108.04616677971 X1176.45163381034 Y4140.51615041965 t0
219
+c n6 N7 x2334.0410514218 y4588.06643842086 X1190.12489390436 Y4619.40362332494 t0
220
+c n6 N7 x2541.37308154354 y1463.66709809075 X1496.99792330948 Y1530.44077960807 t0
221
+c n6 N7 x2543.04586052098 y1779.86179429036 X1486.53720074216 Y1838.17530754599 t0
222
+c n6 N7 x2773.24410079055 y2689.87105731223 X1677.12847976163 Y2734.37615486151 t0
223
+c n6 N7 x2549.30869911447 y3344.05955289248 X1449.9991444233 Y3372.6921009814 t0
224
+c n6 N7 x2771.13828462787 y4478.05614409217 X1615.87660155735 Y4466.5124429446 t0
225
+c n6 N7 x3242.00258852497 y1463.99126151256 X2142.42556828549 Y1595.68777770035 t0
226
+c n6 N7 x3153.49432314497 y1823.04820741644 X2053.25114943511 Y1922.20283049092 t0
227
+c n6 N7 x3360.16631630414 y3153.5946332365 X2203.67796356317 Y3177.72060062575 t0
228
+c n6 N7 x3385.76787840174 y3387.23519535961 X2221.67907865839 Y3395.83443628241 t0
229
+c n6 N7 x3047.90394805561 y4244.11336491177 X1877.4875283718 Y4219.69760462896 t0
230
+c n7 N8 x1517.91788775296 y1588.42561444962 X192.882022019442 Y1531.10578968243 t0
231
+c n7 N8 x1436.52495680101 y2539.24091896943 X82.9506213412458 Y2539.19917310117 t0
232
+c n7 N8 x1677.12847976163 y2734.37615486151 X347.05748686051 Y2748.10132978863 t0
233
+c n7 N8 x1538.88092822187 y3680.44769765147 X190.077297099182 Y3755.4267708754 t0
234
+c n7 N8 x1829.51818813352 y954.193961346502 X556.139183776427 Y903.037266951476 t0
235
+c n7 N8 x2053.25114943511 y1922.20283049092 X761.547799448586 Y1922.6298743216 t0
236
+c n7 N8 x2203.67796356317 y3177.72060062575 X899.400366045658 Y3194.61013266639 t0
237
+c n7 N8 x2170.25247338045 y4044.49804263829 X870.938129279837 Y4072.99366500072 t0
238
+c n7 N8 x2169.08581839401 y4622.33083961786 X875.468046409629 Y4661.22942336844 t0
239
+c n7 N8 x2263.80458903043 y1604.31819605729 X984.537837126518 Y1616.19817138718 t0
240
+c n7 N8 x2519.69486239276 y2422.55183709642 X1220.16005746265 Y2441.00328586929 t0
241
+c n7 N8 x2410.06938094686 y3408.02943137087 X1108.2377334387 Y3417.45611264074 t0
242
+c n7 N8 x2299.30340011538 y4221.46702923847 X1004.51017114416 Y4237.96074018125 t0
243
+c n7 N8 x2413.40762106244 y4351.38400675249 X1119.96247845368 Y4353.53756843784 t0
244
+c n7 N8 x2821.09536897094 y1045.12978906302 X1542.87974261725 Y1132.32522370909 t0
245
+c n7 N8 x2869.65599182024 y2474.20886937073 X1554.7720131734 Y2499.60244173493 t0
246
+c n7 N8 x2798.02214475905 y2863.7667846215 X1482.85921278809 Y2874.20861205653 t0
247
+c n7 N8 x2723.187725419 y3896.28412349759 X1415.81873353476 Y3875.51222965924 t0
248
+c n7 N8 x3056.01684695376 y1252.74435757588 X1750.3936035139 Y1353.13427806831 t0
249
+c n7 N8 x3269.44800377739 y2250.29382981348 X1921.29250654037 Y2298.48751723253 t0
250
+c n7 N8 x3302.09718357006 y2699.50332067588 X1945.55489738879 Y2716.91893062184 t0
251
+c n7 N8 x3013.80613586198 y4114.61170108871 X1687.03360328572 Y4056.0907717561 t0
252
+c n7 N8 x3222.46074215648 y4547.34053776974 X1872.4736618315 Y4433.35954621397 t0
253
+c n0 N2 x2873.64486074723 y1704.27174652335 X142.174024128033 Y1587.10476565223 t0
254
+c n0 N2 x2813.03318208165 y1751.00184413176 X72.2699880464671 Y1625.53995790848 t0
255
+c n0 N2 x2845.66449361787 y2204.69100542378 X60.5507782543832 Y2102.54489803473 t0
256
+c n0 N2 x2887.07110719711 y2763.69597317142 X66.3241475931393 Y2687.65176219828 t0
257
+c n0 N2 x3005.41174129185 y1551.25095896613 X293.768007080359 Y1460.678876805 t0
258
+c n0 N2 x2955.33443267438 y1766.66512330593 X222.407400820934 Y1668.53457269263 t0
259
+c n0 N2 x2933.63402832345 y2387.46574870116 X140.97825691769 Y2302.80700448101 t0
260
+c n0 N2 x2958.05070980608 y2754.73951253453 X143.385535440852 Y2680.91091721527 t0
261
+c n0 N2 x3069.27677848044 y1643.01438014558 X350.746397672884 Y1567.27279496626 t0
262
+c n0 N2 x3127.00145468912 y2127.24959335318 X365.97346890601 Y2062.02262179912 t0
263
+c n0 N2 x3023.20111073524 y2409.29519617953 X232.022241722143 Y2333.96724090494 t0
264
+c n0 N2 x3075.7009626042 y2756.25935369871 X262.940217279682 Y2688.14237878383 t0
265
+c n0 N2 x3144.71775242328 y3211.25286011598 X292.624474868784 Y3144.91014619132 t0
266
+c n0 N2 x3222.0450119201 y1649.68343237838 X500.258202413056 Y1606.24843501692 t0
267
+c n0 N2 x3168.24847009752 y2079.68088604877 X410.025065164907 Y2020.16336339554 t0
268
+c n0 N2 x3222.52490209649 y2313.51832385123 X442.872710892484 Y2258.93612060382 t0
269
+c n0 N2 x3263.61371102611 y2811.36021145037 X447.040934477785 Y2749.57866345412 t0
270
+c n0 N2 x3273.65580454342 y3334.90534435249 X413.070536169176 Y3261.69919585124 t0
271
+c n0 N2 x3315.10331072145 y2006.3219693541 X561.601420455167 Y1969.71052640876 t0
272
+c n0 N2 x3399.1743396348 y2276.11228530931 X615.791553576687 Y2239.18514238695 t0
273
+c n0 N2 x3341.8741400686 y2842.58302044769 X520.050729877745 Y2782.76431330898 t0
274
+c n0 N2 x3408.25490995273 y3380.201549954 X545.246683498321 Y3300.02051860354 t0
275
+c n1 N3 x2588.45007893876 y2044.6167985587 X182.828882395599 Y1954.83413779841 t0
276
+c n1 N3 x2620.92284920551 y2363.48304564138 X197.417341661797 Y2294.70776389758 t0
277
+c n1 N3 x2635.43808461658 y2891.64058951642 X189.232771986192 Y2851.36307683356 t0
278
+c n1 N3 x2610.9285627821 y3673.21253444138 X130.03482369561 Y3681.48078740933 t0
279
+c n1 N3 x2635.69501685443 y4198.5914845601 X147.259122521683 Y4237.63315951723 t0
280
+c n1 N3 x2846.49530712191 y1784.12146432662 X472.509098943251 Y1723.50097204046 t0
281
+c n1 N3 x2733.68701354116 y2099.04658860327 X334.723101483694 Y2031.08190137098 t0
282
+c n1 N3 x2738.57172145003 y2879.79129614304 X301.733068477196 Y2839.59949693804 t0
283
+c n1 N3 x2675.51863642007 y3660.58609468206 X201.640487202247 Y3658.56995271808 t0
284
+c n1 N3 x2873.47255415047 y1788.61063086955 X500.576441580543 Y1732.3765823376 t0
285
+c n1 N3 x2974.96018328527 y2161.32959200337 X577.658838529141 Y2123.23294963376 t0
286
+c n1 N3 x2940.69134060151 y2880.06007799076 X508.635012065829 Y2842.25099572918 t0
287
+c n1 N3 x2873.40358599388 y3913.24697824591 X406.469432837655 Y3898.73414854514 t0
288
+c n1 N3 x2961.36638349633 y4203.11039615002 X492.413285024039 Y4177.7007686157 t0
289
+c n1 N3 x3215.72072939912 y1922.5949298488 X824.369927975751 Y1915.47131304519 t0
290
+c n1 N3 x3216.76965171294 y2202.57488962827 X809.084029602855 Y2185.72047550416 t0
291
+c n1 N3 x3048.47752583459 y3277.30339618368 X602.179252001456 Y3238.10881725398 t0
292
+c n1 N3 x3200.20536001094 y3675.67138209839 X733.894550238721 Y3621.96685067801 t0
293
+c n1 N3 x3067.57217427213 y4149.93213696878 X598.978458592707 Y4104.3874320975 t0
294
+c n1 N3 x3384.85495055565 y1988.86324698067 X975.500449505818 Y1999.86351258063 t0
295
+c n1 N3 x3273.0971273865 y2547.6454902843 X843.04934324702 Y2525.164106783 t0
296
+c n1 N3 x3352.98693250207 y3314.52030265242 X889.955530250775 Y3261.53145701879 t0
297
+c n1 N3 x3250.168857347 y3803.07885159639 X778.665241591175 Y3740.99086887448 t0
298
+c n2 N4 x2506.31538360007 y1869.60467918348 X196.08484205176 Y1830.62476560024 t0
299
+c n2 N4 x2541.1985440486 y2599.28218596363 X197.740184116328 Y2594.14320084878 t0
300
+c n2 N4 x2493.39329822094 y2632.43801196867 X145.610236587662 Y2628.82655841802 t0
301
+c n2 N4 x2495.47354790534 y3291.15652765268 X129.338773688686 Y3318.51988853451 t0
302
+c n2 N4 x2624.57796147476 y1655.99656349518 X336.722093485468 Y1630.35613006671 t0
303
+c n2 N4 x2703.9148659181 y2570.30514132017 X371.026168729641 Y2571.05596708344 t0
304
+c n2 N4 x2594.37790101061 y2996.85727068238 X242.929123137494 Y3007.71911166687 t0
305
+c n2 N4 x2684.25877855956 y3563.63190416361 X331.489721086846 Y3588.53594014347 t0
306
+c n2 N4 x2907.82176037833 y1514.21271869123 X631.310254062805 Y1537.12520100382 t0
307
+c n2 N4 x2908.68619417916 y2585.88030022833 X578.824287795452 Y2594.9561426228 t0
308
+c n2 N4 x2975.62972929997 y3126.3313799454 X632.675678702958 Y3131.31747327603 t0
309
+c n2 N4 x2984.31451230802 y3576.20678677848 X634.606076742447 Y3572.70290972587 t0
310
+c n2 N4 x2807.71518854392 y4135.75825420256 X456.005532066428 Y4152.77745573136 t0
311
+c n2 N4 x3154.8187034133 y1638.82690979082 X858.060160642434 Y1697.27532240644 t0
312
+c n2 N4 x3185.17554024522 y2618.97888343381 X842.046976277767 Y2635.95133249632 t0
313
+c n2 N4 x2993.52935374788 y3161.85631914444 X648.50643365686 Y3165.09078578063 t0
314
+c n2 N4 x3179.08884072998 y3769.0185404114 X818.746608562772 Y3740.08539267954 t0
315
+c n2 N4 x3097.73784328871 y4019.12793247408 X741.195181549006 Y3991.71022399481 t0
316
+c n2 N4 x3292.4516681993 y1588.63394617051 X985.865030010006 Y1670.87612773748 t0
317
+c n2 N4 x3387.86468275012 y1987.45288189023 X1051.37378051235 Y2054.41934757751 t0
318
+c n2 N4 x3371.28788564717 y3201.31808347231 X1000.07145831752 Y3189.95001826348 t0
319
+c n2 N4 x3230.47350625687 y3590.40835566345 X867.67150946259 Y3564.75105802534 t0
320
+c n2 N4 x3188.9688432956 y3949.8038004795 X825.966857164323 Y3911.7133256268 t0
321
+c n3 N5 x2713.06173672517 y1318.04948762547 X242.961810580791 Y1343.70267134937 t0
322
+c n3 N5 x2694.27140227714 y1756.06521222293 X195.470897761601 Y1789.30966470407 t0
323
+c n3 N5 x2671.18164016399 y2556.10226448295 X129.246051955886 Y2614.95005424004 t0
324
+c n3 N5 x2608.83540913374 y2881.47081226116 X47.5417051979016 Y2955.17149867001 t0
325
+c n3 N5 x2787.93552405548 y1347.84344663848 X319.724351618956 Y1392.3230034644 t0
326
+c n3 N5 x2770.43257224132 y1916.69818263672 X266.070214480084 Y1964.54792007591 t0
327
+c n3 N5 x2850.16493137145 y2342.28307479755 X326.757609617649 Y2403.82088872605 t0
328
+c n3 N5 x2791.93723278133 y2990.75082132937 X242.986543688339 Y3065.19295930859 t0
329
+c n3 N5 x2968.501303399 y1594.07464475367 X485.981698996263 Y1670.94745125264 t0
330
+c n3 N5 x2945.91566521903 y1903.96591518107 X445.798544309523 Y1974.31669903826 t0
331
+c n3 N5 x3054.36866003593 y2524.55595091904 X525.183520641056 Y2596.78562049013 t0
332
+c n3 N5 x2914.49612031989 y2798.43385075603 X374.792531131271 Y2867.89189298511 t0
333
+c n3 N5 x2959.3137751451 y3255.66006054804 X409.381654935011 Y3328.13390319541 t0
334
+c n3 N5 x3070.37069459494 y1243.42230596803 X606.997170808874 Y1349.88468358548 t0
335
+c n3 N5 x3222.61687424648 y2082.3073017868 X703.726671488132 Y2178.17514151282 t0
336
+c n3 N5 x3202.57987176204 y2340.53597333828 X674.084300695899 Y2425.4192508027 t0
337
+c n3 N5 x3112.37500744498 y2887.50928047914 X572.61607797071 Y2955.83740826921 t0
338
+c n3 N5 x3296.68939972933 y1511.44424048918 X799.994905032856 Y1647.60488661412 t0
339
+c n3 N5 x3307.66134444478 y2197.9587159144 X776.353675957415 Y2295.81888282395 t0
340
+c n3 N5 x3247.04283156799 y2211.76631365625 X720.465442767108 Y2304.88007130302 t0
341
+c n3 N5 x3387.62940263593 y2859.51742517288 X828.069870852164 Y2926.19712923007 t0
342
+c n3 N5 x3258.05262011599 y3358.00503514774 X700.608469481382 Y3407.62325531137 t0
343
+c n4 N6 x2577.99986743706 y1327.4721863958 X140.251753724797 Y1342.67729047717 t0
344
+c n4 N6 x2547.63838466141 y1991.10609083835 X53.4710806647246 Y2033.76279392748 t0
345
+c n4 N6 x2687.9623710659 y2631.77772955565 X164.14534669497 Y2719.70017509473 t0
346
+c n4 N6 x2626.83732413888 y3335.52494650688 X69.5664338775884 Y3465.63057739356 t0
347
+c n4 N6 x2835.24602561078 y1255.76989365882 X415.779058983969 Y1333.09840149814 t0
348
+c n4 N6 x2866.58155730924 y1729.01528101476 X412.902239480604 Y1812.26442022098 t0
349
+c n4 N6 x2782.10389543611 y2402.10467835591 X277.877408279743 Y2486.72563065615 t0
350
+c n4 N6 x2766.51493992295 y3157.81687757655 X228.818814329027 Y3269.25496872213 t0
351
+c n4 N6 x2816.87402474063 y3630.06781925705 X263.985116191667 Y3757.56984894961 t0
352
+c n4 N6 x3003.11703632813 y1332.61249795852 X577.693767887436 Y1445.53256170349 t0
353
+c n4 N6 x2923.24658404004 y1867.87046609163 X459.621693584516 Y1960.84280987634 t0
354
+c n4 N6 x2950.38211806467 y2231.24142526492 X464.65312984928 Y2326.54737922557 t0
355
+c n4 N6 x2905.63374270024 y2993.93063197143 X379.775703020112 Y3096.11812655782 t0
356
+c n4 N6 x3026.2024419886 y3659.61111437486 X479.037390416212 Y3763.88545063502 t0
357
+c n4 N6 x3190.36452647105 y1318.1755943916 X758.268634141914 Y1470.7653083776 t0
358
+c n4 N6 x3117.40864619111 y1799.46342414563 X654.833045944444 Y1919.86834798322 t0
359
+c n4 N6 x3094.7639727219 y2086.34578818641 X614.897371259531 Y2197.36183925098 t0
360
+c n4 N6 x3222.31746926357 y3405.16756799768 X675.311807047067 Y3493.14246846534 t0
361
+c n4 N6 x3268.44772891335 y1887.97270834364 X790.301907113046 Y2026.35130235365 t0
362
+c n4 N6 x3302.25990775224 y2060.36825926854 X810.999427354896 Y2193.98361349072 t0
363
+c n4 N6 x3300.43194099051 y2765.45829180029 X774.42135976917 Y2869.77366391943 t0
364
+c n4 N6 x3319.77083349448 y3471.47050504956 X765.575460119489 Y3551.81666104251 t0
365
+c n5 N7 x2435.16906909256 y1243.86169451224 X245.127805165349 Y1258.36862893282 t0
366
+c n5 N7 x2428.87490945963 y1387.50599025317 X225.069232683715 Y1405.3712702626 t0
367
+c n5 N7 x2398.45969462452 y2177.75769720628 X118.288721396534 Y2225.42865550078 t0
368
+c n5 N7 x2501.41311043252 y2654.74638116061 X193.489269990937 Y2739.40571641058 t0
369
+c n5 N7 x2506.0327897064 y3381.79160428031 X149.143063290705 Y3504.45227232957 t0
370
+c n5 N7 x2645.19488686623 y1329.07629671373 X459.340103640555 Y1395.80902121292 t0
371
+c n5 N7 x2673.76562738591 y1930.83137787563 X434.082653507183 Y2007.06820886085 t0
372
+c n5 N7 x2594.33287353639 y2512.2926844418 X303.620898438142 Y2591.74221473777 t0
373
+c n5 N7 x2669.13807554238 y2771.1012559501 X365.736460752071 Y2863.54660478673 t0
374
+c n5 N7 x2613.82743413185 y3442.14805084077 X264.758870784419 Y3561.60256432421 t0
375
+c n5 N7 x2944.51216907538 y1327.61527918927 X755.85138332783 Y1459.24871939718 t0
376
+c n5 N7 x2895.7609382432 y1434.54290641288 X700.315979915271 Y1554.58861584382 t0
377
+c n5 N7 x2974.32455439576 y2414.9070824596 X699.453505141728 Y2522.45681575428 t0
378
+c n5 N7 x2973.80190839879 y2768.80465332758 X676.501750048333 Y2870.99853090888 t0
379
+c n5 N7 x2928.29350274289 y3515.73961761637 X592.741246280477 Y3617.82792897235 t0
380
+c n5 N7 x3003.77740148938 y1356.12776141623 X809.377263824983 Y1498.71958832714 t0
381
+c n5 N7 x3052.42464871812 y1998.71543254111 X802.442248362163 Y2124.13133249594 t0
382
+c n5 N7 x3041.4477054654 y2386.65970933554 X765.432435052524 Y2499.59993948454 t0
383
+c n5 N7 x2984.96564591152 y2657.13767823078 X693.67488669072 Y2761.07187698296 t0
384
+c n5 N7 x3330.90453577758 y1306.27120327735 X1108.03574735218 Y1517.89549742303 t0
385
+c n5 N7 x3386.652461471 y1583.03330789571 X1136.27979719939 Y1780.14690768135 t0
386
+c n5 N7 x3335.72936084695 y2344.21585328327 X1040.52213043498 Y2481.48262979648 t0
387
+c n5 N7 x3364.55972185614 y2663.05745370594 X1046.66688720942 Y2784.17389468278 t0
388
+c n5 N7 x3218.7546710586 y3474.27297831275 X878.463730616596 Y3560.96918094182 t0
389
+c n6 N8 x2466.18377877617 y1245.20225635671 X104.778722717307 Y1221.55744317674 t0
390
+c n6 N8 x2564.71148440427 y1520.7172955399 X192.882022019442 Y1531.10578968243 t0
391
+c n6 N8 x2541.21410441427 y2303.85890458895 X118.734687645603 Y2338.14786582698 t0
392
+c n6 N8 x2550.37424892319 y2812.81995695985 X105.567232977403 Y2871.39061062062 t0
393
+c n6 N8 x2553.21096791953 y3699.84293263142 X88.4490715676181 Y3806.68077355344 t0
394
+c n6 N8 x2794.74056589321 y972.168805391016 X472.210539554855 Y1030.80520039121 t0
395
+c n6 N8 x2630.2622655772 y1780.15196153525 X244.844885357346 Y1808.15430485533 t0
396
+c n6 N8 x2773.24410079055 y2689.87105731223 X347.05748686051 Y2748.10132978863 t0
397
+c n6 N8 x2790.13601501393 y2911.92356493708 X357.901565500309 Y2973.39897246218 t0
398
+c n6 N8 x2646.22590568334 y3661.09754772841 X190.077297099182 Y3755.4267708754 t0
399
+c n6 N8 x2936.56674739839 y827.257406865911 X620.881829066467 Y928.972292941741 t0
400
+c n6 N8 x2937.18309195177 y1879.96802684746 X552.076923788101 Y1951.04699781582 t0
401
+c n6 N8 x2919.42103033926 y2573.00602285626 X500.688760984256 Y2634.07262157433 t0
402
+c n6 N8 x2952.60322909392 y2809.18327055865 X524.978451411299 Y2870.05685363274 t0
403
+c n6 N8 x3020.87652623494 y1304.97909164836 X667.031573523914 Y1404.82386773491 t0
404
+c n6 N8 x3153.49432314497 y1823.04820741644 X761.547799448586 Y1922.6298743216 t0
405
+c n6 N8 x3177.89883987328 y2654.45474555952 X745.184106242338 Y2722.06057277684 t0
406
+c n6 N8 x3064.40565764445 y2903.51330433324 X630.173607202006 Y2962.96894171909 t0
407
+c n6 N8 x3242.00258852497 y1463.99126151256 X862.337426832855 Y1597.66339120049 t0
408
+c n6 N8 x3229.3541959884 y1854.94429634142 X829.580094501462 Y1962.09656171523 t0
409
+c n6 N8 x3265.95231686667 y2630.66817534227 X827.96197168939 Y2701.49754335737 t0
410
+c n6 N8 x3399.66739673583 y3395.46459886995 X932.323266139281 Y3421.65616136321 t0
411
+c n6 N8 x3354.56475660914 y3872.21549974983 X887.014581842096 Y3872.69033735597 t0
412
+c n8 N8 x1321.92 y2154.6 X1334.88 Y2417.04 t1
413
+
414
+#hugin_optimizeReferenceImage 0
415
+#hugin_blender enblend
416
+#hugin_remapper nona
417
+#hugin_enblendOptions 
418
+#hugin_enfuseOptions 
419
+#hugin_hdrmergeOptions -m avg -c
420
+#hugin_outputLDRBlended true
421
+#hugin_outputLDRLayers false
422
+#hugin_outputLDRExposureRemapped false
423
+#hugin_outputLDRExposureLayers false
424
+#hugin_outputLDRExposureBlended false
425
+#hugin_outputLDRStacks false
426
+#hugin_outputLDRExposureLayersFused false
427
+#hugin_outputHDRBlended false
428
+#hugin_outputHDRLayers false
429
+#hugin_outputHDRStacks false
430
+#hugin_outputLayersCompression LZW
431
+#hugin_outputImageType tif
432
+#hugin_outputImageTypeCompression LZW
433
+#hugin_outputJPEGQuality 90
434
+#hugin_outputImageTypeHDR exr
435
+#hugin_outputImageTypeHDRCompression LZW
436
+#hugin_outputStacksMinOverlap 0.7
437
+#hugin_outputLayersExposureDiff 0.5
438
+#hugin_optimizerMasterSwitch 1
439
+#hugin_optimizerPhotoMasterSwitch 21

BIN
IMG_SRC/PANORAMIQUES/IMG_6038_panoramique - IMG_6046_panoramique.tif View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6038_panoramique - IMG_6046_panoramique2.tif View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6038_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6039_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6040_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6041_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6042_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6043_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6044_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6045_panoramique.JPG View File


BIN
IMG_SRC/PANORAMIQUES/IMG_6046_panoramique.JPG View File


+ 109
- 3
README.md View File

@@ -1,16 +1,122 @@
1
+INTENTIONS
2
+________________________________________________________________________
3
+
4
+
1 5
 Ce projet essai, en partant d'une IMAGE_SOURCE de :
2 6
 - appliquer des effets à l'image (auto levels)
3 7
 - la redimmensionner (en puissance de 2)
4 8
 - changer son mode de couleur (en passant à du 1 bit)
5
-- la HAACHEER (re-séquencer, de manière plus ou moins aléatoire des zones de l'image) pour produire une IMAGE_HAACHEE
9
+- la HAACHEER (re-séquencer, de manière plus ou moins aléatoire des 
10
+zones de l'image) pour produire une IMAGE_HAACHEE
6 11
 
7 12
 A partir de l'IMAGE_HAACHEE :
8 13
 - appliquer une ifft aux pixels et générer un FICHIER_AUDIO (enscribe)
9 14
 - normaliser ce fichier audio (pour une bonne amplification)
10 15
 
11 16
 A partir de l'IMAGE_HAACHEE :
12
-- appliquer HORIZONTAL qui va produire une SERIE DE N IMAGES, N correspondant aux nombres de pixels (en largeur) de l'IMAGE SOURCE
17
+- appliquer HORIZONTAL qui va produire une SERIE DE N IMAGES, N 
18
+correspondant aux nombres de pixels (en largeur) de l'IMAGE SOURCE
13 19
 
14 20
 A partir de la SERIE_DE_N_IMAGES :
15
-- produire un FICHIER_VIDEO (de l'image ZERO à l'image N) intégrant en bande son le FICHIER_AUDIO
21
+- produire un FICHIER_VIDEO (de l'image ZERO à l'image N) intégrant en 
22
+bande son le FICHIER_AUDIO
23
+
24
+
25
+
26
+PROGRAMMES
27
+________________________________________________________________________
28
+
29
+
30
+0_effets.py 	: appliquer des effets à l'IMAGE_SOURCE : IMAGE_EFFET
31
+
32
+0_hac.py 		: haacheer l'IMAGE_SOURCE pour produire IMAGE_HAACHEE
33
+
34
+1_crop.py 		: découper IMAGE_HAACHEE en de multiples images 4/3, 
35
+				  prêtes pour l'impression : IMAGE_PRINT
36
+
37
+2_video2d.py 	: transformer un fichier VIDEO_SOURCE en une image 
38
+				  reprennant et alignant une à une toutes les images de
39
+				  VIDEO_SOURCE, pour donner VIDEO_IMAGE2D
40
+
41
+3_enscribe_.sh	: tranformer l'IMAGE_SOURCE en un fchier audio, 
42
+				  constituant la piste sonore de la vidéo produite par 
43
+				  HORIZONTAL
44
+
45
+3_horizontal.py : transforme IMAGE_HAACHEE (ou une autre au choix)
46
+				  en un fichier video comportant autant d'images que de 
47
+				  colonnes dans l'image
48
+
49
+
50
+
51
+
52
+________________________________________________________________________
53
+
54
+(a) chargement_IMAGE
55
+	(1) mise à l échelle
56
+	(2) passage à 1 bit (noir|blanc)
57
+	(3) si nécessaire, conversion de format en non compressé (raw)
58
+
59
+(b) haacheuurr
60
+	(1) plusieurs mode pour les traites de coupes :
61
+		- tout le tour
62
+		- juste les bords droit/gauche (plus épais si sample plus grand 
63
+		?)
64
+		- aucun contour
65
+		- couleur blanche|noire
66
+
67
+(c) horizontal_IMAGE
68
+	(1) largeur Image (en pixels) / FPS = temps de diffusion
69
+
70
+(d) horizontal_AUDIO
71
+	(1) calcul de la FTT inverse en fonction de la hauteur de l image
72
+
73
+
74
+
75
+
76
+TODO
77
+________________________________________________________________________
78
+
79
+
80
+_IMAGE SOURCE_
81
+ + EFFECTS (auto levels)
82
+ + RESIZE (2^n)
83
+ + COLOR MODE (1 bit)
84
+ + HAACHEUUR
85
+ 	|
86
+	|_IMAGE HAACHEE
87
+	| + ENSCRIBE
88
+	| + NORMALIZE (sox)
89
+	|	|_FICHIER AUDIO
90
+	|
91
+	| + CROP
92
+	|
93
+	| + HORIZONTAL
94
+		|
95
+		|_FICHIERS IMAGES
96
+		  + FFMPEG
97
+			|_FICHIER VIDEO
98
+
99
+
100
+
101
+FFMPEG ONE LINER
102
+________________________________________________________________________
103
+
104
+#input AVI, output WEBM
105
+ffmpeg -i hachures-out-2011-01-30-12h05m57s-0.jpg.resized.jpg.avi -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output.webm
106
+
107
+#input WEBM, output WEBM + audio
108
+ffmpeg -i output.webm -i hachures-out-2011-01-30-12h05m57s-0.jpg.wav -acodec libvorbis -shortest output_audio.webm
109
+
110
+#input AVI, output webm vpx (CRF) + audio inpujt WAV, audio output libvorbis
111
+ffmpeg -i hachures-out-2011-01-30-12h05m57s-0.jpg.resized.jpg.avi -i hachures-out-2011-01-30-12h05m57s-0.jpg.wav -c:v libvpx -crf 10 -b:v 2M -c:a libvorbis -threads 4 output_audio.webm
112
+
113
+#input : suite d'images + audio (wav) output x264 mp4, audio libfaac
114
+ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -preset ultrafast -crf 32 final.mp4
115
+ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -b:v 5000k  final2.mp4
116
+# pareil mais en essayant un format de pixel en niveau de gris, ou meme 1 bit
117
+ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -vf format=gray -b:v 5000k  final2.mp4
118
+ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav  -c:a libfaac -c:v libx264 -pix_fmt monow  final3.mp4
119
+
120
+
121
+
16 122
 

+ 1
- 1
geany_run_script.sh View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 rm $0
4 4
 
5
-python "hac.py"
5
+python "0_hac.py"
6 6
 
7 7
 echo "
8 8
 

+ 42
- 0
motif.py View File

@@ -0,0 +1,42 @@
1
+#!/usr/bin/python
2
+# coding: utf-8
3
+
4
+import sys
5
+import Image
6
+import random
7
+import os
8
+import ImageDraw
9
+import ImageFont
10
+import ImageFilter
11
+from time import gmtime, strftime
12
+
13
+# MILLISECONDES
14
+from datetime import datetime
15
+dt = datetime.now()
16
+dt.microsecond
17
+heure = str(dt.hour)+"h"+str(dt.minute)+"m"+str(dt.second)+"s"+str(dt.microsecond)+"ms"
18
+
19
+
20
+image = Image.new("1", (512,512,), "white")
21
+h = image.size[0]
22
+l = image.size[1]
23
+
24
+img = ImageDraw.Draw(image)
25
+n = 0
26
+ecart = 4
27
+tranches = h / ecart
28
+while n < tranches :
29
+	rx = random.randint(0,l/2)
30
+	img.rectangle(((rx,n*tranches),(rx+l/2,n*tranches+tranches)),"white")
31
+	n = n + 1
32
+
33
+
34
+img.save(heure+".png",'PNG', quality=100)
35
+	
36
+
37
+	
38
+def txt(strii):
39
+	print strii
40
+
41
+
42
+

BIN
motif.pyc View File


Loading…
Cancel
Save