/gnu_octave

Udacity Introduction to Computer Vision Course Code (Using MatLab/Octave)

Primary LanguageMATLABGNU General Public License v3.0GPL-3.0

Udacity Introduction to Computer Vision

Course Code using MatLab/Octave.

Installing Octave on Ubuntu

All code was tested on Ubuntu 18.04 LTS with Octave 4.2.2. Octave installation steps are as following:

$ sudo apt install octave
$ sudo apt install liboctave-dev 

run octave command line

$ octave-cli 
GNU Octave, version 4.2.2
Copyright (C) 2018 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> 

then install required packages from within octave

>> pkg -forge install signal control general image

to check installed packages:

>> pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control  |   3.2.0 | /home/user1/octave/control-3.2.0
     general  |   2.1.0 | /home/user1/octave/general-2.1.0
       image *|  2.10.0 | /home/user1/octave/image-2.10.0
      signal  |   1.4.1 | /home/user1/octave/signal-1.4.1

to load package:

>> pkg load image

to exit octave command line

>> exit

to remove octave

$ sudo apt remove octave
$ sudo apt remove liboctave-dev

Now you can try the many examples included in this repository.

1_A1_introduction

2_A1_images_as_functions

2_A2_filtering

2_A3_linearity_and_convolution

2_A4_filters_as_templates

2_A5_edge_detection_gradients

2_A6_edge_detection_2D_operators

2_B1_hough_transform_lines

2_B2_hough_transform_circles

No Code

2_B3_generalized_hough_transform

No Code

2_C1_fourier_transform

No Code

2_C2_convolution_in_frequency_domain

No Code

2_C3_aliasing

No Code

3_A1_camera_and_images

No Code

3_A2_prespective_imaging

3_B1_stereo_geometry

No Code

3_B2_epipolar_geometry

No Code

3_B3_Stereo_correspondence

3_C1_Extrinsic_camera_parameters

No Code

3_C2_Instrinsic_camera_parameters

No Code

3_C3_Calibrating_cameras

No Code

3_D1_Image_to_image_projections

No Code

3_D2_Homographies_and_mosaics

3_D3_Projective_geometry

3_D4_Essential_matrix

3_D5_Fundamental_matrix

4_A1_Introduction_to_features

4_A2_finding_corners

6_B3_hierarchical_lk