X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/canny.git/blobdiff_plain/fdf9d8855582d89072dcd1339af9f5b74a167ac6..f96233fc65ad1523ba849069ed5b7daa8f5ef9b1:/schema.dot?ds=inline

diff --git a/schema.dot b/schema.dot
index e905e97..448527e 100644
--- a/schema.dot
+++ b/schema.dot
@@ -1,20 +1,30 @@
 digraph start_up { 
-	node [style = rounded, shape = rect] IC [label="Image\nCover X "]
-	node [style = rounded, shape = rect] message [label="message"]
-	node [style = rounded, shape = rect] key 
+	node [style = rounded, shape = rect] PI [label="Choice of \n cover X"]
+	node [style = rounded, shape = rect] PIb [label="Param. b "]
+	
 
-	node [style = rounded, shape = rect] PI [label="Parameter\nInstantiation"] 		 
-	node [style = rounded, shape = rect] encrypt [label="m=encryption(message)"] 		 
-	node [style = rounded, shape = rect] STC [label="y= STC(x,m)"] 		 
-	node [style = rounded, shape = rect] emb [label="stego=embedding(y,X)"] 		 
 
-	node [style = rounded, shape = rect] start end;
-	node [style = rounded, shape = rect] ED [label="x= LSB (7 bits\nEdge Detection)"]  
+        node [style = rounded, shape = rect] message [label="Message mess"]
+	node [style = rounded, shape = rect] key [label="Key k"]
+	node [style = rounded, shape = rect] ee [label="Enlarge edges "]
+
+
+	node [style = rounded, shape = rect] encrypt [label="m=encryption(mess,k)"] 		 
+	node [style = rounded, shape = rect] STC [label="y= STC(x,m)"] 			node [style = rounded, shape = rect] sample [label="y= sample(x,m)"] 		 
+	node [style = rounded, shape = rect] emb [label="stego=embedding(y,X)"] 		 
 	
-	node [style = "", shape = diamond] cond [label="Size of x\n enough for m"]; 
+	node [style = rounded, shape = rect] start [label="Start"]
+	node [style = rounded, shape = rect] end [label="End"]
+	node [style = rounded, shape = rect] ED [label="x=edgeDetection(b bits)"]  
 	
+	node [style = "", shape = diamond] cond [label="Size of x\n enough for m"]; 
+	node [style = "", shape = diamond] condStrat [label="Strategy is fixed"]; 
+
+	node [style = "", shape = diamond] condEmb [label="Use of STC"]; 
+
 	start -> PI
-	start -> IC
+	start -> PIb
+	
 	start -> message
 	start -> key 
 
@@ -22,15 +32,28 @@ digraph start_up {
 
 
 	message -> encrypt
-	IC -> ED
 	ED -> cond
 	encrypt -> cond
-	encrypt -> STC
-	cond -> STC [label="Yes"]
-	cond -> PI [label="No"]
+	cond -> condEmb [label="Yes"]
+	cond -> condStrat [label="No"]
+
+	condEmb -> STC [label="Yes"]
+	condEmb -> sample [label="No"]
+
+
+
+	condStrat -> ee [label="Yes"]
+	condStrat -> PI [label="No"]
+
+	ee -> ED
 	
 	PI -> ED
+	PIb -> ED
 	STC -> emb
-	emb -> end
+	sample -> emb
 	
+	emb -> end
+
+	key -> sample
+
 	 }
\ No newline at end of file