Answered step by step
Verified Expert Solution
Question
1 Approved Answer
lets say i have an image of 4 pixels that i list as an array that I map to a vector {1,2,3,4}. Then I iterate
lets say i have an image of 4 pixels that i list as an array that I map to a vector {1,2,3,4}. Then I iterate a 2 cycle of the tent map where x_0=2/5 and x_1=4/5 for the 2 cycle. hence 1 goes with 2/5, 2 goes with 4/5, 3 goes with 2/5 etc. then I sort this new vector by order of pairs so 1,2/5 goes first, then 3,2/5 goes second because 2/5 is smaller than 4/5 and 4/5 is paird with 2 so that comes third even though 3 is less than 2. anyway, i end up with a scrambled vector being 1,3,2,4. however, if i have more than 4 pixels, i cant figure out how to unscramble the image to get back to 1,2,3,4
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started