Color & Lighting Vision System Lab

docx

School

Brigham Young University *

*We aren’t endorsed by this school

Course

105

Subject

Mechanical Engineering

Date

Jan 9, 2024

Type

docx

Pages

4

Uploaded by MasterBarracuda1151

Report
Color & Lighting Vision System Lab I. Purpose In this lab you will further explore and expand your knowledge about vision systems and the importance of color and lighting when using them. You will setup a live image using a Cognex In-Sight 8000 vision system and use a program called In-Sight Explorer. Using this live image, you will experiment and broaden your understanding of the effects that color and lighting have on packaging, products, and other items. This knowledge will help you to understand when to use specific lighting, coloring, and filters depending on the part feature you are trying to observe. II. Materials, Equipment, Software Materials: 8 colored dice, 2 anaglyphs Equipment: Cognex In-Sight 8000 Vision System, In-Sight Explorer, colored LED lighting system with controller, 2 colored filters, and a backlight III. Setup Prior to beginning this lab, you will need to setup the Cognex 8000 Vision System. Here is a quick setup guide we have prepared: 1. Locate the M12 X-code cable at your station. 2. Connect the ethernet cable to the Cognex camera located inside the light box. It should look like this: 3. Open “In-Sight Explorer” located on your desktop.
4. In the bottom left-hand corner of the screen, click on the Cognex camera, labeled “is8402_3d217e”, and click “Connect.” 5. In the top left hand of the screen under “Start” select “Set Up Image.” 6. Finally, select the camera in the tool bar located in the top middle of the screen. If you hover over this camera icon it should say “Live Video.” 7. Using this live video, you can adjust the exposure, which will be important throughout the lab. IV. Deliverables You will write a report demonstrating your work with lighting and coloring, as it pertains to vision systems. The report will document your work and should be clear enough that the reader can easily see what you learned and how you applied it effectively. Any question or required observation bolded throughout the lab is something you should include in you report. V. Instructions Part 1 – White Light 1. Now that we have a live image setup, we’re going to arrange the “products” we will be looking at, which in our case are dice. We have provided you with eight colored dice (white, yellow, red, blue, orange, black, purple, and green) to use for the first part of this lab. 2. If your live image is extremely dark, adjust the “Exposure” setting under “Edit Acquisition Settings” (10 seems to be a good for this portion of the lab). 3. Next place the dice under your Cognex camera, making sure that each color has a different number of pips. Because the image we are acquiring is in black and white, this will help in remembering which dice is which color.
4. Using the LED controller (see https://byu.box.com/s/0u9pw7rb7xdehvjhuw9slddv990mt170 ), turn on the white light and observe how each of the colored dice appear in your live video. White Yellow Red Blue Orange Black Purple Green White Red Blue Green In the table above, record which dice appear white, light gray, dark gray, or black. Part 2 – Colored Light 1. Now that we have a everything setup and a benchmark in place, we want to observe the effects of colored lighting on our dice. 2. Using the controller you’ve been given, explore and observe the effects of red, blue, and green light on the dice. Which of the dice appear darker compared to your benchmark? Which appear lighter? Record your observations in the table above. 3. Why did certain colored lights darken or brighten each colored dice? Why does this occur? Part 3 – Filters 1. Next, we will better understand the importance of filters and their applications using anaglyphs alongside red pass and blue pass filters (refer to “Lighting and Color” lecture). 2. Using the controller, change the lighting back to white and place either of the provided anaglyphs (superimposed image that included red and blue negatives) under the camera. Screw on either the red pass or blue pass filters.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
3. Repeat step two with the other filter and observe what changes. 4. How do you think these filters work to block out certain colors, and accept others? 5. What do you think would happen to each anaglyph if you used red/blue light instead of the filters? Test out your hypothesis to see if it was correct or not. Explain why the anaglyphs behave like this with colored lighting. Part 4 – Back Light 1. Finally, we’ll explore the use cases of backlight. You will observe a catheter using the white overhead light we have been using. Place the catheter under the camera, change the exposure to 5, and take a screenshot/picture of what you see. 2. Now turn the overhead light off (black button), turn on the back light (press the power button twice), and change the exposure to 1. Compare the picture or screenshot you have taken. What can you see now, that you couldn’t previously? When would you use backlight versus front, diffuse, or ambient light?