25
PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National Laboratory Computation Institute University of Chicago

PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

Embed Size (px)

Citation preview

Page 1: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Pixel Aligned Warpingfor

Multiprojector Tiled Displays

Mark Hereld and Rick StevensArgonne National Laboratory

Computation InstituteUniversity of Chicago

Page 2: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Introduction

Warping image content into projector frame buffers is a fact of life

Driven by geometrical constraints Never driven by clarity constraint

except in that geometrical constraints are sometimes driven by alignment with nearby or overlapping projected content

What if content crispness is more important?

Page 3: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

pfcutoff 2

1

Pixel Exploit

Nyquist and the pixelLone illuminated pixel contains high frequency

components well beyond Nyquist cutoffAnti-aliasing techniques are the standard

antidote when sharp features don’t fall on pixel boundaries

Often exploited to represent thin, crisp featuresGraphics: single pixel width horizontal and

vertical lines, and pointsText: sharp and sometimes small fonts

Page 4: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Example

Page 5: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Warped

)),(),,((),( yxfyxfvu vu

Page 6: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Nearest Neighbor

Plate

Rift Line

)),(),,((),( yxfyxfROUNDvu vu

Page 7: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Warped w/Rifts

Page 8: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Detail

Page 9: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Possible Approaches

Modified nearest neighbor: soften rift boundary Stretch rift lines to avoid cutting through important stuff Perturb warp according to local measure of steepness Minimize an energy function that includes terms

reflecting affinity of features for pixel boundaries and gives weight to keeping proximal features together

Crystallize pixel values around nucleation centers related to locations of high-contrast features in the image

Segment the image into unwarpable islands of content

X coordinate of pixel

plateplate

rift

dX

of

warp

Page 10: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Possible Approaches

Modified nearest neighbor: soften rift boundary Stretch rift lines to avoid cutting through important stuff Perturb warp according to local measure of steepness Minimize an energy function that includes terms

reflecting affinity of features for pixel boundaries and gives weight to keeping proximal features together

Crystallize pixel values around nucleation centers related to locations of high-contrast features in the image

Segment the image into unwarpable islands of content

Page 11: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Possible Approaches

Modified nearest neighbor: soften rift boundary Stretch rift lines to avoid cutting through important stuff Perturb warp according to local measure of steepness Minimize an energy function that includes terms

reflecting affinity of features for pixel boundaries and gives weight to keeping proximal features together

Crystallize pixel values around nucleation centers related to locations of high-contrast features in the image

Segment the image into unwarpable islands of content)]),(),,(([),(

)],(),,([)),(1(],[

yxfyxfROUNDyxCONSTRAST

yxfyxfyxCONTRASTvu

vu

vu

Page 12: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Possible Approaches

Modified nearest neighbor: soften rift boundary Stretch rift lines to avoid cutting through important stuff Perturb warp according to local measure of steepness Minimize an energy function that includes terms

reflecting affinity of features for pixel boundaries and gives weight to keeping proximal features together

Crystallize pixel values around nucleation centers related to locations of high-contrast features in the image

Segment the image into unwarpable islands of content

x,y

u,v

f0u,f0v

Ci-1.Ci Ci

.Ci+1

k k k

feature blocking energy

target warp term

pixel mis-alignment

penalty

fu,fv

Page 13: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Possible Approaches

Modified nearest neighbor: soften rift boundary Stretch rift lines to avoid cutting through important stuff Perturb warp according to local measure of steepness Minimize an energy function that includes terms

reflecting affinity of features for pixel boundaries and gives weight to keeping proximal features together

Crystallize pixel values around nucleation centers related to locations of high-contrast features in the image

Segment the image into unwarpable islands of content

Page 14: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Possible Approaches

Modified nearest neighbor: soften rift boundary Stretch rift lines to avoid cutting through important stuff Perturb warp according to local measure of steepness Minimize an energy function that includes terms

reflecting affinity of features for pixel boundaries and gives weight to keeping proximal features together

Crystallize pixel values around nucleation centers related to locations of high-contrast features in the image

Segment the image into unwarpable islands of content

Page 15: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Islands in the Ocean

Lock contiguous blocks of high contrast pixels, islands, to one another and to nearest plate

Warp everything else, the ocean, in the usual fashion

Don’t worry about possible artifacts around the edges of the islands, the beaches

Page 16: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Algorithm Compute contrast of each pixel

w.r.t. 3x3 neighborhood Binarize Consolidate into islands

Morphological fill & open Pin island coordinates

to plate containing island centroid Warp ocean Transfer islands into warped ocean

cut-and-paste unwarped

9.0)(

)(

minmax

minmax II

II

Page 17: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Example

Page 18: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Contrast

Page 19: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Labeled

Page 20: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Labeled w/Rifts

Page 21: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

PAW

Page 22: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Warped

Page 23: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Results

Interesting notion Simple algorithm

Islands in the Ocean

Very effectiveExcept when it’s

not• See “Weaknesses”

Large warpsRotationKeystone

Tiling introduces new problemsOverlap or

abutting

Large islandsCollisions

Strengths Weaknesses

Page 24: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Future

Robust rules for handling pathological cases gracefully

Fast implementation compatible with hardware accelerators

Handle blending areas in tiled displays Awareness of horizontal and vertical features

allow lines to stretch or shrink but not kink

Apply to image scaling Particularly high res laptop display driving XGA

projector

Page 25: PROCAMS 2005 San Diego Futures Laboratory MCS ANL CI UC Pixel Aligned Warping for Multiprojector Tiled Displays Mark Hereld and Rick Stevens Argonne National

PROCAMS 2005San Diego

Futures LaboratoryMCS ANL CI UC

Summary

Pixel edges are commonly exploited to represent sub-Nyquist features

Warping can degrade this crispness

Many approaches to pixel aligned warping that could preserve much of this crispness at the expense of geometrical accuracy

Islands in the Ocean is effective