X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=config%2Fthresholds.xml;h=02b96a85af5238aa86c023ad1821d435b29917e1;hb=5038b4de8d89897e932df0a35bcf7677a47080f0;hp=a55bb0ad009f58e9dce4c841e14dddd1e1cd12de;hpb=3ed852eea50f9d4cd633efb8c2b054b8e33c2530;p=imagemagick diff --git a/config/thresholds.xml b/config/thresholds.xml index a55bb0ad0..02b96a85a 100644 --- a/config/thresholds.xml +++ b/config/thresholds.xml @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + ]> - Threshold Non-Dither + Threshold 1x1 (non-dither) 1 - Checkerboard Dither + Checkerboard 2x1 (dither) 1 2 2 1 @@ -69,10 +71,10 @@ - Ordered 2x2 Diffused Pixel + Ordered 2x2 (dispersed) 1 3 4 2 @@ -80,7 +82,7 @@ - Ordered 4x4 Diffused Pixel + Ordered 3x3 (dispersed) 3 7 4 6 1 9 @@ -93,7 +95,7 @@ From "Dithering Algorithms" http://www.efg2.com/Lab/Library/ImageProcessing/DHALF.TXT --> - Ordered 4x4 Diffused Pixel + Ordered 4x4 (dispersed) 1 9 3 11 13 5 15 7 @@ -104,7 +106,7 @@ - Ordered 8x8 Diffused Pixel + Ordered 8x8 (dispersed) 1 49 13 61 4 52 16 64 33 17 45 29 36 20 48 32 @@ -121,8 +123,11 @@ Halftones - Angled 45 degrees Initially added to ImageMagick by Glenn Randers-Pehrson, IM v6.2.8-6, - modified to be more halftone-like by Anthony, IM v6.2.9-7 Larger halftone - patterns still needed to be added. + modified to be more symmetrical with intensity by Anthony, IM v6.2.9-7 + + These patterns initially start as circles, but then form diamonds + pattern at the 50% threshold level, before forming negated circles, + as it approached the other threshold extereme. --> Halftone 4x4 (angled) @@ -166,6 +171,10 @@ Initially added by Anthony Thyssen, IM v6.2.9-5 using techniques from "Dithering & Halftoning" by Gernot Haffmann http://www.fho-emden.de/~hoffmann/hilb010101.pdf + + These patterns initially start as circles, but then form square + pattern at the 50% threshold level, before forming negated circles, + as it approached the other threshold extereme. --> Halftone 4x4 (orthogonal) @@ -230,6 +239,96 @@ + + + + Circles 5x5 (black) + + 1 21 16 15 4 + 5 17 20 19 14 + 6 21 25 24 12 + 7 18 22 23 11 + 2 8 9 10 3 + + + + + + Circles 5x5 (white) + + 25 21 10 11 22 + 20 9 6 7 12 + 19 5 1 2 13 + 18 8 4 3 14 + 24 17 16 15 23 + + + + + Circles 6x6 (black) + + 1 5 14 13 12 4 + 6 22 28 27 21 11 + 15 29 35 34 26 20 + 16 30 36 33 25 19 + 7 23 31 32 24 10 + 2 8 17 18 9 3 + + + + + Circles 6x6 (white) + + 36 32 23 24 25 33 + 31 15 9 10 16 26 + 22 8 2 3 11 17 + 21 7 1 4 12 18 + 30 14 6 5 13 27 + 35 29 20 19 28 34 + + + + + Circles 7x7 (black) + + 3 9 18 28 17 8 2 + 10 24 33 39 32 23 7 + 19 34 44 48 43 31 16 + 25 40 45 49 47 38 27 + 20 35 41 46 42 29 15 + 11 21 36 37 28 22 6 + 4 12 13 26 14 5 1 + + + + + + Circles 7x7 (white) + + 47 41 32 22 33 42 48 + 40 26 17 11 18 27 43 + 31 16 6 2 7 19 34 + 25 10 5 1 3 12 23 + 30 15 9 4 8 20 35 + 39 29 14 13 21 28 44 + 46 38 37 24 36 45 49 + + + +