Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Lost on this problem. Please use matllab to solve Homework 07 Iteration Homework 07-Iteration Extra Credit Example: Function Name: cryptex >filenamepuzzle.png > keySOLVED cryptex(filename, key)

Lost on this problem. Please use matllab to solveimage text in transcribed

Homework 07 Iteration Homework 07-Iteration Extra Credit Example: Function Name: cryptex >filenamepuzzle.png > keySOLVED cryptex(filename, key) Inputs 1. (char) Filename of the cryptex image, including file extension 2. (char) Keyword DASEOV ESVALO A VOSDL SOLVED VLDOAE O DEL SA LEADVS Outputs None 0 0O O O O LLLLLL File Outputs 1. Solved cryptex image (with solved.png appended at the end of the filename) Background test. If you succeed, you may even be able to enter the next Mind Sports Olympiad Function Description: keyword provided. The cryptex should only be shifted column-wise (up down) until the desirecd Think you're as smart as Dr. Robert Langdon from the DaVinci Code? Let's put it to the puzzle.png puzzle_solved.png Notes: . The second input will never be lowercase. There will always be an odd number of letters in each column. Write a function that takes in an image of a cryptex puzzle and solves it using the There is guaranteed to be a single occumence of a letter in each yptex image column. charStruct.mat is a mat file used by letterChecker(). Do not load it. keyword is shown on the middle row of the cryptex. e Every letter in the cryptex will be 20 x 20 in image dimensions. Hence, if the following Do not use the resize) function. You do not need it lf you are having trouble visualizing this problem, refer to this video solving a replica cryptex from the DaVinci Code: https:/lyoutu.be/11TLS3bOC147t 31 The solution will output image files named'original cryptex image is provided, then the image dimensions will be 100 x 80. filename>-solved-soln. png . Hints: D DDID . Refer back to puzzleBox) from HW05. The find) and circshift) functions might be useful. test.png To help you with this problem, a helper function called letterChecker) has been provided. letterChecker) takes in a 20x20x3 unit8 image array and outputs which letter it is, as a single character Using this tool, shift the columns of the cryptex image until the keyword is shown on the middle row of the image. Finally, to show that you have solved the cryptex, "highlight" the middle row by converting the white background to pure yellow. Output the solved cryptex image with _solved.png' appended to the end of the filename. Continued. Homework 07 Iteration Homework 07-Iteration Extra Credit Example: Function Name: cryptex >filenamepuzzle.png > keySOLVED cryptex(filename, key) Inputs 1. (char) Filename of the cryptex image, including file extension 2. (char) Keyword DASEOV ESVALO A VOSDL SOLVED VLDOAE O DEL SA LEADVS Outputs None 0 0O O O O LLLLLL File Outputs 1. Solved cryptex image (with solved.png appended at the end of the filename) Background test. If you succeed, you may even be able to enter the next Mind Sports Olympiad Function Description: keyword provided. The cryptex should only be shifted column-wise (up down) until the desirecd Think you're as smart as Dr. Robert Langdon from the DaVinci Code? Let's put it to the puzzle.png puzzle_solved.png Notes: . The second input will never be lowercase. There will always be an odd number of letters in each column. Write a function that takes in an image of a cryptex puzzle and solves it using the There is guaranteed to be a single occumence of a letter in each yptex image column. charStruct.mat is a mat file used by letterChecker(). Do not load it. keyword is shown on the middle row of the cryptex. e Every letter in the cryptex will be 20 x 20 in image dimensions. Hence, if the following Do not use the resize) function. You do not need it lf you are having trouble visualizing this problem, refer to this video solving a replica cryptex from the DaVinci Code: https:/lyoutu.be/11TLS3bOC147t 31 The solution will output image files named'original cryptex image is provided, then the image dimensions will be 100 x 80. filename>-solved-soln. png . Hints: D DDID . Refer back to puzzleBox) from HW05. The find) and circshift) functions might be useful. test.png To help you with this problem, a helper function called letterChecker) has been provided. letterChecker) takes in a 20x20x3 unit8 image array and outputs which letter it is, as a single character Using this tool, shift the columns of the cryptex image until the keyword is shown on the middle row of the image. Finally, to show that you have solved the cryptex, "highlight" the middle row by converting the white background to pure yellow. Output the solved cryptex image with _solved.png' appended to the end of the filename. Continued

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions