1. Homepage
  2. Programming
  3. [2022] UNSW - COMP9517 Computer Vision - Lab2 SIFT: Scale-Invariant Feature Transform

[2022] UNSW - COMP9517 Computer Vision - Lab2 SIFT: Scale-Invariant Feature Transform

Engage in a Conversation
UNSWCOMP9517Computer VisionSIFTScale-Invariant Feature TransformOpenCVPythonJupyter Notebook

2022 T2 Lab 2 Specification CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Objective: This lab revisits important concepts covered in the lectures of Week 3 and aims to make you familiar with implementing specific algorithms. CourseNana.COM

  CourseNana.COM

Materials: The sample image as well as template code to be used in the tasks of this lab is available in WebCMS3. You are required to use OpenCV 3+ with Python 3+. CourseNana.COM

  CourseNana.COM

Submission: The tasks are assessable after the lab. Submit your source code as a Jupyter notebook (.ipynb) with output images (.png) in a single zip file by the above deadline. The submission link will be announced in due time. CourseNana.COM

The sample image Cathedral.png is to be used for all questions. CourseNana.COM

  CourseNana.COM

SIFT: Scale-Invariant Feature Transform CourseNana.COM

A well-known algorithm in computer vision to detect and describe local features in images is the scale-invariant feature transform (SIFT). Its applications include object recognition, mapping and navigation, image stitching, 3D modelling, object tracking, and others. CourseNana.COM

  CourseNana.COM

A SIFT feature of an image is a salient keypoint with an associated descriptor. SIFT computation is commonly divided into two steps: CourseNana.COM

1) detection, CourseNana.COM

2) description. CourseNana.COM

  CourseNana.COM

At the end of the detection step, for each keypoint the SIFT algorithm computes the: CourseNana.COM

• keypoint spatial coordinates (x, y), CourseNana.COM

• keypoint scale (in the scale space), CourseNana.COM

• keypoint dominant orientation. CourseNana.COM

  CourseNana.COM

  CourseNana.COM

The subsequent description step computes a distinctive 128-dimensional feature vector for each keypoint. SIFT is designed in such a way that this descriptive feature vector is invariant to scaling and rotation. Moreover, the algorithm offers decent robustness to noise, illumination gradients, and affine transformations. CourseNana.COM

  CourseNana.COM

Task 1 (0.5 mark): Compute the SIFT features of the given image. CourseNana.COM

a) Extract SIFT features with default parameters and show the keypoints on the image. CourseNana.COM

b) To achieve better visualization of the keypoints, reduce the number of keypoints. Hint: Vary the parameter contrastThreshold or nfeatures so that the number of keypoints becomes about 10% of all default keypoints. CourseNana.COM

  CourseNana.COM

Submit the images obtained in a) and b) and briefly describe in your Jupyter notebook the approach you used for b). CourseNana.COM

  CourseNana.COM

Task 2 (1 mark): Change the scale of the image and recompute the SIFT features. CourseNana.COM

a) Enlarge the given image with a scaling factor of 115%. CourseNana.COM

b) Extract the SIFT features and show the keypoints on the scaled image using the same parameter setting as for Task 1 (for the reduced number of keypoints). CourseNana.COM

c) Inspect the keypoints visually: Are the keypoints of the scaled image roughly the same as those of the original image? What does this imply? CourseNana.COM

d) Match the SIFT descriptors of the keypoints of the scaled image with those of the original image using the nearest-neighbour distance ratio method. Show the keypoints of the 5 best-matching descriptors on both the original and the scaled image. Hint: Brute-force matching is available in OpenCV for feature matching. CourseNana.COM

  CourseNana.COM

Submit the images obtained in b) and d) and include in your Jupyter notebook your answers to the questions in c). CourseNana.COM

  CourseNana.COM

Task 3 (1 mark): Rotate the image and recompute the SIFT features. CourseNana.COM

a) Rotate the given image clockwise by 60 degrees and by 120 degrees. CourseNana.COM

b) For each rotated image, extract the SIFT features and show the keypoints on the image using the same parameter setting as for Task 1 (for the reduced number of keypoints). CourseNana.COM

c) For each rotated image, inspect the keypoints visually: Are the keypoints of the rotated image roughly the same as those of the original image? What does this imply? CourseNana.COM

d) For each rotated image, match the SIFT descriptors of the keypoints with those of the original image using the nearest-neighbour distance ratio method. Show the keypoints of the 5 best-matching descriptors on both the original and the rotated image. CourseNana.COM

  CourseNana.COM

Submit the images obtained in b) and d) and include in your Jupyter notebook your answers to the questions in c). CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
UNSW代写,COMP9517代写,Computer Vision代写,SIFT代写,Scale-Invariant Feature Transform代写,OpenCV代写,Python代写,Jupyter Notebook代写,UNSW代编,COMP9517代编,Computer Vision代编,SIFT代编,Scale-Invariant Feature Transform代编,OpenCV代编,Python代编,Jupyter Notebook代编,UNSW代考,COMP9517代考,Computer Vision代考,SIFT代考,Scale-Invariant Feature Transform代考,OpenCV代考,Python代考,Jupyter Notebook代考,UNSWhelp,COMP9517help,Computer Visionhelp,SIFThelp,Scale-Invariant Feature Transformhelp,OpenCVhelp,Pythonhelp,Jupyter Notebookhelp,UNSW作业代写,COMP9517作业代写,Computer Vision作业代写,SIFT作业代写,Scale-Invariant Feature Transform作业代写,OpenCV作业代写,Python作业代写,Jupyter Notebook作业代写,UNSW编程代写,COMP9517编程代写,Computer Vision编程代写,SIFT编程代写,Scale-Invariant Feature Transform编程代写,OpenCV编程代写,Python编程代写,Jupyter Notebook编程代写,UNSWprogramming help,COMP9517programming help,Computer Visionprogramming help,SIFTprogramming help,Scale-Invariant Feature Transformprogramming help,OpenCVprogramming help,Pythonprogramming help,Jupyter Notebookprogramming help,UNSWassignment help,COMP9517assignment help,Computer Visionassignment help,SIFTassignment help,Scale-Invariant Feature Transformassignment help,OpenCVassignment help,Pythonassignment help,Jupyter Notebookassignment help,UNSWsolution,COMP9517solution,Computer Visionsolution,SIFTsolution,Scale-Invariant Feature Transformsolution,OpenCVsolution,Pythonsolution,Jupyter Notebooksolution,