Skip to main content
留学咨询

辅导案例-CITS4402

By May 15, 2020No Comments

2020/3/19 CITS4402 Computer Vision teaching.csse.uwa.edu.au/units/CITS4402/labs/week4/week4.html 1/3 A-Z websites Contact us Campus map Library MyUWA Webmail WebCT Quick Links Faculty Home CSSE Home csentry CITS4402 help4402 CITS4402 Computer Vision Week 4 Laboratory Exercises Due: Check the deadline on cssubmit. Spatial Filtering and GUI Programming in Matlab There are two aims of this laboratory session. The first is to practice some of the spatial filters you learned during lecture 4. The second is to introduce you to Matlab GUI programming. You will need to make a GUI program which looks like the following: 2020/3/19 CITS4402 Computer Vision teaching.csse.uwa.edu.au/units/CITS4402/labs/week4/week4.html 2/3 Read this link for learning the basics. The GUI should have the following functionality. 1- Load Image: This button should open a file selection dialog box so you can chose your image. That image must then get displayed in the left side of your GUI. 2- Left side plot: This must always show the image that you have loaded. 3- Right side plot: This must show the output of any operation that you performed on the left image. 4- Histogram Equalize: Pressing this button should histogram equalize the left image and display it in the right side plot. 5- Low Pass: Pressing this button should make a Gaussian filter of size 3 (defualt) and sigma 2 (default), apply it to the left image and display the result in the right image. 6- The two values next to Low Pass button: You should be able to change these values and when you press the Low Pass button a different filter will be applied to the image. 7- High Pass: Pressing this button should apply a high pass filter in the spatial domain to the left image and display the result on the right side. Use fixed values for the kernel. 8- High Boost: Pressing this button should apply a high boost filter (3×3) in the spatial domain using the boosting factor written next to it. 9- Boosting factor: The value next to High Boost button is the boosting factor. You should be able to change it. Hints: – To start the GUI programming type “guide” and press enter in Matlab command shell – Use the “uigetfile( )” function for file selection [Link to documentation] – Drag and drop buttons etc – Right click on a button to edit its properties – Right click on a button to access the callback function (where you will write the code that gets executed on button press) – Use “handles.varX = yourVariable;” followed by “guidata(hObject, handles);” to access variables generated in one function from a different function Submission Requirements Submit the week4lab.fig and week4lab.m files Submit your test image(s) Your Matlab GUI will be run and tested in the marking. Your Matlab code should be commented (but not over-commented) and indented for readability (Hint: Use the Matlab Editor to help you indent your code). The University of Western Australia University Homepage Future Students Current Students Staff Business and Industry Alumni and Friends Media School of Computer Science and Software Engineering Courses Research 2020/3/19 CITS4402 Computer Vision teaching.csse.uwa.edu.au/units/CITS4402/labs/week4/week4.html 3/3 Business and industry Community Alumni StudentNet StaffNet Contact us University information CRICOS Code: 00126G Accessibility Campus map Contact the University Indigenous Commitment Terms of use This Page Updated by: Ajmal Mian Thu Mar 19 2020 14:48:02 GMT+0800 (中国标准时间)

admin

Author admin

More posts by admin