Cat face transformation

Arnold The origin of the name is a transformation called Arnold's predecessors made the initial conversion is the picture of a cat, also called cat face

Transformation, the mapping position of each pixel can be replaced with the image, that is by transformation of a point on the original pixel image to another point

On (the pixel value is not changed, but the location has changed !!!)

In the processing of the two-dimensional image that is, the change of the formula:

 

 

 

 

Note here that a picture size N (also implies that the image must be square, equal length and width), while varying the value of the determinant 1 matrix satisfies the foregoing

1 it is called to meet the cat face change, and this change has periodicity, such as a 2X2 image cycle is 3:

 

 

 

If you met the Founder of the picture we can not be expanded to fill, so that it is square picture, then after a certain transformation, we can set the original picture

Chaos into a fuzzy picture, if we want to restore the original picture can be multiplied by the inverse of a matrix:

 

 

 

 

 

 

 Encrypted image

 

 

 

 Decrypted image

 

 

 

 

 

 


----------------
Disclaimer: This article is CSDN blogger "mynd Paradise" original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and this link statement.
Original link: https: //blog.csdn.net/gaoapp/article/details/70918359

Guess you like

Origin www.cnblogs.com/fanglijiao/p/11520570.html