Download - UCF REU: Weeks 1 & 2
![Page 1: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/1.jpg)
UCF REU:Weeks 1 & 2
![Page 2: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/2.jpg)
GradientCode
![Page 3: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/3.jpg)
![Page 4: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/4.jpg)
Gradient
![Page 5: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/5.jpg)
Direction of the Gradient:Calculating theta
![Page 6: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/6.jpg)
Picking a threshold for the gradient map
![Page 7: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/7.jpg)
Subtract the gradient from the original image display
it
Detailing oncamera
![Page 8: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/8.jpg)
Edge Detection
![Page 9: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/9.jpg)
Sobel approximation to the derivative
Filters
Lapacian of Gaussian (LoG)
![Page 10: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/10.jpg)
Canny Edge DetectorGaussian filter to smooth image1st derivative kernel to detect edgesNon-maximal suppression
![Page 11: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/11.jpg)
Median filter
• B = medfilt2(im) does a median filtering of the image im in two dimensions.
• Each output pixel contains the median value in the 3 x 3 neighborhood around the corresponding pixel in the input image. It pads the image with zeros on the edges, so the median values for points on the edge of the image may appear darker.
• Median filtering is most often used to reduce "salt and pepper" noise.
• A median filter is more effective than convolution when the goal is to simultaneously reduce noise and preserve edges.
![Page 12: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/12.jpg)
Harris Corner Detector
Shifting the window in any direction should yield a large change in appearance
-aka what happens at a corner!
![Page 13: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/13.jpg)
Code for Harris Corner
![Page 14: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/14.jpg)
Optical Flow (Lucas Kanade with
pyramids)
Shows the vectors of motion.
![Page 15: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/15.jpg)
Optical Flow (Liu)• Found YouTube clip of Olympic diver:
https://www.youtube.com/watch?v=djou2oLUeuo• Clipped the video into a 3 second clip of just the action
of diving• Converted the clipped video into a sequence of jpg
images• Example:
![Page 16: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/16.jpg)
• Made a loop in demo flow to run through the sequence of diving images
• Took the optical flow images and converted them into an animated gif:Olympic Diver: http://makeagif.com/I27cPy
![Page 17: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/17.jpg)
![Page 18: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/18.jpg)
Scale Invariant Feature Transform (SIFT)
![Page 19: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/19.jpg)
Code (for one image)
![Page 20: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/20.jpg)
Code to collect all imagesHave to do these 2 pieces of code for every 15 categories
![Page 21: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/21.jpg)
Input imagesBasic matching using SIFT points
![Page 22: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/22.jpg)
Result
![Page 23: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/23.jpg)
Code
![Page 24: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/24.jpg)
Adaboost
![Page 25: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/25.jpg)
SVM (Support Vector Machine)
Pick classifier where the distance between the support vectors and the linear classifier is maximized.
![Page 26: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/26.jpg)
Bag Of Words
![Page 27: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/27.jpg)
Project Preference 1Project: Multimodal data analysis for the
detection of Attention Deficit Hyperactive Disorder
Mentor: Soumyabrata DeyBegan his reading most recent paper on the
projectHave taken discrete systems which has graph
theory which will help because: looking at the brain as a series of nodes and edges
![Page 28: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/28.jpg)
Project Preference 2Project: Deep TrackerMentor: Afshin Dehghan I know pythonLooked at papers on deep learning
![Page 29: UCF REU: Weeks 1 & 2](https://reader036.vdocuments.mx/reader036/viewer/2022062301/56815ded550346895dcc176e/html5/thumbnails/29.jpg)
Project Preference 3Project: Action Recognition in Temporally
Untrimmed videosMentor: Amir R. ZamirHave a solid grasp of frame workVery interested in topic