From: couchot Date: Mon, 24 Jun 2013 20:03:55 +0000 (+0200) Subject: extraction améliorée, ajout de mesure de qualité sur lena et quelques typos X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/canny.git/commitdiff_plain/a0f4d76521ca0d84f0de9ba71ecb094fc9e1af33?ds=sidebyside;hp=-c extraction améliorée, ajout de mesure de qualité sur lena et quelques typos --- a0f4d76521ca0d84f0de9ba71ecb094fc9e1af33 diff --git a/emb.ps b/emb.ps index 37a2205..ff26651 100644 --- a/emb.ps +++ b/emb.ps @@ -178,11 +178,11 @@ def %%EndSetup setupLatin1 %%Page: 1 1 -%%PageBoundingBox: 36 36 601 722 +%%PageBoundingBox: 36 36 657 722 %%PageOrientation: Portrait 0 0 1 beginpage gsave -36 36 565 686 boxprim clip newpath +36 36 621 686 boxprim clip newpath 1 1 set_scale 0 rotate 40 41 translate % PI gsave @@ -237,66 +237,66 @@ grestore gsave 1 setlinewidth 0 0 0 nodecolor -newpath 215 522 moveto -55 522 lineto +newpath 199 522 moveto +39 522 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 55 522 moveto -49 522 43 516 43 510 curveto +newpath 39 522 moveto +33 522 27 516 27 510 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 43 510 moveto -43 498 lineto +newpath 27 510 moveto +27 498 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 43 498 moveto -43 492 49 486 55 486 curveto +newpath 27 498 moveto +27 492 33 486 39 486 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 55 486 moveto -215 486 lineto +newpath 39 486 moveto +199 486 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 215 486 moveto -221 486 227 492 227 498 curveto +newpath 199 486 moveto +205 486 211 492 211 498 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 227 498 moveto -227 510 lineto +newpath 211 498 moveto +211 510 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 227 510 moveto -227 516 221 522 215 522 curveto +newpath 211 510 moveto +211 516 205 522 199 522 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -50.5 500.4 moveto 169 (x=edgeDetection\(b bits\)) alignedtext +34.5 500.4 moveto 169 (x=edgeDetection\(b bits\)) alignedtext grestore % PI->ED gsave 1 setlinewidth 0 0 0 edgecolor -newpath 68.4 559.86 moveto -79.92 550.2 93.48 538.83 105.34 528.87 curveto +newpath 63.86 559.86 moveto +73.21 550.38 84.19 539.26 93.88 529.45 curveto stroke 0 0 0 edgecolor -newpath 107.83 531.36 moveto -113.24 522.25 lineto -103.33 526 lineto +newpath 96.45 531.83 moveto +100.98 522.25 lineto +91.47 526.91 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 107.83 531.36 moveto -113.24 522.25 lineto -103.33 526 lineto +newpath 96.45 531.83 moveto +100.98 522.25 lineto +91.47 526.91 lineto closepath stroke grestore % PIb @@ -349,857 +349,879 @@ grestore gsave 1 setlinewidth 0 0 0 edgecolor -newpath 141.14 563.91 moveto -140.18 554.53 138.98 542.85 137.9 532.3 curveto +newpath 137.43 563.91 moveto +134.52 554.43 130.88 542.61 127.61 531.98 curveto stroke 0 0 0 edgecolor -newpath 141.38 531.85 moveto -136.87 522.26 lineto -134.41 532.57 lineto +newpath 130.91 530.79 moveto +124.62 522.26 lineto +124.22 532.85 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 141.38 531.85 moveto -136.87 522.26 lineto -134.41 532.57 lineto +newpath 130.91 530.79 moveto +124.62 522.26 lineto +124.22 532.85 lineto closepath stroke grestore % message gsave 1 setlinewidth 0 0 0 nodecolor -newpath 376 600 moveto -286 600 lineto +newpath 304 600 moveto +214 600 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 286 600 moveto -280 600 274 594 274 588 curveto +newpath 214 600 moveto +208 600 202 594 202 588 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 274 588 moveto -274 576 lineto +newpath 202 588 moveto +202 576 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 274 576 moveto -274 570 280 564 286 564 curveto +newpath 202 576 moveto +202 570 208 564 214 564 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 286 564 moveto -376 564 lineto +newpath 214 564 moveto +304 564 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 376 564 moveto -382 564 388 570 388 576 curveto +newpath 304 564 moveto +310 564 316 570 316 576 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 388 576 moveto -388 588 lineto +newpath 316 576 moveto +316 588 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 388 588 moveto -388 594 382 600 376 600 curveto +newpath 316 588 moveto +316 594 310 600 304 600 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -282 578.4 moveto 98 (Message mess) alignedtext +210 578.4 moveto 98 (Message mess) alignedtext grestore % encrypt gsave 1 setlinewidth 0 0 0 nodecolor -newpath 405 522 moveto -257 522 lineto +newpath 389 522 moveto +241 522 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 257 522 moveto -251 522 245 516 245 510 curveto +newpath 241 522 moveto +235 522 229 516 229 510 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 245 510 moveto -245 498 lineto +newpath 229 510 moveto +229 498 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 245 498 moveto -245 492 251 486 257 486 curveto +newpath 229 498 moveto +229 492 235 486 241 486 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 257 486 moveto -405 486 lineto +newpath 241 486 moveto +389 486 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 405 486 moveto -411 486 417 492 417 498 curveto +newpath 389 486 moveto +395 486 401 492 401 498 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 417 498 moveto -417 510 lineto +newpath 401 498 moveto +401 510 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 417 510 moveto -417 516 411 522 405 522 curveto +newpath 401 510 moveto +401 516 395 522 389 522 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -252.5 500.4 moveto 157 (m=encryption\(mess,k\)) alignedtext +236.5 500.4 moveto 157 (m=encryption\(mess,k\)) alignedtext grestore % message->encrypt gsave 1 setlinewidth 0 0 0 edgecolor -newpath 331 563.91 moveto -331 554.53 331 542.85 331 532.3 curveto +newpath 271.99 563.91 moveto +279.08 554.04 287.99 541.63 295.85 530.67 curveto stroke 0 0 0 edgecolor -newpath 334.5 532.26 moveto -331 522.26 lineto -327.5 532.26 lineto +newpath 298.9 532.43 moveto +301.89 522.26 lineto +293.21 528.34 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 334.5 532.26 moveto -331 522.26 lineto -327.5 532.26 lineto +newpath 298.9 532.43 moveto +301.89 522.26 lineto +293.21 528.34 lineto closepath stroke grestore % key gsave 1 setlinewidth 0 0 0 nodecolor -newpath 244 600 moveto -214 600 lineto +newpath 376 600 moveto +346 600 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 214 600 moveto -208 600 202 594 202 588 curveto +newpath 346 600 moveto +340 600 334 594 334 588 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 202 588 moveto -202 576 lineto +newpath 334 588 moveto +334 576 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 202 576 moveto -202 570 208 564 214 564 curveto +newpath 334 576 moveto +334 570 340 564 346 564 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 214 564 moveto -244 564 lineto +newpath 346 564 moveto +376 564 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 244 564 moveto -250 564 256 570 256 576 curveto +newpath 376 564 moveto +382 564 388 570 388 576 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 256 576 moveto -256 588 lineto +newpath 388 576 moveto +388 588 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 256 588 moveto -256 594 250 600 244 600 curveto +newpath 388 588 moveto +388 594 382 600 376 600 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -210 578.4 moveto 38 (Key k) alignedtext +342 578.4 moveto 38 (Key k) alignedtext grestore % key->encrypt gsave 1 setlinewidth 0 0 0 edgecolor -newpath 252.66 563.91 moveto -266.46 553.35 284.06 539.9 299.08 528.41 curveto +newpath 350.33 563.91 moveto +344.57 554.13 337.34 541.87 330.92 530.99 curveto stroke 0 0 0 edgecolor -newpath 301.3 531.12 moveto -307.12 522.26 lineto -297.05 525.56 lineto +newpath 333.87 529.1 moveto +325.77 522.26 lineto +327.84 532.65 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 301.3 531.12 moveto -307.12 522.26 lineto -297.05 525.56 lineto +newpath 333.87 529.1 moveto +325.77 522.26 lineto +327.84 532.65 lineto +closepath stroke +grestore +% sample +gsave +1 setlinewidth +0 0 0 nodecolor +newpath 601 184 moveto +501 184 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 501 184 moveto +495 184 489 178 489 172 curveto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 489 172 moveto +489 160 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 489 160 moveto +489 154 495 148 501 148 curveto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 501 148 moveto +601 148 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 601 148 moveto +607 148 613 154 613 160 curveto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 613 160 moveto +613 172 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 613 172 moveto +613 178 607 184 601 184 curveto +stroke +0 0 0 nodecolor +14 /Times-Roman set_font +496.5 162.4 moveto 109 (y= sample\(x,m\)) alignedtext +grestore +% key->sample +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 388.22 576.75 moveto +440.76 565.83 551 538.77 551 504 curveto +551 504 551 504 551 264 curveto +551 240.46 551 213.73 551 194.14 curveto +stroke +0 0 0 edgecolor +newpath 554.5 194.06 moveto +551 184.06 lineto +547.5 194.06 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 554.5 194.06 moveto +551 184.06 lineto +547.5 194.06 lineto closepath stroke grestore % ee gsave 1 setlinewidth 0 0 0 nodecolor -newpath 195 184 moveto -101 184 lineto +newpath 124 184 moveto +30 184 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 101 184 moveto -95 184 89 178 89 172 curveto +newpath 30 184 moveto +24 184 18 178 18 172 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 89 172 moveto -89 160 lineto +newpath 18 172 moveto +18 160 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 89 160 moveto -89 154 95 148 101 148 curveto +newpath 18 160 moveto +18 154 24 148 30 148 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 101 148 moveto -195 148 lineto +newpath 30 148 moveto +124 148 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 195 148 moveto -201 148 207 154 207 160 curveto +newpath 124 148 moveto +130 148 136 154 136 160 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 207 160 moveto -207 172 lineto +newpath 136 160 moveto +136 172 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 207 172 moveto -207 178 201 184 195 184 curveto +newpath 136 172 moveto +136 178 130 184 124 184 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -97 162.4 moveto 102 (Enlarge edges ) alignedtext +26 162.4 moveto 102 (Enlarge edges ) alignedtext grestore % ee->ED gsave 1 setlinewidth 0 0 0 edgecolor -newpath 128.36 184.04 moveto -115.27 197.46 99.19 217.03 92 238 curveto -63.24 321.83 100.59 427.26 121.96 476.41 curveto +newpath 70.19 184.03 moveto +65.14 198.41 58.69 219.18 56 238 curveto +43.35 326.57 83.49 428.93 105.54 476.75 curveto stroke 0 0 0 edgecolor -newpath 118.85 478.04 moveto -126.12 485.74 lineto -125.25 475.18 lineto +newpath 102.39 478.28 moveto +109.81 485.84 lineto +108.72 475.3 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 118.85 478.04 moveto -126.12 485.74 lineto -125.25 475.18 lineto +newpath 102.39 478.28 moveto +109.81 485.84 lineto +108.72 475.3 lineto closepath stroke grestore % cond gsave 1 setlinewidth 0 0 0 nodecolor -newpath 273 432 moveto -160 388 lineto -273 344 lineto -386 388 lineto +newpath 256 432 moveto +143 388 lineto +256 344 lineto +369 388 lineto closepath stroke 0 0 0 nodecolor 14 /Times-Roman set_font -243 393.4 moveto 60 (Size of x) alignedtext +226 393.4 moveto 60 (Size of x) alignedtext 0 0 0 nodecolor 14 /Times-Roman set_font -224.5 375.4 moveto 97 ( enough for m) alignedtext +207.5 375.4 moveto 97 ( enough for m) alignedtext grestore % encrypt->cond gsave 1 setlinewidth 0 0 0 edgecolor -newpath 321.94 485.88 moveto -315.05 472.09 305.24 452.49 296.22 434.44 curveto +newpath 305.78 485.88 moveto +298.77 472.09 288.8 452.49 279.62 434.44 curveto stroke 0 0 0 edgecolor -newpath 299.19 432.56 moveto -291.59 425.18 lineto -292.93 435.69 lineto +newpath 282.56 432.51 moveto +274.91 425.18 lineto +276.33 435.68 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 299.19 432.56 moveto -291.59 425.18 lineto -292.93 435.69 lineto +newpath 282.56 432.51 moveto +274.91 425.18 lineto +276.33 435.68 lineto closepath stroke grestore % STC gsave 1 setlinewidth 0 0 0 nodecolor -newpath 392 184 moveto -312 184 lineto +newpath 459 184 moveto +379 184 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 312 184 moveto -306 184 300 178 300 172 curveto +newpath 379 184 moveto +373 184 367 178 367 172 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 300 172 moveto -300 160 lineto +newpath 367 172 moveto +367 160 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 300 160 moveto -300 154 306 148 312 148 curveto +newpath 367 160 moveto +367 154 373 148 379 148 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 312 148 moveto -392 148 lineto +newpath 379 148 moveto +459 148 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 392 148 moveto -398 148 404 154 404 160 curveto +newpath 459 148 moveto +465 148 471 154 471 160 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 404 160 moveto -404 172 lineto +newpath 471 160 moveto +471 172 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 404 172 moveto -404 178 398 184 392 184 curveto +newpath 471 172 moveto +471 178 465 184 459 184 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -308 162.4 moveto 88 (y= STC\(x,m\)) alignedtext +375 162.4 moveto 88 (y= STC\(x,m\)) alignedtext grestore % emb gsave 1 setlinewidth 0 0 0 nodecolor -newpath 506 110 moveto -356 110 lineto +newpath 573 110 moveto +423 110 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 356 110 moveto -350 110 344 104 344 98 curveto +newpath 423 110 moveto +417 110 411 104 411 98 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 344 98 moveto -344 86 lineto +newpath 411 98 moveto +411 86 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 344 86 moveto -344 80 350 74 356 74 curveto +newpath 411 86 moveto +411 80 417 74 423 74 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 356 74 moveto -506 74 lineto +newpath 423 74 moveto +573 74 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 506 74 moveto -512 74 518 80 518 86 curveto +newpath 573 74 moveto +579 74 585 80 585 86 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 518 86 moveto -518 98 lineto +newpath 585 86 moveto +585 98 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 518 98 moveto -518 104 512 110 506 110 curveto +newpath 585 98 moveto +585 104 579 110 573 110 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -351.5 88.4 moveto 159 (stego=embedding\(y,X\)) alignedtext +418.5 88.4 moveto 159 (stego=embedding\(y,X\)) alignedtext grestore % STC->emb gsave 1 setlinewidth 0 0 0 edgecolor -newpath 371.53 147.71 moveto -381.38 138.48 393.49 127.14 404.2 117.11 curveto +newpath 438.53 147.71 moveto +448.38 138.48 460.49 127.14 471.2 117.11 curveto stroke 0 0 0 edgecolor -newpath 406.79 119.47 moveto -411.7 110.08 lineto -402.01 114.36 lineto +newpath 473.79 119.47 moveto +478.7 110.08 lineto +469.01 114.36 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 406.79 119.47 moveto -411.7 110.08 lineto -402.01 114.36 lineto +newpath 473.79 119.47 moveto +478.7 110.08 lineto +469.01 114.36 lineto closepath stroke grestore -% sample -gsave -1 setlinewidth -0 0 0 nodecolor -newpath 534 184 moveto -434 184 lineto -stroke -1 setlinewidth -0 0 0 nodecolor -newpath 434 184 moveto -428 184 422 178 422 172 curveto -stroke -1 setlinewidth -0 0 0 nodecolor -newpath 422 172 moveto -422 160 lineto -stroke -1 setlinewidth -0 0 0 nodecolor -newpath 422 160 moveto -422 154 428 148 434 148 curveto -stroke -1 setlinewidth -0 0 0 nodecolor -newpath 434 148 moveto -534 148 lineto -stroke -1 setlinewidth -0 0 0 nodecolor -newpath 534 148 moveto -540 148 546 154 546 160 curveto -stroke -1 setlinewidth -0 0 0 nodecolor -newpath 546 160 moveto -546 172 lineto -stroke -1 setlinewidth -0 0 0 nodecolor -newpath 546 172 moveto -546 178 540 184 534 184 curveto -stroke -0 0 0 nodecolor -14 /Times-Roman set_font -429.5 162.4 moveto 109 (y= sample\(x,m\)) alignedtext -grestore % sample->emb gsave 1 setlinewidth 0 0 0 edgecolor -newpath 470.9 147.71 moveto -464.54 138.84 456.8 128.02 449.82 118.28 curveto +newpath 537.9 147.71 moveto +531.54 138.84 523.8 128.02 516.82 118.28 curveto stroke 0 0 0 edgecolor -newpath 452.62 116.17 moveto -443.95 110.08 lineto -446.93 120.25 lineto +newpath 519.62 116.17 moveto +510.95 110.08 lineto +513.93 120.25 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 452.62 116.17 moveto -443.95 110.08 lineto -446.93 120.25 lineto +newpath 519.62 116.17 moveto +510.95 110.08 lineto +513.93 120.25 lineto closepath stroke grestore % end gsave 1 setlinewidth 0 0 0 nodecolor -newpath 446 36 moveto -416 36 lineto +newpath 513 36 moveto +483 36 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 416 36 moveto -410 36 404 30 404 24 curveto +newpath 483 36 moveto +477 36 471 30 471 24 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 404 24 moveto -404 12 lineto +newpath 471 24 moveto +471 12 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 404 12 moveto -404 6 410 0 416 0 curveto +newpath 471 12 moveto +471 6 477 0 483 0 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 416 0 moveto -446 0 lineto +newpath 483 0 moveto +513 0 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 446 0 moveto -452 0 458 6 458 12 curveto +newpath 513 0 moveto +519 0 525 6 525 12 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 458 12 moveto -458 24 lineto +newpath 525 12 moveto +525 24 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 458 24 moveto -458 30 452 36 446 36 curveto +newpath 525 24 moveto +525 30 519 36 513 36 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -417.5 14.4 moveto 27 (End) alignedtext +484.5 14.4 moveto 27 (End) alignedtext grestore % emb->end gsave 1 setlinewidth 0 0 0 edgecolor -newpath 431 73.71 moveto -431 65.46 431 55.54 431 46.36 curveto +newpath 498 73.71 moveto +498 65.46 498 55.54 498 46.36 curveto stroke 0 0 0 edgecolor -newpath 434.5 46.08 moveto -431 36.08 lineto -427.5 46.08 lineto +newpath 501.5 46.08 moveto +498 36.08 lineto +494.5 46.08 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 434.5 46.08 moveto -431 36.08 lineto -427.5 46.08 lineto +newpath 501.5 46.08 moveto +498 36.08 lineto +494.5 46.08 lineto closepath stroke grestore % start gsave 1 setlinewidth 0 0 0 nodecolor -newpath 200 678 moveto -170 678 lineto +newpath 216 678 moveto +186 678 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 170 678 moveto -164 678 158 672 158 666 curveto +newpath 186 678 moveto +180 678 174 672 174 666 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 158 666 moveto -158 654 lineto +newpath 174 666 moveto +174 654 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 158 654 moveto -158 648 164 642 170 642 curveto +newpath 174 654 moveto +174 648 180 642 186 642 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 170 642 moveto -200 642 lineto +newpath 186 642 moveto +216 642 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 200 642 moveto -206 642 212 648 212 654 curveto +newpath 216 642 moveto +222 642 228 648 228 654 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 212 654 moveto -212 666 lineto +newpath 228 654 moveto +228 666 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 212 666 moveto -212 672 206 678 200 678 curveto +newpath 228 666 moveto +228 672 222 678 216 678 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -167 656.4 moveto 36 (Start) alignedtext +183 656.4 moveto 36 (Start) alignedtext grestore % start->PI gsave 1 setlinewidth 0 0 0 edgecolor -newpath 157.77 645.15 moveto -139.03 634.93 113.62 621.07 91.38 608.93 curveto +newpath 173.67 646.59 moveto +151.67 635.8 120.12 620.32 93.42 607.23 curveto stroke 0 0 0 edgecolor -newpath 92.84 605.75 moveto -82.39 604.03 lineto -89.49 611.89 lineto +newpath 94.73 603.97 moveto +84.21 602.71 lineto +91.64 610.25 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 92.84 605.75 moveto -82.39 604.03 lineto -89.49 611.89 lineto +newpath 94.73 603.97 moveto +84.21 602.71 lineto +91.64 610.25 lineto closepath stroke grestore % start->PIb gsave 1 setlinewidth 0 0 0 edgecolor -newpath 175.26 641.91 moveto -170.05 632.23 163.53 620.12 157.71 609.32 curveto +newpath 187.55 641.91 moveto +180.13 631.94 170.8 619.38 162.59 608.34 curveto stroke 0 0 0 edgecolor -newpath 160.66 607.41 moveto -152.83 600.26 lineto -154.49 610.73 lineto +newpath 165.36 606.2 moveto +156.58 600.26 lineto +159.74 610.38 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 160.66 607.41 moveto -152.83 600.26 lineto -154.49 610.73 lineto +newpath 165.36 606.2 moveto +156.58 600.26 lineto +159.74 610.38 lineto closepath stroke grestore % start->message gsave 1 setlinewidth 0 0 0 edgecolor -newpath 212.12 645.51 moveto -233.4 634.14 263.42 618.1 287.97 604.99 curveto +newpath 214.45 641.91 moveto +221.87 631.94 231.2 619.38 239.41 608.34 curveto stroke 0 0 0 edgecolor -newpath 289.92 607.92 moveto -297.09 600.12 lineto -286.62 601.74 lineto +newpath 242.26 610.38 moveto +245.42 600.26 lineto +236.64 606.2 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 289.92 607.92 moveto -297.09 600.12 lineto -286.62 601.74 lineto +newpath 242.26 610.38 moveto +245.42 600.26 lineto +236.64 606.2 lineto closepath stroke grestore % start->key gsave 1 setlinewidth 0 0 0 edgecolor -newpath 195.21 641.91 moveto -200.72 632.13 207.64 619.87 213.77 608.99 curveto +newpath 228.07 648.93 moveto +251.62 639.04 286.72 623.72 324.54 604 curveto stroke 0 0 0 edgecolor -newpath 216.83 610.69 moveto -218.7 600.26 lineto -210.74 607.25 lineto +newpath 326.48 606.94 moveto +333.69 599.17 lineto +323.21 600.75 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 216.83 610.69 moveto -218.7 600.26 lineto -210.74 607.25 lineto +newpath 326.48 606.94 moveto +333.69 599.17 lineto +323.21 600.75 lineto closepath stroke grestore % ED->cond gsave 1 setlinewidth 0 0 0 edgecolor -newpath 156.56 485.88 moveto -175.99 469.55 205.14 445.04 229.41 424.64 curveto +newpath 140.41 485.88 moveto +159.69 469.55 188.63 445.04 212.73 424.64 curveto stroke 0 0 0 edgecolor -newpath 231.7 427.29 moveto -237.1 418.17 lineto -227.2 421.93 lineto +newpath 214.99 427.31 moveto +220.36 418.17 lineto +210.47 421.97 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 231.7 427.29 moveto -237.1 418.17 lineto -227.2 421.93 lineto +newpath 214.99 427.31 moveto +220.36 418.17 lineto +210.47 421.97 lineto closepath stroke grestore % condStrat gsave 1 setlinewidth 0 0 0 nodecolor -newpath 229 290 moveto -101 264 lineto -229 238 lineto -357 264 lineto +newpath 194 290 moveto +65 264 lineto +194 238 lineto +323 264 lineto closepath stroke 0 0 0 nodecolor 14 /Times-Roman set_font -173 260.4 moveto 112 (Strategy is fixed) alignedtext +137.5 260.4 moveto 113 (Strategy is fixed) alignedtext grestore % cond->condStrat gsave 1 setlinewidth 0 0 0 edgecolor -newpath 259.2 349.11 moveto -253.41 332.79 246.74 313.99 241.14 298.21 curveto +newpath 237.57 351.13 moveto +228.97 333.94 218.83 313.66 210.49 296.98 curveto stroke 0 0 0 edgecolor -newpath 244.28 296.59 moveto -237.64 288.34 lineto -237.68 298.93 lineto +newpath 213.42 295.01 moveto +205.82 287.63 lineto +207.16 298.14 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 244.28 296.59 moveto -237.64 288.34 lineto -237.68 298.93 lineto +newpath 213.42 295.01 moveto +205.82 287.63 lineto +207.16 298.14 lineto closepath stroke 0 0 0 edgecolor 14 /Times-Roman set_font -251 313.4 moveto 19 (No) alignedtext +225 313.4 moveto 19 (No) alignedtext grestore % condEmb gsave 1 setlinewidth 0 0 0 nodecolor -newpath 466 290 moveto -375 264 lineto -466 238 lineto -557 264 lineto +newpath 432 290 moveto +341 264 lineto +432 238 lineto +523 264 lineto closepath stroke 0 0 0 nodecolor 14 /Times-Roman set_font -428.5 260.4 moveto 75 (Use of STC) alignedtext +394.5 260.4 moveto 75 (Use of STC) alignedtext grestore % cond->condEmb gsave 1 setlinewidth 0 0 0 edgecolor -newpath 315.83 360.48 moveto -349.84 338.63 396.88 308.41 429.2 287.64 curveto +newpath 296.38 359.55 moveto +326.95 338.01 368.5 308.74 397.52 288.29 curveto stroke 0 0 0 edgecolor -newpath 431.39 290.4 moveto -437.91 282.05 lineto -427.6 284.51 lineto +newpath 399.57 291.13 moveto +405.73 282.51 lineto +395.54 285.41 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 431.39 290.4 moveto -437.91 282.05 lineto -427.6 284.51 lineto +newpath 399.57 291.13 moveto +405.73 282.51 lineto +395.54 285.41 lineto closepath stroke 0 0 0 edgecolor 14 /Times-Roman set_font -392 313.4 moveto 23 (Yes) alignedtext +364 313.4 moveto 23 (Yes) alignedtext grestore % condStrat->PI gsave 1 setlinewidth 0 0 0 edgecolor -newpath 200.83 284.29 moveto -155.04 319.28 66.32 395.95 34 486 curveto -26.66 506.45 28.83 530.88 32.75 549.97 curveto +newpath 168.8 285.05 moveto +127.79 321.14 48.17 399.38 18 486 curveto +10.6 507.23 17.04 531.85 25.11 550.84 curveto stroke 0 0 0 edgecolor -newpath 29.4 551.01 moveto -35.06 559.97 lineto -36.22 549.44 lineto +newpath 21.93 552.3 moveto +29.27 559.94 lineto +28.29 549.39 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 29.4 551.01 moveto -35.06 559.97 lineto -36.22 549.44 lineto +newpath 21.93 552.3 moveto +29.27 559.94 lineto +28.29 549.39 lineto closepath stroke 0 0 0 edgecolor 14 /Times-Roman set_font -49 455.4 moveto 19 (No) alignedtext +33 455.4 moveto 19 (No) alignedtext grestore % condStrat->ee gsave 1 setlinewidth 0 0 0 edgecolor -newpath 210.21 241.27 moveto -198.07 226.58 182.22 207.41 169.57 192.09 curveto +newpath 168.9 242.98 moveto +150.57 227.62 125.66 206.76 106.4 190.62 curveto stroke 0 0 0 edgecolor -newpath 171.97 189.51 moveto -162.9 184.03 lineto -166.58 193.97 lineto +newpath 108.44 187.77 moveto +98.52 184.03 lineto +103.94 193.13 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 171.97 189.51 moveto -162.9 184.03 lineto -166.58 193.97 lineto +newpath 108.44 187.77 moveto +98.52 184.03 lineto +103.94 193.13 lineto closepath stroke 0 0 0 edgecolor 14 /Times-Roman set_font -190 207.4 moveto 23 (Yes) alignedtext +140 207.4 moveto 23 (Yes) alignedtext grestore % condEmb->STC gsave 1 setlinewidth 0 0 0 edgecolor -newpath 443.2 244.4 moveto -425.27 228.99 400.17 207.41 380.84 190.8 curveto +newpath 428.65 238.76 moveto +426.84 225.11 424.6 208.22 422.73 194.15 curveto stroke 0 0 0 edgecolor -newpath 383.08 188.1 moveto -373.22 184.24 lineto -378.52 193.41 lineto +newpath 426.18 193.49 moveto +421.39 184.04 lineto +419.24 194.41 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 383.08 188.1 moveto -373.22 184.24 lineto -378.52 193.41 lineto +newpath 426.18 193.49 moveto +421.39 184.04 lineto +419.24 194.41 lineto closepath stroke 0 0 0 edgecolor 14 /Times-Roman set_font -412 207.4 moveto 23 (Yes) alignedtext +425 207.4 moveto 23 (Yes) alignedtext grestore % condEmb->sample gsave 1 setlinewidth 0 0 0 edgecolor -newpath 470.54 239.27 moveto -473.05 225.62 476.17 208.62 478.78 194.43 curveto +newpath 455.51 244.64 moveto +474.29 229.18 500.72 207.41 521.02 190.69 curveto stroke 0 0 0 edgecolor -newpath 482.29 194.69 moveto -480.65 184.22 lineto -475.4 193.43 lineto +newpath 523.25 193.39 moveto +528.75 184.33 lineto +518.8 187.98 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 482.29 194.69 moveto -480.65 184.22 lineto -475.4 193.43 lineto +newpath 523.25 193.39 moveto +528.75 184.33 lineto +518.8 187.98 lineto closepath stroke 0 0 0 edgecolor 14 /Times-Roman set_font -477 207.4 moveto 19 (No) alignedtext +505 207.4 moveto 19 (No) alignedtext grestore endpage showpage @@ -1208,7 +1230,7 @@ grestore %%EndPage: 1 %%Trailer %%Pages: 1 -%%BoundingBox: 36 36 601 722 +%%BoundingBox: 36 36 657 722 end restore %%EOF diff --git a/experiments.tex b/experiments.tex index 9da4704..8337d55 100644 --- a/experiments.tex +++ b/experiments.tex @@ -7,7 +7,7 @@ this set of cover images since this paper is more focused on the methodology than benchmarking. Our approach is always compared to Hugo~\cite{DBLP:conf/ih/PevnyFB10} and to EAISLSBMR~\cite{Luo:2010:EAI:1824719.1824720}. -The former is the less detectable information hidding tool in spatial domain +The former is the less detectable information hiding tool in spatial domain and the later is the work which is close to ours, as far as we know. @@ -35,6 +35,12 @@ The first one is widely used but does not take into account the Human Visual System (HVS). The other ones have been designed to tackle this problem. +If we apply them on the running example, +the PSNR, PSNR-HVS-M, and wPSNR values are respectively equal to +68.39, 79.85, and 89.71 for the stego Lena when $b$ is equal to 7. +If $b$ is 6, these values are respectively equal to +65.43, 77.2, and 89.35. + diff --git a/intro.tex b/intro.tex index e385cc9..deecdb7 100644 --- a/intro.tex +++ b/intro.tex @@ -73,7 +73,7 @@ the most interesting approaches being detailed in~\cite{Luo:2010:EAI:1824719.1824720} and in~\cite{DBLP:journals/eswa/ChenCL10}. In the former, the authors presents the Edge Adaptive -Image Steganography based on lsb matching revisited further denoted as to +Image Steganography based on LSB matching revisited further denoted as to EAISLSBMR. This approach selects sharper edge regions with respect to a given embedding rate: the larger the number of bits to be embedded, the coarser @@ -115,7 +115,7 @@ Doing so makes our steganographic protocol, to a certain extend, an asymmetric o To sum up, in this research work, well studied and experimented techniques of signal processing (adaptive edges detection), -coding theory (syndrome-treillis codes), and cryptography +coding theory (syndrome-trellis codes), and cryptography (Blum-Goldwasser encryption protocol) are combined to compute an efficient steganographic scheme, whose principal characteristic is to take into diff --git a/main.tex b/main.tex index 42afe92..5a7e01e 100755 --- a/main.tex +++ b/main.tex @@ -80,14 +80,14 @@ edge-based steganographic approach} %IEEEtran, journal, \LaTeX, paper, template. -\keywords{Steganography, least-significant-bit (LSB)-based steganography, edge detection, Canny filter, security, syndrome treillis code} +\keywords{Steganography, least-significant-bit (LSB)-based steganography, edge detection, Canny filter, security, syndrome trellis code} \abstracttext{A novel steganographic method called STABYLO is introduced in this research work. -Its main avantage for being is to be much lighter than the so-called +Its main advantage for being is to be much lighter than the so-called Highly Undetectable steGO (HUGO) scheme, a well known state of the art steganographic process in spatial domain. Additionally to this effectiveness, @@ -127,7 +127,7 @@ somewhat smaller, security than the well known Highly Undetectable steGO (HUGO) steganographic scheme. This edge-based steganographic approach embeds a Canny detection filter, the Blum-Blum-Shub cryptographically secure -pseudorandom number generator, together with Syndrome-Treillis Codes +pseudorandom number generator, together with Syndrome-Trellis Codes for minimizing distortion. After having introduced with details the proposed method, we have evaluated it through noise measures (namely, the PSNR, PSNR-HVS-M, @@ -147,7 +147,7 @@ be improved by replacing Canny with another edge filter. % to take into account the least significant bits too during all the % stages of the algorithm, hoping by doing so to be closer to the HUGO scores against % steganalyzers. -Other steganalyzers than the ones used in this document will be +Other steganalysers than the ones used in this document will be examined for the sake of completeness. Finally, the systematic replacement of all the LSBs of edges by binary digits provided by the BBS generator will be investigated, and the consequences of such a diff --git a/ourapproach.tex b/ourapproach.tex index f86c8ae..b007dd0 100644 --- a/ourapproach.tex +++ b/ourapproach.tex @@ -20,7 +20,7 @@ Let us first focus on the data embedding. \begin{minipage}{0.49\textwidth} \begin{center} %\includegraphics[width=5cm]{emb.pdf} - \includegraphics[scale=0.5]{emb.ps} + \includegraphics[scale=0.45]{emb.ps} \end{center} \end{minipage} \label{fig:sch:emb} @@ -29,7 +29,7 @@ Let us first focus on the data embedding. \begin{minipage}{0.49\textwidth} \begin{center} %\includegraphics[width=5cm]{rec.pdf} - \includegraphics[scale=0.5]{rec.ps} + \includegraphics[scale=0.45]{rec.ps} \end{center} \end{minipage} \label{fig:sch:ext} @@ -118,7 +118,7 @@ and the LSB of pixels if $b$ is 7. Let $x$ be the sequence of these bits. -The next section section presentsd how our scheme +The next section section presents how our scheme adapts when the size of $x$ is not sufficient for the message $m$ to embed. @@ -136,7 +136,10 @@ Practically, a set of edge pixels is computed according to the Canny algorithm with an high threshold. The message length is thus defined to be less than half of this set cardinality. -If $x$ is then to short for $m$, the message is splitted into sufficient parts. +If $x$ is then to short for $m$, the message is split into sufficient parts +and a new cover image should be used for the remaining part of the message. + + In the latter, the embedding rate is defined as a percentage between the number of modified pixels and the length of the bit message. This is the classical approach adopted in steganography. @@ -151,9 +154,11 @@ Two methods may further be applied to select bits that will be modified. The first one randomly chooses the subset of pixels to modify by applying the BBS PRNG again. This method is further denoted as to \emph{sample}. -The second one is a direct application of the +Once this set is selected, a classical LSB replacement is applied to embed the +stego content. +The second method is a direct application of the STC algorithm~\cite{DBLP:journals/tifs/FillerJF11}. -It is further referred to as \emph{adaptive+STC} and is detailled in the nex section. +It is further referred to as \emph{STC} and is detailed in the next section. @@ -177,7 +182,7 @@ It is further referred to as \emph{adaptive+STC} and is detailled in the nex se -\subsection{Minimizing Distortion with Syndrome-Treillis Codes}\label{sub:stc} +\subsection{Minimizing Distortion with Syndrome-Trellis Codes}\label{sub:stc} \input{stc} @@ -212,19 +217,25 @@ It is further referred to as \emph{adaptive+STC} and is detailled in the nex se \subsection{Data Extraction}\label{sub:extract} -The message extraction summarized in Fig.~\ref{fig:sch:ext} follows data embedding +The message extraction summarized in Fig.~\ref{fig:sch:ext} +follows the data embedding approach since there exists a reverse function for all its steps. -First of all, the same edge detection is applied (on the 7 first bits) to -get the set of LSBs, -which is sufficiently large with respect to the message size given as a key. -Then the STC reverse algorithm is applied to retrieve the encrypted message. + +More precisely, the same edge detection is applied on the $b$ first bits to +produce the sequence $y$ of LSBs. +If the STC approach has been selected in embedding, the STC reverse +algorithm is directly executed to retrieve the encrypted message. +This inverse function takes the $H$ matrix as a parameter. +Otherwise, \textit{i.e.} if the \emph{sample} strategy is retained, +the same random bit selection than in the embedding step +is executed with the same seed, given as a key. Finally, the Blum-Goldwasser decryption function is executed and the original message is extracted. \subsection{Running Example}\label{sub:xpl} In this example, the cover image is Lena -which is a 512*512 image with 256 grayscale levels. +which is a $512\times512$ image with 256 grayscale levels. The message is the poem Ulalume (E. A. Poe), which is constituted by 104 lines, 667 words, and 3754 characters, \textit{i.e.} 30032 bits. Lena and the the first verses are given in Fig.~\ref{fig:lena}. @@ -284,8 +295,8 @@ respectively 7 and 6. These edges are represented in Fig.~\ref{fig:edge} -In the former configuration, only 9320 bits are available -for embeding whereas in the latter we have 9227. +Only 9320 bits (resp. 9227 bits) are available for embedding +in the former configuration where $b$ is 7 (resp. where $b$ is 6). In the both case, about the third part of the poem is hidden into the cover. Results with \emph{adaptive+STC} strategy are presented in Fig.~\ref{fig:lenastego}. @@ -317,20 +328,19 @@ Fig.~\ref{fig:lenastego}. Finally, differences between the original cover and the stego images -are presented in Fig.~\ref{fig:lenadiff}. For each pixel pair of picel $X_{ij}$ -$Y_{ij}$, $X$ and $Y$ being the cover and the stego content respectively, -The pixel value $V_{ij}$ of the difference is defined with the following map +are presented in Fig.~\ref{fig:lenadiff}. For each pixel pair of pixel $X_{ij}$ and $Y_{ij}$ ($X$ and $Y$ being the cover and the stego content respectively), +the pixel value $V_{ij}$ of the difference is defined with the following map $$ V_{ij}= \left\{ \begin{array}{rcl} 0 & \textrm{if} & X_{ij} = Y_{ij} \\ -75 & \textrm{if} & \abs{ (X_{ij} - Y_{ij})} = 1 \\ -75 & \textrm{if} & \abs{ (X_{ij} - Y_{ij})} = 2 \\ -225 & \textrm{if} & \abs{ (X_{ij} - Y_{ij})} = 1 +75 & \textrm{if} & \abs{ X_{ij} - Y_{ij}} = 1 \\ +150 & \textrm{if} & \abs{ X_{ij} - Y_{ij}} = 2 \\ +225 & \textrm{if} & \abs{ X_{ij} - Y_{ij}} = 3 \end{array} -\right. -$$. -This function allows to emphase differences between content. +\right.. +$$ +This function allows to emphasize differences between content. \begin{figure}[t] \begin{center} diff --git a/rec.ps b/rec.ps index d853031..6a35845 100644 --- a/rec.ps +++ b/rec.ps @@ -178,646 +178,793 @@ def %%EndSetup setupLatin1 %%Page: 1 1 -%%PageBoundingBox: 36 36 420 440 +%%PageBoundingBox: 36 36 365 590 %%PageOrientation: Portrait 0 0 1 beginpage gsave -36 36 384 404 boxprim clip newpath +36 36 329 554 boxprim clip newpath 1 1 set_scale 0 rotate 40 41 translate % SI gsave 1 setlinewidth 0 0 0 nodecolor -newpath 120 324 moveto -42 324 lineto +newpath 146 472 moveto +68 472 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 42 324 moveto -36 324 30 318 30 312 curveto +newpath 68 472 moveto +62 472 56 466 56 460 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 30 312 moveto -30 300 lineto +newpath 56 460 moveto +56 448 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 30 300 moveto -30 294 36 288 42 288 curveto +newpath 56 448 moveto +56 442 62 436 68 436 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 42 288 moveto -120 288 lineto +newpath 68 436 moveto +146 436 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 120 288 moveto -126 288 132 294 132 300 curveto +newpath 146 436 moveto +152 436 158 442 158 448 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 132 300 moveto -132 312 lineto +newpath 158 448 moveto +158 460 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 132 312 moveto -132 318 126 324 120 324 curveto +newpath 158 460 moveto +158 466 152 472 146 472 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -37.5 302.4 moveto 87 (Stego Image) alignedtext +63.5 450.4 moveto 87 (Stego Image) alignedtext grestore % ED gsave 1 setlinewidth 0 0 0 nodecolor -newpath 172 252 moveto -12 252 lineto +newpath 242 364 moveto +82 364 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 12 252 moveto -6 252 0 246 0 240 curveto +newpath 82 364 moveto +76 364 70 358 70 352 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 0 240 moveto -0 228 lineto +newpath 70 352 moveto +70 340 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 0 228 moveto -0 222 6 216 12 216 curveto +newpath 70 340 moveto +70 334 76 328 82 328 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 12 216 moveto -172 216 lineto +newpath 82 328 moveto +242 328 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 172 216 moveto -178 216 184 222 184 228 curveto +newpath 242 328 moveto +248 328 254 334 254 340 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 184 228 moveto -184 240 lineto +newpath 254 340 moveto +254 352 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 184 240 moveto -184 246 178 252 172 252 curveto +newpath 254 352 moveto +254 358 248 364 242 364 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -7.5 230.4 moveto 169 (y=edgeDetection\(b bits\)) alignedtext +77.5 342.4 moveto 169 (y=edgeDetection\(b bits\)) alignedtext grestore % SI->ED gsave 1 setlinewidth 0 0 0 edgecolor -newpath 83.78 287.83 moveto -84.95 280.13 86.35 270.97 87.66 262.42 curveto +newpath 116.33 435.68 moveto +125.07 418.51 138.25 392.63 148.21 373.07 curveto stroke 0 0 0 edgecolor -newpath 91.14 262.83 moveto -89.19 252.41 lineto -84.22 261.77 lineto +newpath 151.39 374.55 moveto +152.81 364.05 lineto +145.15 371.37 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 91.14 262.83 moveto -89.19 252.41 lineto -84.22 261.77 lineto +newpath 151.39 374.55 moveto +152.81 364.05 lineto +145.15 371.37 lineto closepath stroke grestore % key gsave 1 setlinewidth 0 0 0 nodecolor -newpath 342 252 moveto -312 252 lineto +newpath 42 282 moveto +12 282 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 312 252 moveto -306 252 300 246 300 240 curveto +newpath 12 282 moveto +6 282 0 276 0 270 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 300 240 moveto -300 228 lineto +newpath 0 270 moveto +0 258 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 300 228 moveto -300 222 306 216 312 216 curveto +newpath 0 258 moveto +0 252 6 246 12 246 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 312 216 moveto -342 216 lineto +newpath 12 246 moveto +42 246 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 342 216 moveto -348 216 354 222 354 228 curveto +newpath 42 246 moveto +48 246 54 252 54 258 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 354 228 moveto -354 240 lineto +newpath 54 258 moveto +54 270 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 354 240 moveto -354 246 348 252 342 252 curveto +newpath 54 270 moveto +54 276 48 282 42 282 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -308 230.4 moveto 38 (Key k) alignedtext +8 260.4 moveto 38 (Key k) alignedtext grestore % decrypt gsave 1 setlinewidth 0 0 0 nodecolor -newpath 364 108 moveto -204 108 lineto +newpath 191 110 moveto +31 110 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 204 108 moveto -198 108 192 102 192 96 curveto +newpath 31 110 moveto +25 110 19 104 19 98 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 192 96 moveto -192 84 lineto +newpath 19 98 moveto +19 86 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 192 84 moveto -192 78 198 72 204 72 curveto +newpath 19 86 moveto +19 80 25 74 31 74 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 204 72 moveto -364 72 lineto +newpath 31 74 moveto +191 74 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 364 72 moveto -370 72 376 78 376 84 curveto +newpath 191 74 moveto +197 74 203 80 203 86 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 376 84 moveto -376 96 lineto +newpath 203 86 moveto +203 98 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 376 96 moveto -376 102 370 108 364 108 curveto +newpath 203 98 moveto +203 104 197 110 191 110 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -200 86.4 moveto 168 (message=decryption\(m\)) alignedtext +27 88.4 moveto 168 (message=decryption\(m\)) alignedtext grestore % key->decrypt gsave 1 setlinewidth 0 0 0 edgecolor -newpath 324.31 215.78 moveto -321.33 197.39 315.87 168.31 308 144 curveto -305.14 135.16 301.3 125.82 297.53 117.43 curveto +newpath 26.26 245.87 moveto +26.07 221.92 28.53 179.15 46 148 curveto +52.79 135.89 63.26 125.17 73.82 116.44 curveto stroke 0 0 0 edgecolor -newpath 300.59 115.71 moveto -293.2 108.12 lineto -294.24 118.66 lineto +newpath 76.13 119.07 moveto +81.86 110.16 lineto +71.82 113.56 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 300.59 115.71 moveto -293.2 108.12 lineto -294.24 118.66 lineto +newpath 76.13 119.07 moveto +81.86 110.16 lineto +71.82 113.56 lineto +closepath stroke +grestore +% sample +gsave +1 setlinewidth +0 0 0 nodecolor +newpath 155 184 moveto +67 184 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 67 184 moveto +61 184 55 178 55 172 curveto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 55 172 moveto +55 160 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 55 160 moveto +55 154 61 148 67 148 curveto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 67 148 moveto +155 148 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 155 148 moveto +161 148 167 154 167 160 curveto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 167 160 moveto +167 172 lineto +stroke +1 setlinewidth +0 0 0 nodecolor +newpath 167 172 moveto +167 178 161 184 155 184 curveto +stroke +0 0 0 nodecolor +14 /Times-Roman set_font +62.5 162.4 moveto 97 (m= sample\(y\)) alignedtext +grestore +% key->sample +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 42.8 245.57 moveto +55.79 230.41 74.34 208.77 88.82 191.88 curveto +stroke +0 0 0 edgecolor +newpath 91.7 193.89 moveto +95.55 184.02 lineto +86.39 189.33 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 91.7 193.89 moveto +95.55 184.02 lineto +86.39 189.33 lineto closepath stroke grestore % start gsave 1 setlinewidth 0 0 0 nodecolor -newpath 236 396 moveto -206 396 lineto +newpath 165 546 moveto +135 546 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 206 396 moveto -200 396 194 390 194 384 curveto +newpath 135 546 moveto +129 546 123 540 123 534 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 194 384 moveto -194 372 lineto +newpath 123 534 moveto +123 522 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 194 372 moveto -194 366 200 360 206 360 curveto +newpath 123 522 moveto +123 516 129 510 135 510 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 206 360 moveto -236 360 lineto +newpath 135 510 moveto +165 510 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 236 360 moveto -242 360 248 366 248 372 curveto +newpath 165 510 moveto +171 510 177 516 177 522 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 248 372 moveto -248 384 lineto +newpath 177 522 moveto +177 534 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 248 384 moveto -248 390 242 396 236 396 curveto +newpath 177 534 moveto +177 540 171 546 165 546 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -203 374.4 moveto 36 (Start) alignedtext +132 524.4 moveto 36 (Start) alignedtext grestore % start->SI gsave 1 setlinewidth 0 0 0 edgecolor -newpath 193.67 363.95 moveto -174.23 353.95 147.69 340.3 125.24 328.75 curveto +newpath 139.37 509.71 moveto +134.32 501.02 128.18 490.45 122.62 480.87 curveto stroke 0 0 0 edgecolor -newpath 126.72 325.58 moveto -116.23 324.12 lineto -123.52 331.8 lineto +newpath 125.56 478.97 moveto +117.51 472.08 lineto +119.5 482.49 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 126.72 325.58 moveto -116.23 324.12 lineto -123.52 331.8 lineto +newpath 125.56 478.97 moveto +117.51 472.08 lineto +119.5 482.49 lineto closepath stroke grestore % start->key gsave 1 setlinewidth 0 0 0 edgecolor -newpath 234.42 359.76 moveto -252.9 334.66 286.29 289.3 307.52 260.47 curveto +newpath 122.68 521.02 moveto +98.49 513.29 64.4 498.31 47 472 curveto +10.56 416.91 15.84 334.97 21.92 292.24 curveto stroke 0 0 0 edgecolor -newpath 310.57 262.22 moveto -313.68 252.09 lineto -304.94 258.07 lineto +newpath 25.4 292.68 moveto +23.46 282.26 lineto +18.48 291.61 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 310.57 262.22 moveto -313.68 252.09 lineto -304.94 258.07 lineto +newpath 25.4 292.68 moveto +23.46 282.26 lineto +18.48 291.61 lineto closepath stroke grestore % PIb gsave 1 setlinewidth 0 0 0 nodecolor -newpath 214 324 moveto -162 324 lineto +newpath 240 472 moveto +188 472 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 162 324 moveto -156 324 150 318 150 312 curveto +newpath 188 472 moveto +182 472 176 466 176 460 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 150 312 moveto -150 300 lineto +newpath 176 460 moveto +176 448 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 150 300 moveto -150 294 156 288 162 288 curveto +newpath 176 448 moveto +176 442 182 436 188 436 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 162 288 moveto -214 288 lineto +newpath 188 436 moveto +240 436 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 214 288 moveto -220 288 226 294 226 300 curveto +newpath 240 436 moveto +246 436 252 442 252 448 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 226 300 moveto -226 312 lineto +newpath 252 448 moveto +252 460 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 226 312 moveto -226 318 220 324 214 324 curveto +newpath 252 460 moveto +252 466 246 472 240 472 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -157.5 302.4 moveto 61 (Param. b) alignedtext +183.5 450.4 moveto 61 (Param. b) alignedtext grestore % start->PIb gsave 1 setlinewidth 0 0 0 edgecolor -newpath 212.67 359.83 moveto -209.03 351.88 204.67 342.37 200.64 333.57 curveto +newpath 165.82 509.71 moveto +173.65 500.66 183.23 489.58 191.78 479.69 curveto stroke 0 0 0 edgecolor -newpath 203.79 332.05 moveto -196.44 324.41 lineto -197.42 334.96 lineto +newpath 194.47 481.93 moveto +198.36 472.08 lineto +189.17 477.36 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 203.79 332.05 moveto -196.44 324.41 lineto -197.42 334.96 lineto +newpath 194.47 481.93 moveto +198.36 472.08 lineto +189.17 477.36 lineto closepath stroke grestore % PIh gsave 1 setlinewidth 0 0 0 nodecolor -newpath 270 252 moveto -214 252 lineto +newpath 309 418 moveto +253 418 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 214 252 moveto -208 252 202 246 202 240 curveto +newpath 253 418 moveto +247 418 241 412 241 406 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 202 240 moveto -202 228 lineto +newpath 241 406 moveto +241 394 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 202 228 moveto -202 222 208 216 214 216 curveto +newpath 241 394 moveto +241 388 247 382 253 382 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 214 216 moveto -270 216 lineto +newpath 253 382 moveto +309 382 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 270 216 moveto -276 216 282 222 282 228 curveto +newpath 309 382 moveto +315 382 321 388 321 394 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 282 228 moveto -282 240 lineto +newpath 321 394 moveto +321 406 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 282 240 moveto -282 246 276 252 270 252 curveto +newpath 321 406 moveto +321 412 315 418 309 418 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -210 230.4 moveto 64 (Param. H) alignedtext +249 396.4 moveto 64 (Param. H) alignedtext grestore % start->PIh gsave 1 setlinewidth 0 0 0 edgecolor -newpath 226.61 359.68 moveto -229.56 349.31 232.99 336.04 235 324 curveto -238.44 303.42 240.2 279.91 241.09 262.08 curveto +newpath 177.32 521.11 moveto +202.62 513.32 239.5 498.19 261 472 curveto +271.13 459.65 276.15 442.53 278.62 428.08 curveto stroke 0 0 0 edgecolor -newpath 244.59 262.19 moveto -241.53 252.04 lineto -237.59 261.88 lineto +newpath 282.09 428.52 moveto +280.01 418.14 lineto +275.16 427.56 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 244.59 262.19 moveto -241.53 252.04 lineto -237.59 261.88 lineto +newpath 282.09 428.52 moveto +280.01 418.14 lineto +275.16 427.56 lineto closepath stroke grestore % end gsave 1 setlinewidth 0 0 0 nodecolor -newpath 299 36 moveto -269 36 lineto +newpath 126 36 moveto +96 36 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 269 36 moveto -263 36 257 30 257 24 curveto +newpath 96 36 moveto +90 36 84 30 84 24 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 257 24 moveto -257 12 lineto +newpath 84 24 moveto +84 12 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 257 12 moveto -257 6 263 0 269 0 curveto +newpath 84 12 moveto +84 6 90 0 96 0 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 269 0 moveto -299 0 lineto +newpath 96 0 moveto +126 0 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 299 0 moveto -305 0 311 6 311 12 curveto +newpath 126 0 moveto +132 0 138 6 138 12 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 311 12 moveto -311 24 lineto +newpath 138 12 moveto +138 24 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 311 24 moveto -311 30 305 36 299 36 curveto +newpath 138 24 moveto +138 30 132 36 126 36 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -270.5 14.4 moveto 27 (End) alignedtext +97.5 14.4 moveto 27 (End) alignedtext grestore % PIb->ED gsave 1 setlinewidth 0 0 0 edgecolor -newpath 163.78 287.83 moveto -151.84 278.88 137.27 267.96 124.39 258.3 curveto +newpath 205.18 435.68 moveto +196.91 418.51 184.45 392.63 175.04 373.07 curveto stroke 0 0 0 edgecolor -newpath 126.32 255.36 moveto -116.22 252.16 lineto -122.12 260.96 lineto +newpath 178.18 371.54 moveto +170.69 364.05 lineto +171.88 374.58 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 126.32 255.36 moveto -116.22 252.16 lineto -122.12 260.96 lineto +newpath 178.18 371.54 moveto +170.69 364.05 lineto +171.88 374.58 lineto closepath stroke grestore % STC gsave 1 setlinewidth 0 0 0 nodecolor -newpath 287 180 moveto -195 180 lineto +newpath 289 184 moveto +197 184 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 195 180 moveto -189 180 183 174 183 168 curveto +newpath 197 184 moveto +191 184 185 178 185 172 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 183 168 moveto -183 156 lineto +newpath 185 172 moveto +185 160 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 183 156 moveto -183 150 189 144 195 144 curveto +newpath 185 160 moveto +185 154 191 148 197 148 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 195 144 moveto -287 144 lineto +newpath 197 148 moveto +289 148 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 287 144 moveto -293 144 299 150 299 156 curveto +newpath 289 148 moveto +295 148 301 154 301 160 curveto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 299 156 moveto -299 168 lineto +newpath 301 160 moveto +301 172 lineto stroke 1 setlinewidth 0 0 0 nodecolor -newpath 299 168 moveto -299 174 293 180 287 180 curveto +newpath 301 172 moveto +301 178 295 184 289 184 curveto stroke 0 0 0 nodecolor 14 /Times-Roman set_font -190.5 158.4 moveto 101 (m = STCr\(y,H\)) alignedtext +192.5 162.4 moveto 101 (m = STCr\(y,H\)) alignedtext grestore % PIh->STC gsave 1 setlinewidth 0 0 0 edgecolor -newpath 241.75 215.83 moveto -241.64 208.13 241.51 198.97 241.39 190.42 curveto +newpath 279.94 381.88 moveto +277.96 351.78 272.98 289.68 263 238 curveto +260.17 223.33 255.83 207.28 251.92 194.06 curveto stroke 0 0 0 edgecolor -newpath 244.89 190.36 moveto -241.26 180.41 lineto -237.9 190.46 lineto +newpath 255.17 192.71 moveto +248.91 184.16 lineto +248.47 194.74 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 244.89 190.36 moveto -241.26 180.41 lineto -237.9 190.46 lineto +newpath 255.17 192.71 moveto +248.91 184.16 lineto +248.47 194.74 lineto closepath stroke grestore % STC->decrypt gsave 1 setlinewidth 0 0 0 edgecolor -newpath 251.85 143.83 moveto -256.7 135.71 262.52 125.96 267.87 117.01 curveto +newpath 210.71 147.9 moveto +193.13 138.04 171.19 125.74 152.37 115.19 curveto stroke 0 0 0 edgecolor -newpath 270.88 118.79 moveto -273 108.41 lineto -264.87 115.2 lineto +newpath 153.85 112.01 moveto +143.41 110.17 lineto +150.43 118.12 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 270.88 118.79 moveto -273 108.41 lineto -264.87 115.2 lineto +newpath 153.85 112.01 moveto +143.41 110.17 lineto +150.43 118.12 lineto closepath stroke grestore -% ED->STC +% condEmb +gsave +1 setlinewidth +0 0 0 nodecolor +newpath 163 290 moveto +72 264 lineto +163 238 lineto +254 264 lineto +closepath stroke +0 0 0 nodecolor +14 /Times-Roman set_font +125.5 260.4 moveto 75 (Use of STC) alignedtext +grestore +% ED->condEmb gsave 1 setlinewidth 0 0 0 edgecolor -newpath 129.6 215.83 moveto -149.35 206.29 173.73 194.51 194.64 184.4 curveto +newpath 162.22 327.8 moveto +162.32 319.62 162.44 309.67 162.56 300.08 curveto stroke 0 0 0 edgecolor -newpath 196.19 187.54 moveto -203.67 180.04 lineto -193.14 181.24 lineto +newpath 166.06 299.97 moveto +162.68 289.92 lineto +159.06 299.88 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 196.19 187.54 moveto -203.67 180.04 lineto -193.14 181.24 lineto +newpath 166.06 299.97 moveto +162.68 289.92 lineto +159.06 299.88 lineto closepath stroke grestore % decrypt->end gsave 1 setlinewidth 0 0 0 edgecolor -newpath 284 71.83 moveto -284 64.13 284 54.97 284 46.42 curveto +newpath 111 73.71 moveto +111 65.46 111 55.54 111 46.36 curveto +stroke +0 0 0 edgecolor +newpath 114.5 46.08 moveto +111 36.08 lineto +107.5 46.08 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 114.5 46.08 moveto +111 36.08 lineto +107.5 46.08 lineto +closepath stroke +grestore +% condEmb->STC +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 180.36 242.74 moveto +192.49 227.87 208.76 207.94 221.68 192.11 curveto +stroke +0 0 0 edgecolor +newpath 224.48 194.22 moveto +228.09 184.26 lineto +219.06 189.79 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 224.48 194.22 moveto +228.09 184.26 lineto +219.06 189.79 lineto +closepath stroke +0 0 0 edgecolor +14 /Times-Roman set_font +212 207.4 moveto 23 (Yes) alignedtext +grestore +% condEmb->sample +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 150.94 241.27 moveto +143.29 226.85 133.35 208.12 125.3 192.95 curveto +stroke +0 0 0 edgecolor +newpath 128.35 191.22 moveto +120.57 184.03 lineto +122.16 194.51 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 128.35 191.22 moveto +120.57 184.03 lineto +122.16 194.51 lineto +closepath stroke +0 0 0 edgecolor +14 /Times-Roman set_font +138 207.4 moveto 19 (No) alignedtext +grestore +% sample->decrypt +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 111 147.71 moveto +111 139.46 111 129.54 111 120.36 curveto stroke 0 0 0 edgecolor -newpath 287.5 46.41 moveto -284 36.41 lineto -280.5 46.41 lineto +newpath 114.5 120.08 moveto +111 110.08 lineto +107.5 120.08 lineto closepath fill 1 setlinewidth solid 0 0 0 edgecolor -newpath 287.5 46.41 moveto -284 36.41 lineto -280.5 46.41 lineto +newpath 114.5 120.08 moveto +111 110.08 lineto +107.5 120.08 lineto closepath stroke grestore endpage @@ -827,7 +974,7 @@ grestore %%EndPage: 1 %%Trailer %%Pages: 1 -%%BoundingBox: 36 36 420 440 +%%BoundingBox: 36 36 365 590 end restore %%EOF diff --git a/schema.dot b/schema.dot index 62dc32c..448527e 100644 --- a/schema.dot +++ b/schema.dot @@ -35,15 +35,16 @@ digraph start_up { ED -> cond encrypt -> cond cond -> condEmb [label="Yes"] + cond -> condStrat [label="No"] condEmb -> STC [label="Yes"] condEmb -> sample [label="No"] - cond -> condStrat [label="No"] - condStrat -> PI [label="No"] condStrat -> ee [label="Yes"] + condStrat -> PI [label="No"] + ee -> ED PI -> ED @@ -53,6 +54,6 @@ digraph start_up { emb -> end - + key -> sample } \ No newline at end of file diff --git a/schema2.dot b/schema2.dot index 6c8a0ae..2af8194 100644 --- a/schema2.dot +++ b/schema2.dot @@ -9,7 +9,9 @@ digraph start_up { node [style = rounded, shape = rect] ED [label="y=edgeDetection(b bits)"] node [style = rounded, shape = rect] decrypt [label="message=decryption(m)"] + node [style = "", shape = diamond] condEmb [label="Use of STC"]; + node [style = rounded, shape = rect] sample [label= "m=sample(y)"] start -> SI start -> PIb @@ -21,9 +23,14 @@ digraph start_up { start -> key SI -> ED - ED -> STC + ED -> condEmb + + condEmb -> STC [label="Yes"] + condEmb -> sample [label="No"] + key -> sample STC -> decrypt + sample -> decrypt key -> decrypt decrypt -> end