Skip to content

Commit

Permalink
updated readme and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shengtan Mao authored and Shengtan Mao committed Dec 20, 2020
1 parent 93888c9 commit de15dbe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
A Python library that provides algorithms for upscaling images.

## Features
This library provides numerous super-sampling algorithm:
- grid algorithm in uniform distribution

This library provides numerous filtering algorithm:
- (to be added)
This library provides image scaling algorithm:
- Nearest-neighbor interpolation
- Bilinear interpolation
- Bicubic interpolation

## Installation
1. Download the repository.
Expand Down
1 change: 1 addition & 0 deletions antialiasing/src/supersampling/uniform_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def unif_grid(array, factor):
Scales an image by a factor using uniform using the grid algorithm in
uniform distribution.
Note: the result is significantly worse for non-integer factors.
(Nearest-neighbor interpolation)
:param array: a numpy array representing the image
:type file: ndarray
Expand Down
1 change: 1 addition & 0 deletions antialiasing/src/supersampling/uniform_grid_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def unif_grid_2(array, factor):
"""
Scales an image by a factor using uniform using the grid algorithm in
uniform distribution.
(Bilinear interpolation)
:param array: a numpy array representing the image
:type file: ndarray
Expand Down

0 comments on commit de15dbe

Please sign in to comment.