Research Article

Color Image Scrambling Technique Based on Transposition of Pixels between RGB Channels Using Knight’s Moving Rules and Digital Chaotic Map

Procedure 2

Extracting features .
Require:     % current pixel’s (i.e., the one to be moved) coordinates
( )
(1 : 3);        % compute Knight’s rule
(5 : 7);        % compute Knight’s rule
;           % compute binary variable, used to establish transposition rule
               % number of steps to be applied using rule
              % number of steps to be applied using rule