Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will create a GUI application where each tab will show a different aspect of an image that is provided for you. Please make sure

image text in transcribed
You will create a GUI application where each tab will show a different aspect of an image that is provided for you. Please make sure to use the image provided by your instructor. Tabo: Show the original image in this tab. Tab1: You will create the edge image of the given image. Please refer to the class discussions we had about what kernel to use. In this this tab, you will show the edge in the x direction of the given image. Hint: Show only the Gx from our class discussions. Tab2: You will create another tab that shows the edge image in the y direction. Hint: Show only the Gy. Tab3: Show the edge image of the given image combining both Gx and Gy. In all tabs 1 through 3 make sure that the color value components is within the range. That is, between 0 and 255 inclusive. Please refer to the class discussions on this as well. Tab4: Basically, show the angle of intensity change in this tab. Note that you are working on each individual pixel value of the image provided. For this tab, you need to find the angle of intensity change (Gy/Gx) for each pixel and create a histogram out of these in the following way: Divide the image into 8x8 cells, that is, in each cell you will have 64 pixels. If the image width or height is not divisible by 8 discard the remainder pixels. For each 8x8 cell create a histogram where each bin is 20 degrees which is the x axis of the histogram. The y axis should be the magnitude totals. The bins then are between 0-19 degres, 20-39, 40-59, ..., 160-179 (total 9 bins). Tab5: Click somewhere in the original image (Tab 0) which will mark the top left corner of the image. Then click another point in the original image to mark the bottom right corner of the image that you will make a copy of. The rectangle that you marked the top left and bottom right corners of will be expanded by doubling it in a different tab. That is, each pixel of the chosen rectangle of the original image will be shown as 4 pixels in a differnt tab (Tab 5) where the original image pixels are copied (Again, each original image pixel is now a 2x2 pixels where each of the 4 pixles is the copy of the original image pixel. Go back to our class discussion (listen to the lectures on this). Deliverables: 1) Your source code. 2) A readme.txt file that explains briefly what you accomplished and what not. 3) The two group members, if you worked in a group of two students. You will create a GUI application where each tab will show a different aspect of an image that is provided for you. Please make sure to use the image provided by your instructor. Tabo: Show the original image in this tab. Tab1: You will create the edge image of the given image. Please refer to the class discussions we had about what kernel to use. In this this tab, you will show the edge in the x direction of the given image. Hint: Show only the Gx from our class discussions. Tab2: You will create another tab that shows the edge image in the y direction. Hint: Show only the Gy. Tab3: Show the edge image of the given image combining both Gx and Gy. In all tabs 1 through 3 make sure that the color value components is within the range. That is, between 0 and 255 inclusive. Please refer to the class discussions on this as well. Tab4: Basically, show the angle of intensity change in this tab. Note that you are working on each individual pixel value of the image provided. For this tab, you need to find the angle of intensity change (Gy/Gx) for each pixel and create a histogram out of these in the following way: Divide the image into 8x8 cells, that is, in each cell you will have 64 pixels. If the image width or height is not divisible by 8 discard the remainder pixels. For each 8x8 cell create a histogram where each bin is 20 degrees which is the x axis of the histogram. The y axis should be the magnitude totals. The bins then are between 0-19 degres, 20-39, 40-59, ..., 160-179 (total 9 bins). Tab5: Click somewhere in the original image (Tab 0) which will mark the top left corner of the image. Then click another point in the original image to mark the bottom right corner of the image that you will make a copy of. The rectangle that you marked the top left and bottom right corners of will be expanded by doubling it in a different tab. That is, each pixel of the chosen rectangle of the original image will be shown as 4 pixels in a differnt tab (Tab 5) where the original image pixels are copied (Again, each original image pixel is now a 2x2 pixels where each of the 4 pixles is the copy of the original image pixel. Go back to our class discussion (listen to the lectures on this). Deliverables: 1) Your source code. 2) A readme.txt file that explains briefly what you accomplished and what not. 3) The two group members, if you worked in a group of two students

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

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions