Input: keys , , , , , , , , , , , , , , , , and | Output: | //Decompose to red , green , and blue channels | = (:,:, 1) | = (:,:, 2) | = (:,:, 3) | obtain keys , , , , , , and using equations (1) and (2) | //modify keys , , and by | = | = | = //Decrypt , , and by , , and | = ( - (1-) )/ | = ( - (1-) )/ | = ( - (1-) )/ | //Decrypt , , and by considering , , and | = | = | = | = | = | //Obtain original image by concatenating the decrypted channels | = cat(, , ) | return |
|