24
Clustered-dot-ordered Dither Bui Hai Thanh

Clustered-dot-ordered Dither

  • Upload
    dagan

  • View
    38

  • Download
    1

Embed Size (px)

DESCRIPTION

Clustered-dot-ordered Dither. Bui Hai Thanh. Introduction. Ordered dither Fixed pattern of number (halftone cell) Two approaches Dispersed: turn on the pixel individually Clustered: group pixels to clusters Dispersed/Clustered: Depends on devices capability of displaying dots. - PowerPoint PPT Presentation

Citation preview

Page 1: Clustered-dot-ordered Dither

Clustered-dot-ordered Dither

Bui Hai Thanh

Page 2: Clustered-dot-ordered Dither

Introduction

Ordered ditherFixed pattern of number (halftone cell)Two approaches

Dispersed: turn on the pixel individuallyClustered: group pixels to clusters

Dispersed/Clustered: Depends on devices capability of displaying dots

Page 3: Clustered-dot-ordered Dither

Introduction

Clustered orderedDescribed by

Screen angleScreen frequencyDot patternLevel assignment

Page 4: Clustered-dot-ordered Dither

Introduction

Screen anglePrinting industry: clockwise fr. vertical lineFourfold symmetry: 0..90O

Color case: 45O K, 75O C, 15O M, 0O Y

Screen frequency:# of halftone cell in a unit of length (e.g.: lpi)Dot pattern: fill-in order for dot growth sequence

Page 5: Clustered-dot-ordered Dither

Introduction

Important developmentScreen functionsThreshold arrayHolladay algorithmRational/Irrational tangent screensSupercellMulticenter dot

Page 6: Clustered-dot-ordered Dither

Threshold Array

Discrete representationDot pattern in the form of threshold values2D signalUse threshold to decide if the pixel should be turned onGoal No moiré No contour Sharp and fine details

Page 7: Clustered-dot-ordered Dither

Threshold Array

5 118 160 58 17

48 201 232 170 99

129 211 252 242 150

89 191 221 181 68

38 78 140 108 27

Page 8: Clustered-dot-ordered Dither

Screen Functions

Guide for creating threshold array

Mathematical functions are usedRound dot: s(x,y)= 1-(x2+y2)

0

1

Page 9: Clustered-dot-ordered Dither

Screen Functions

Within each ring, pixels have to be in sequence Counter clockwise spiral

Classical spiral

4 5 6 1

12 13 14 7

11 16 15 8

3 10 9 24 8 10 1

11 13 14 5

7 16 15 9

3 12 6 2

Page 10: Clustered-dot-ordered Dither

Clustered Dot Design

Minimize edge/area ratio

Minimize dot center migration

Dot join strategy Boom dot Kiss dot

Cell boundary: squared vs. round

Dot growth: make the dot asymmetric

Dot gain

Page 11: Clustered-dot-ordered Dither

Some special requirements

Smooth transition: The white area on black when coverage

>50% should be the negative image of black area on white

s(x,y)=cxcos(2vxx)+ cycos(2vyy)

s(x,y)=0.5[1+sin(vxx)sin(vyy)] vx,vy : are the scaling factors for screen size

cx, cy : aspect ratio without affecting screen frequency

The negative image has a shift from positive

Page 12: Clustered-dot-ordered Dither

Tone level

With M x N screen: MN+1 level

Tone level assignment may haveUniform (linear density function)Non-uniform (non-linear density function)

Page 13: Clustered-dot-ordered Dither

Threshold operation

The darkest element growths to the percentage of average intensity

Threshold by comparing with average value. Turn on pixel with threshold level > pixel value

Direct comparison

Page 14: Clustered-dot-ordered Dither

Holladay Algorithm

Using general parallelogram Width L Height H Shift S=L-D Area: (x+u)(y+v)-xy-uv=xv+yu

Page 15: Clustered-dot-ordered Dither

Holladay Algorithm

Halftone cell can be described by an equivalent rectangular cellWidth LHeight HShift S

Page 16: Clustered-dot-ordered Dither

Postscript Halftone

Page 17: Clustered-dot-ordered Dither

Partial Dotting

Mixture of full dots

Provide details and preserve edges

Page 18: Clustered-dot-ordered Dither

Rational/Irrational Tangent Screens

Screen is rational if tangent angle is a ratio of integersHave exactly the same size and shapeLimited # of angle/frequency combinations

Irrational tangent screenSize and shape may varyCan have more combinations

Page 19: Clustered-dot-ordered Dither

Rational screen

Nishikawa

Page 20: Clustered-dot-ordered Dither

Irrational screen

Can have non integer ratiosSo can have any angle/frequencyOne or more corners are not located on junctions of grid.Cost: Different in size and shape Dot pattern and # tone level vary from cell to cell Select screen with frequency, rotate on the fly If pixel in digital grid falls between points of the

threshold array, interpolation is required

Page 21: Clustered-dot-ordered Dither

Irrational

Rotation formulax’=x cos - y sin y’=y cos + x sin

General expressionx’=(x-x0) cos - (y-y0) sin +x0

y’=(x-x0) sin + (y-y0) cos +y0

Page 22: Clustered-dot-ordered Dither

Supercell

Integer tangent has limited number

Small cell provides less choice of angle

Large cell causes the low frequency

Divide large cell into small subcells give more choices of screen angle, with increased frequency and reduce tone level

Supercell is rational cell consist of subcells, which can be varied in size/shape

Page 23: Clustered-dot-ordered Dither

Multicenter Dot

Similar to supercellCell is divided into equal partsEach partial dot has nucleus growing also with clustered approach within larger dotIncrease frequencyDrawback: slight texture contouring, and tone jump in hightlight

Page 24: Clustered-dot-ordered Dither

THANK YOU!!!