Git Product home page Git Product logo

slant_paper_implementation's Introduction

slant_paper_implementation

This is a class project about implementing the paper Slant Transform Watermarking for Digital Images with MATLAB.

The paper can be found here: http://www.surrey.ac.uk/computing/files/pdf/papers/Anthony_Ho/5_Ho_2003.pdf

The slant matrix generation are thanks to Ivan Selesnick: http://eeweb.poly.edu/iselesni/slantlet/index.html

In this package you can find Slant matrix generated from order 2 to order 13 in the zip file called: slant_matrix_order_2_to_13.zip

Or you can generate more if you want with the file: compute_slant_matrices.m

There is a test file called test_insert_watermark_and_extract.m which contains a execution of the implementation:

% watermark to insert
W = imread('watermark_image.jpg');
% original image
%I = imread('lena.jpg');
I = rgb2gray (imread('baboon.jpg'));
rng_seed = 105;
alpha = 0.4; % the lower the better...
[watermarked_img, secret_key] = insert_watermark(I, W, rng_seed, alpha);
extracted_watermark = extract_watermark(watermarked_img, secret_key, rng_seed,
alpha);

The implementation is divided in the function insert_watermark and the function extract_watermark. There is also a file called watermark_.m which was my developing file.

Also in the directory you can find the images lena and baboon to test.

There is a PDF with some extra explanation.

slant_paper_implementation's People

Contributors

awesomebytes avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.