This activity is focused on being able to hide the secret image in a random location within
Fantastic news! We've Found the answer you've been seeking!
Question:
This activity is focused on being able to hide the secret image in a random location within the source image. One aspect that was not mentioned was how to determine an appropriate random location to hide the secret image. Assuming source and secret are both known (and therefore the height and width of each could be determined through method calls), how would you generate random row and column values to start hiding secret?
Complete the following expressions:
int row =
int column =Are your coordinates guaranteed to fit secret within source? If not, modify the above expressions to ensure that there is room to fit the entire secret image within source.
Related Book For
Project Management A Systems Approach to Planning Scheduling and Controlling
ISBN: 978-0470278703
10th Edition
Authors: Harold Kerzner
Posted Date: