49
1/15/2007 Mohanty 1 Design of a Design of a Image Watermarking Image Watermarking Low Low - - Power Chip Power Chip Saraju P. Mohanty VLSI Design and CAD Laboratory (VDCL) Dept of Computer Science and Engineering University of North Texas. Email: [email protected]

Design of a Image Watermarking Low-Power Chip€¦ · Email: [email protected]. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 1

Design of a Design of a Image Watermarking Image Watermarking

LowLow--Power Chip Power Chip

Saraju P. MohantyVLSI Design and CAD Laboratory (VDCL)

Dept of Computer Science and EngineeringUniversity of North Texas.

Email: [email protected]

Page 2: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 2

Outline of the TalkOutline of the Talk

IntroductionWhy Low Power ?Related WorksWatermarking AlgorithmsProposed ArchitecturePrototype Chip ImplementationConclusions

Page 3: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 3

NanoNano--CMOS Based SystemsCMOS Based Systems

Almost the entire electronic appliance industry today is driven by CMOS technology.

Energy costs, Battery life,

Cooling costs

?

Low Power Design

Page 4: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 4

Power Dissipation in Power Dissipation in NanoNano--CMOS CMOS Based SystemsBased Systems

Total Power DissipationTotal Power Dissipation

Static Dissipation Dynamic Dissipation

Sub-threshold Leakage

Gate Leakage

Reverse-biased diode Leakage

Capacitive Switching Current

Short Circuit CurrentTransient Gate Leakage

Page 5: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 5

Our LowOur Low--Power Design Approach Power Design Approach

Adjust the frequency and supply voltage in a co-coordinated manner to reduce dynamic power while maintaining performance.

Page 6: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 6

Digital Watermarking ?Digital Watermarking ?It is

mine No, It is mine

Owner

Researcher

Whose is it this ?How to know ?What’s the solution of this ownership problem?

Solution: “WATERMARKING”

Multimedia Object

Hacker

Page 7: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 7

Digital Watermarking ?Digital Watermarking ?

Digital watermarking is a process for embedding data (watermark) into a multimedia object for its copyright protection and authentication.

TypesVisible and InvisibleSpatial/DCT/ WaveletRobust and Fragile

Page 8: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 8

An Watermarked Image (from IBM)An Watermarked Image (from IBM)

Page 9: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 9

Another Example Another Example …………....

Page 10: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 10

Watermarking: General Watermarking: General FrameworkFramework

Encoder: Inserts the watermark into the host imageDecoder: Decodes or extracts the watermark from imageComparator: Verifies if extracted watermark matches with the inserted one

Page 11: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 11

Why Hardware Implementation ?Why Hardware Implementation ?Hardware implementations of watermarking algorithms necessary for various reasons:

Easy integration with multimedia hardware, such as digital camera, camcorder, etc.Low powerHigh performanceReliableReal time applications

Page 12: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 12

Previous WorkPrevious Work(Hardware based Watermarking)(Hardware based Watermarking)

37.6 µW

0.13µSpatialImageInvisibleFragile

Garimella, 2003

NA0.18µWaveletImageInvisibleRobust

Mathai, 2003

62.8 mW

0.35µDCTVideoInvisibleRobust

Tsai and Lu 2001

NANASpatialVideoInvisible Robust

Strycker, 2000

Chip Power

Technology

DomainTarget Object

TypeWork

Page 13: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 13

Previous Work: SummaryPrevious Work: SummaryMany software implementations of watermarking algorithms.Only few hardware implementations.Just one hardware implementation in frequency domain which can insert only invisible watermark.All other implementations in spatial domain.

Page 14: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 14

Highlights of our Designed Chip Highlights of our Designed Chip

DCT domain ImplementationFirst to insert both visible and / or invisible watermarkFirst Low Power Design for watermarking using dual voltage and dual frequencyUses Pipelined / Parallelization for better performance

Page 15: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 15

Watermarking through JPEG Watermarking through JPEG EncoderEncoder

D

C

T

Watermark

Insertion

Module

QuantizerEntropyEncoder

Watermark Quantization Table

OutputImage

InputImage

Encoder model

Page 16: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 16

Watermarking in Digital CameraWatermarking in Digital Camera

Input ImageSensor

A/DConverter

DSPProcessor

Memory(Flash, SDRAM)Watermarking

Controller

WatermarkingDatapath

Controllerand

Interface

Watermarking Processor Output

Page 17: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 17

Invisible Algorithm ImplementedInvisible Algorithm Implemented

1. Divide the original image into blocks.2. Calculate the DCT coefficients of all the

image blocks.3. Generate random numbers to use as

watermark.4. Consider the three largest AC-DCT

coefficients of an image block for watermark insertion.

Reference: I.J. Cox, et. al., “Secure Spread Spectrum Watermarking for Multimedia”, IEEE transactions on Image Processing, 1997.

Page 18: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 18

Visible Algorithm ImplementedVisible Algorithm Implemented1. Divide Original and watermark image into blocks.2. Calculate DCT coefficients of all the blocks.3. Find the edge blocks in the original image.4. Find the local and global statistics of original image

using DC-DCT and AC-DCT coefficients.5. The mean of DC-DCT coefficients and mean and the

variance of AC-DCT coefficients are useful.6. Calculate the Scaling and embedding factors.7. Add the original image DCT coefficients and the

watermark DCT coefficients block by block.Reference: S. P. Mohanty, and et. al., "A DCT Domain Visible Watermarking Technique for Images", Proc. of the IEEE ICME 2000.

Page 19: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 19

The Proposed ArchitectureThe Proposed Architecture

Page 20: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 20

The Proposed ArchitectureThe Proposed Architecture(Different Modules)(Different Modules)

DCT Module: Calculates the DCT coefficients.Edge Detection Module: Determines edge blocks.Perceptual Analyzer Module: Determines perceptually significant regions using original image statistics.Scaling and Embedding Factor Module: Determines the scaling and embedding factors for visible watermark insertion.Watermark Insertion Module: Inserts the watermarkRandom Number Generator Module: Generates random numbers.

Page 21: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 21

The Proposed ArchitectureThe Proposed Architecture(DCT Module)(DCT Module)

•Computes DCT of a 4x4 block

•Both DCTX and DCTY modules have similar architectures

Page 22: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 22

The Proposed ArchitectureThe Proposed Architecture(DCT Module)(DCT Module)

DCT module implements the following equations:x00=((in00*c00) + (in01*c01) + (in02*c02) + (in03*c03))x10=((in10*c00) + (in11*c01) + (in12*c02) + (in13*c03))x20=((in20*c00) + (in21*c01) + (in22*c02) + (in23*c03)) x30=((in30*c00) + (in31*c01) + (in32*c02) + (in33*c03))

NOTE: inij – input, cij – constants, xij – coefficients16 multiplications and 12 additions involved

Page 23: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 23

The Proposed ArchitectureThe Proposed Architecture(DCT Module)(DCT Module)

Page 24: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 24

The Proposed ArchitectureThe Proposed Architecture(Edge Detection Module)(Edge Detection Module)

∑∑=m n

IkBB

AC nmcNNIk

|),(|*1μ

|)(|||Im Ikax ACAC Max μμ =

||||Im axIk ACAC μτμ >

•Compute from AC-DCT:

•Find the maximum:

•Declare edge block if:

Page 25: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 25

The Proposed ArchitectureThe Proposed Architecture(Edge Detection Module)(Edge Detection Module)

Page 26: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 26

The Proposed ArchitectureThe Proposed Architecture(Perceptual Analyzer Module)(Perceptual Analyzer Module)

Page 27: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 27

The Proposed ArchitectureThe Proposed Architecture(Perceptual Analyzer Module)(Perceptual Analyzer Module)

Page 28: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 28

The Proposed ArchitectureThe Proposed Architecture(Scaling and Embedding Factor Module)(Scaling and Embedding Factor Module)

Page 29: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 29

The Proposed ArchitectureThe Proposed Architecture(Scaling and Embedding Factor Module)(Scaling and Embedding Factor Module)

Page 30: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 30

The Proposed ArchitectureThe Proposed Architecture(Invisible Insertion Module)(Invisible Insertion Module)

Invisible insertion process:

kII kkWcc αω+=

Page 31: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 31

The Proposed ArchitectureThe Proposed Architecture(Visible Insertion Module)(Visible Insertion Module)

Visible insertion process:

kkkW WkIkI ccc βα +=

Page 32: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 32

The Proposed Architecture: The Proposed Architecture: Pipeline and Parallelism Pipeline and Parallelism

Page 33: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 33

The Proposed Architecture: The Proposed Architecture: Dual Voltage and FrequencyDual Voltage and Frequency

Page 34: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 34

Dual Voltage: Level ConvertersDual Voltage: Level Converters

Level converters required to step up the low voltage to high voltage.Traditional level converter: Differential CascodeVoltage Switch (DCVS).In this work: Single Supply Level Converters –faster, better power consumption, needs single voltage supply only.

Reference: R.Puri et. al., “Pushing ASIC performance in a power envelope” in the Proceedings of the Design Automation Conference, 2003, pp. 788-793

Page 35: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 35

Layout and Schematic of SSLVLayout and Schematic of SSLV

Page 36: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 36

Prototype Implementation: FlowPrototype Implementation: FlowAlgorithm selection and MATLAB/Simulinksimulation and verification.FPGA based prototypingStandard cell implementation

Top-down hierarchical approach

Page 37: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 37

Prototype Chip Implementation: Prototype Chip Implementation: Design FlowDesign Flow

VHDL

Structural Netlist Generation

Placement and Routing

Abstract Generation

Layout

Design Constraints Technology file

Layout Exchange Format (LEF)

Design Exchange Format (DEF)

DRC and Extraction RulesRedo Design

Normal Flow

Page 38: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 38

Prototype Chip Implementation: Prototype Chip Implementation: Tools UsedTools Used

Standard Cell Design Style adopted. Standard Cells obtained from Virginia Tech. Technology: TSMC 0.25 µm

Power and delay calculationsSynopsys Nanosim

Abstract generationCadence Abstract Generator

Layout EditingCadence Virtuose tool

Layout, Placement and routingCadence Silicon Ensemble

Verilog netlist generationSynopsys Design Analyzer

VHDL simulatorCadence NClaunchPurposeTools

Page 39: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 39

Design Flow Example: VHDL Design Flow Example: VHDL CodeCode

Page 40: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 40

Design Flow Example: Design Flow Example: Synthesized Verilog NetlistSynthesized Verilog Netlist

Page 41: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 41

Design Flow Example: Design Flow Example: Placement and RoutingPlacement and Routing

Page 42: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 42

Design Flow Example: LayoutDesign Flow Example: Layout

Page 43: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 43

Design Flow Example: Design Flow Example: Abstract GenerationAbstract Generation

Page 44: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 44

Overall Prototype Chip: LayoutOverall Prototype Chip: Layout

Page 45: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 45

Prototype Chip: Floor planPrototype Chip: Floor plan

ImageDCT_XModule

Invisible InsertionModule

WatermarkDCT_X Module

Visible InsertionModule

ImageDCT_YModule

WatermarkDCT_Y Module

EdgeDetectionModule

PerceptualAnalyzerModule

Scaling andEmbedding

FactorModule

Page 46: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 46

Prototype Chip: Pin diagramPrototype Chip: Pin diagramvdd1 vdd2

Low Power ChipLow Power Chip

for for

Image Image

WatermarkingWatermarking

Original Image

Watermark Image

alpha

I/V’

enablereset

clk1clk2

Watermarked Image

busy

done

Page 47: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 47

Prototype Chip: StatisticsPrototype Chip: Statistics

Technology: TSMC 0.25 µTotal Area : 16.2 sq mmDual Clocks: 280 MHz and 70 MHzDual Voltages: 2.5V and 1.5VNo. of Transistors: 1.4 millionPower (dual voltage and frequency): 0.3 mWChip (single voltage and frequency): 1.9 mW

Page 48: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 48

Conclusion and Future WorkConclusion and Future WorkDual Voltage, Dual frequency watermarking chip was developed.Invisible / Visible insertionPipelined and Parallelized architecture for performance.Frequency domain implementation for real time audio and video watermarking.Real time watermark extraction.Need more robust watermarking algorithms.

Page 49: Design of a Image Watermarking Low-Power Chip€¦ · Email: smohanty@cse.unt.edu. 1/15/2007 Mohanty 2 Outline of the Talk Introduction Why Low Power ? Related Works Watermarking

1/15/2007 Mohanty 49

About University of North TexasAbout University of North TexasLocated near Dallas, TXPublic University: approx. 35K studentsDept of CSE:

Ph.D.M.S.B.S.