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.
- Image Compression
- Image Sharpening
- Image Edging
- Image Rotation
- Image Palette
- Image Encryption
- Image Enchancement
Keep sure you have installed package "jpeg" because we will just deal with the matrix instead of format conversion.
Processing the picture by changing the value of the pixel matrix through specific ways.
Rotating the image according to the clockwise direction.
Changing the color of the picture by adjusting the value on the red, green and blue dimension of the picture.
In this part, we realized two ways of encryption, simple and random.
Promoting the brightness of the picture.
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)
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)