pygmi.test.test_raster#
These are tests. Run pytest on this file from within this directory to do the tests.
Functions#
test directional derivative. |
|
test derivative ratio. |
|
test total horizontal gradient. |
|
test vertical derivative. |
|
|
test visibility. |
test check dataid. |
|
test trim raster. |
|
tests equation editor. |
|
tests hmode. |
|
tests aspect. |
|
tests shader. |
|
tests histogram compaction. |
|
tests histogram equalisation. |
|
tests img to RGB. |
|
tests norm2. |
|
tests norm255. |
|
tests corr2d. |
|
Small test dataset. |
|
Tests for normalisation. |
|
Tests for smoothing. |
|
|
Tests for AGC. |
Module Contents#
- pygmi.test.test_raster.test_gradients()#
test directional derivative.
- pygmi.test.test_raster.test_dratio()#
test derivative ratio.
- pygmi.test.test_raster.test_thgrad()#
test total horizontal gradient.
- pygmi.test.test_raster.test_vertical()#
test vertical derivative.
- pygmi.test.test_raster.test_viz()#
test visibility.
- pygmi.test.test_raster.test_check_dataid()#
test check dataid.
- pygmi.test.test_raster.test_trimraster()#
test trim raster.
- pygmi.test.test_raster.test_equation()#
tests equation editor.
- pygmi.test.test_raster.test_hmode()#
tests hmode.
- pygmi.test.test_raster.test_aspect()#
tests aspect.
- pygmi.test.test_raster.test_shader()#
tests shader.
- pygmi.test.test_raster.test_histcomp()#
tests histogram compaction.
- pygmi.test.test_raster.test_histeq()#
tests histogram equalisation.
- pygmi.test.test_raster.test_img2rgb()#
tests img to RGB.
- pygmi.test.test_raster.test_norm()#
tests norm2.
- pygmi.test.test_raster.test_norm255()#
tests norm255.
- pygmi.test.test_raster.test_corr2d()#
tests corr2d.
- pygmi.test.test_raster.smalldata()#
Small test dataset.
- pygmi.test.test_raster.test_normalisation()#
Tests for normalisation.
- pygmi.test.test_raster.test_smooth()#
Tests for smoothing.
- pygmi.test.test_raster.test_agc()#
Tests for AGC.