Giter VIP home page Giter VIP logo

comp425-hw1's Introduction

COMP425-HW1

Overview

This project contains the implementation of various fundamental computer vision techniques as part of the Homework 1 assignment for COMP 425/COMP6341 Computer Vision, Winter 2024 session. The assignment focuses on image filtering, edge detection, corner detection, and image subsampling. Specific algorithms implemented include 2D image filtering (excluding convolution), gradient computation, the Harris corner detector, and image downsampling techniques with and without aliasing.

Key Components

  • Image Filtering: Implementation of filter2d function for 2D image filtering.
  • Edge Detection: Calculation of gradient images in x and y directions and gradient magnitude using derivative filters.
  • Corner Detection: Implementation of the Harris corner detector, including corner response calculation, thresholding, and non-maximum suppression.
  • Image Subsampling: Implementation of naive and anti-aliasing downsampling techniques.

Running the code

To run the individual components of the homework, navigate to the project directory in your terminal and execute the corresponding Python script. Ensure that the images iguana.png, building.jpg, and paint.png are placed in the correct directory as specified in the homework instructions.

  • For image filtering: python utils.py
  • For edge detection: python edge.py
  • For corner detection: python corner.py
  • For image subsampling: python downsample.py

Each script will output the results as specified in the homework instructions, including visualization figures and/or console outputs.

comp425-hw1's People

Contributors

alexgaarciia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.