Question: Chegg _ 0 6 : Write a FULL CODE with no errors in Matlab ( I have R 2 0 2 1 b version )
Chegg:
Write a FULL CODE with no errors in Matlab I have Rb version for an image encryption algorithm with chaotic systemsmaps:
Arnold Chaotic Map,
Lorenz Hyperchaotic System and
Adaptive Wavelet Chaos Map
Implementation using this chaotic systems of an Image Encryption Algorithm Based on Rubiks Cube Principle, using the usual metrics used to measure the performance of encryption algorithms: PSNRentropy NPCRUACI horizontal, vertical, diagonal pixel correlation.Those parameters must display at the end of yhe code like results.
ALL STEPS MUST COMPLETED AND HAVE A WORKING CODE AND FINALL CODE MUST RUN WITHOUT ERRORS!
Folow the steps and write the code for each step and at the end to be FINAL CODE for the program without errors:
Step : ReadLoad the input image
Display the input image
Step : Convert to grayscale if it's a color image:
Normalize the image to the range
Display the input image
Step :Define and Initialize chaotic systems and Set parameters for each system:
Chaotic system : Arnold Chaotic
Set parameters for Arnold Chaotic system
Chaotic system : Lorenz Hyperchaotic System
Set parameters for Lorenz Hyperchaotic System
Chaotic system : Adaptive Wavelet Chaos Map
implement the part to generate sequence for Adaptive Wavelet Chaos Map.
Set parameters for Adaptive Wavelet Choas Map.It seems to be a less standard chaotic system, so there's no universally agreedupon set of equations or parameters.
You would need to specify the specific equations govering Adaptive Wavelet Chaos Map.and the parameters involved.
Set parameters for Adaptive Wavelet Chaos Map
Step : Initialize and Generate chaotic sistem sequences
Three chaotic sequences are generated using chaotic systems
you need to write and implement the part to generate sequence for Adaptive Wavelet Chaos Map
Step : Encryption process, Perform image encryption using the chaotic sequences:
Here, you need to design an encryption scheme using the chaotic sequences
This could involve Image Encryption Algorithm Based on Rubiks Cube Principle
Write and implement the Ruik's Cube Principle encryption
For example, for the Rubik's cube principle, you may need to:
Permute pixel positions based on Arnold Chaotic Map
Mix the pixel values using Lorenz Hyperchaotic System
Apply Adaptive Wavelet Transform and scramble coefficients with Adaptive Wavelet Chaos Map
Ex: encryptedimage rubikscubeencryptnormalizedimage, arnoldseq, lorenzseq, waveletseq; Encrypt the image
After encryption result a fileimage
Write the image file on disk
Display the encrypt image
Step : Decryption process, Perform image decryption
Write the image file on disk
Display the decrypted image
Step : Calculate performance metrics
You need to implement functions to calculate the metrics like:
PSNR entropy, NPCR UACI, horizontal, vertical, and diagonal pixel correlation.
Step : Display all the saved results
PSNRentropy NPCRUACI horizontal, vertical, diagonal pixel correlation.
OBS: write and implement the part to generate sequence for Adaptive Wavelet Chaos Map.
You need to design a rubikscubeencrypt function based on chaotic sequences and Rubik's cube principles,
write and implement the Ruik's Cube Principle encryption
Implementing a Rubik's Cube principle for encryption typically involves defining a method to rotate and permute the image blocks based on chaotic sequences. This pseudocode needs full implementation
ADVISE:
For a full implementation, start by fleshing out each step and developing the required functions for the chaotic systems.
You would then need to integrate these into the encryption process based on the Rubik's Cube principle and subsequently develop the decryption algorithm.
After that, ensure all metrics can be computed accurately for assessing the performance of your encryption algorithm.
Finally, debug and test the implementation extensively to ensure that it works without errors before running it on an actual image.
After write all code, choice any picture and load in this altgoritm and RUN the code in Matlab.
IF ONLY it works, then write me the ANSWER! ALL FUNCTION CODE MUST RUN PERFECT, NO errors in all codefor thumb UP
Put an exemple with original imageany image and encrypted decrypted image as final... Display the saved results
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
