Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your first task is to determine whether an image shows an empty box or a filled box (i.e. with one or more objects in it).
Your first task is to determine whether an image shows an empty box or a filled box (i.e. with one or more objects in it). You can make the following assumptions: the boxes are in almost the same position relative to the camera when the images are taken slight illumination changes can occur between images all boxes are identical a large variety of objects can be encountered in the boxes the images are greyscale of type uint8 Instructions Write a function that accepts a uint8 greyscale image (not a filename!) as input. Determine whether the image shows an empty box or not. Return 0 if the box is empty, and 1 otherwise. Hints: The two example images showing an empty box are representative for the overall illumination change that might occur in the vision system. What is the maximum and average change in brightness per pixel that occurs? The example images are also representative for the variation in relative position between the camera and the boxes that might occur between different images. . To solve this task, you will not need any specialised function from Pm It is more convenient to develop your solution directiy in Matlab, and only upload your code to Matlab Grader in the browser to run the tests and for final submission
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