Question: Chegg _ 0 6 : Write a FULL CODE with no errors in Matlab ( I have R 2 0 2 1 b version )

Chegg_06:
Write a FULL CODE with no errors in Matlab( I have R2021b version) for an image encryption algorithm with 3chaotic systems(maps):
1-Arnold Chaotic Map,
2-Lorenz Hyperchaotic System and
3-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: PSNR,entropy, NPCR,UACI, 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 1 FINAL CODE for the program without errors:
Step 1: Read/Load the input image
Display the input image
Step 2: Convert to grayscale if it's a color image:
Normalize the image to the range [0,1]
Display the input image
Step 3:Define and Initialize 3 chaotic systems and Set parameters for each system:
Chaotic system 1: Arnold Chaotic
Set parameters for Arnold Chaotic system
Chaotic system 2: Lorenz Hyperchaotic System
Set parameters for Lorenz Hyperchaotic System
Chaotic system 3: 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 agreed-upon 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 4: Initialize and Generate chaotic sistem sequences
Three chaotic sequences are generated using 3 chaotic systems
-you need to write and implement the part to generate sequence for Adaptive Wavelet Chaos Map
Step 5: 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: encrypted_image = rubiks_cube_encrypt(normalized_image, arnold_seq, lorenz_seq, wavelet_seq); (Encrypt the image)
After encryption result a file(image)
Write the image file on disk
Display the encrypt image
Step 6: Decryption process, Perform image decryption
Write the image file on disk
Display the decrypted image
Step 6: Calculate performance metrics
You need to implement functions to calculate the metrics like:
PSNR, entropy, NPCR, UACI, horizontal, vertical, and diagonal pixel correlation.
Step 7: Display all the saved results
PSNR,entropy, NPCR,UACI, horizontal, vertical, diagonal pixel correlation.
_____________________________________________________________________
OBS: -write and implement the part to generate sequence for Adaptive Wavelet Chaos Map.
- You need to design a rubiks_cube_encrypt 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 code)for thumb UP!
Put an exemple with original image(any 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!