Logo CVUT Logo FEL CourseWare Wiki

Log In
  • b242
  • courses
  • gvg
  • labs
  • hw-help-python

Navigation

  • GVG
  • GVG Labs
    • Homework 01 - Image Coordinate System, Affine Transformation
    • Homework 02 - Projection Matrix of a Perspective Camera
    • Homework 03 - Perspective Camera Pose and Internal Calibration
    • Homework 04 - Calibrated camera pose
    • Homework 05 - Homography
    • Homework 06 - Panorama
    • Homework 07 - Autocalibration from vanishing points
    • Homework 08 - Epipolar geometry
    • Homework 09 - Metric reconstruction
    • Matlab Help for Typical Situations in Homeworks
    • Python Help for Typical Situations in Homeworks
    • General Instructions for Submitting GVG Homeworks
    • General Instructions for Creating Graphs and Figures

All courses

  • Summer 2024 / 2025
  • Winter 2024 / 2025
  • Summer 2023 / 2024
  • Winter 2023 / 2024
  • Summer 2022 / 2023
  • Winter 2022 / 2023
  • Summer 2021 / 2022
  • Winter 2021 / 2022
  • Summer 2020 / 2021
  • Winter 2020 / 2021
  • Summer 2019 / 2020
  • Winter 2019 / 2020
  • Summer 2018 / 2019
  • Winter 2018 / 2019
  • Summer 2017 / 2018
  • Older

Python Help for Typical Situations in Homeworks

Packages

The following packages should be used. In the code examples, we assume that they are imported with the aliases as bellow.

import numpy as np                # for matrix computation and linear algebra
import matplotlib.pyplot as plt   # for drawing and image I/O
import scipy.io as sio            # for matlab file format output

Matrices

When there is a matrix required as an output data, we mean matrix implemented as np.array.

courses/gvg/labs/hw-help-python.txt · Last modified: 2025/02/10 17:11 (external edit)
Copyright © 2025 CTU in Prague | Operated by IT Center of Faculty of Electrical Engineering | Bug reports and suggestions Helpdesk CTU