Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab: can i get help with programming matlab problem. Thanks Background: You have been tasked by your boss to create an interactive captcha. She has

Matlab: can i get help with programming matlab problem. Thanks
Background: You have been tasked by your boss to create an interactive captcha. She has very particular goals of the code, but wants to see what you can do. Shes given you some guidelines laid out below:
Task 1
Load six images that you have found that will randomly be assigned to different sections of a background each time you run the program. (Note: The images must be the same size.) The first task is to randomly place the 6 images, and then ask the user with a menu which image they want to select and add a border around the image. The user should be able to do this as many times while retaining the previous borders until they exit the menu. Then output the row, column, and the image name.
Task 2
The second task is allowing the user to pick one of the images from the image used in task 1 using ginput. Ask how many images the user wants to select. After the user clicks on the specified number of images it should display which image/images were selected to the command window. Ask the user if they would like to repeat the entire program.
Inputs
Find six images with a common theme of your choice that are all .jpg
Functions Needed:
ginput, ones/zeros, ceil, randi
Data Validation:
Make sure the user can only click on the actual image, and not the border around the image when doing Task 2 (Note: Its not shown in the sample output below)
Make sure ginput has an integer input
image text in transcribed
image text in transcribed
image text in transcribed
ENGI 1331: Mastery Assignment #9 (Optional) Fall 2017 Problem #1 : Build Your Own Captcha Background: You have been tasked by your boss to create an interactive captcha. She has very particular goals of the code, but wants to see what you can do. She's given you some guidelines laid out below: Task 1 Load six images that you have found that will randomly be assigned to different sections of a background each time you run the program. (Note: The images must be the same size.) The first task is to randomly place the 6 images, and then ask the user with a menu which image they want to select and add a border around the image. The user should be able to do this as many times while retaining the previous borders until they exit the menu. Then output the row, column, and the image name. Task 2 The second task is allowing the user to pick one of the images from the image used in task 1 using ginput. Ask how many images the user wants to select. After the user clicks on the specified number of images it should display which image/images were selected to the command window. Ask the user if they would like to repeat the entire program Inputs .Find six images with a common theme of your choice that are all jpg Functions Needed: ginput, ones/zeros, ceil, randi Data Validation: Make sure the user can only click on the actual image, and not the border around the image when doing Task 2 (Note: It's not shown in the sample output below) Make sure ginput has an integer input

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is an equivalent unit of production? How is it used?

Answered: 1 week ago