Write a Python GUI program using Tkinter that will achieve the following: 1. All the 10 functionalities will be enclosed
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a Python GUI program using Tkinter that will achieve the following: 1. All the 10 functionalities will be enclosed
Write a Python GUI program using Tkinter that will achieve the following: 1. All the 10 functionalities will be enclosed in a DemoDip Class a. The class must have a multi-line doc string for help b. Each function must have multi-line doc string for help 2. You will submit the complete project folder, with short video of no more than 5 minutes enclosed in the submitted project. 3. It will have a left panel of 10 buttons (I would put them first in a frame with grid layout, but that depends on your design) with each button implementing one DIP functionality. Each button will allow the user to input the images and/or the parameters needed for its functionality 4. a. Use a filedialog to read images, entry fields to enter parameters. b. Display the parameters and input and output images with clear labels in the center area (again I would create a frame area in the middle for the results, likely with grid layout) i. I showed in class how to display images, show labels, show entries, etc. 5. Every time you click a button, the center area should clear previous results and add the new images and parameters. Look into creating a clear frame function before you put the new results. Something like this: def clear_frame(): for widgets in frame.winfo_children(): widgets.destroy() 6. Choose your 10 demos implementation from the module 8 lectures on opencv/python and the online opencv python tutorials, but use different input images that are more utrgv-centric 1. Must include color histograms 2. Must include multiple image addition with weights 3. Must include Bilateral filter 4. Must include Gaussian smoothing 5. Must include Median with noise 6. Must include Affine transformation with image alignment (complete and fix the example we did in class) 7. Must include adaptive thresholding 8. Must include gradient pyramids 9. Must include rotation and scaling at the same time 10. HSV color conversion a. Display constant batch of RGB and the corresponding HSV with a display of an HSV map of colors