Skip to content

timturing/Simple-Image-Processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Image Processing

Actually this is just the final homework of one of our courses, so if you are searching for something useful to process the image,please find other packages!!!

OK,if you are still interested in this package, I'd like to show you what I've done. Also, You can use this package just for fun.

Usage

  1. Image Compression
  2. Image Sharpening
  3. Image Edging
  4. Image Rotation
  5. Image Palette
  6. Image Encryption
  7. Image Enchancement

Attention

Keep sure you have installed package "jpeg" because we will just deal with the matrix instead of format conversion.

Detailed function

1. Image Compression,Sharpening and Edging

Processing the picture by changing the value of the pixel matrix through specific ways.

2. Image Rotation

Rotating the image according to the clockwise direction.

3. Image Palette

Changing the color of the picture by adjusting the value on the red, green and blue dimension of the picture.

4. Image Encryption

In this part, we realized two ways of encryption, simple and random.

5. Image Enhancement

Promoting the brightness of the picture.

Picture overlay

The first is a simple adding with two pictures, with this, you need to use the "source" picture and "mark" picture. If you want to send something to your brother without being found by your girlfriend, you and your brother can share the same "mark"(best with something blur), and when you send a picture difficult to distinguish(after encryption),only your brother can do the decryption.

e.x.

img=simpleEncryption(source,mark)

and your brother

origin=simpleDecryption(img,mark)

Random Change of Points

The second is random change of the point, and you need to send your key matrix to your brother.

e.x.

res=randomEncryption(source)

and your brother

origin=randomDecryption(res$img,res$key)

About

A R package made with RcppArmadillo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published