TiledColorBasedDistance¶
Qualified name: CDC.tiled_color_based_distance.TiledColorBasedDistance
- class TiledColorBasedDistance(*, ortho_tiler, color_model, scale, output_location)[source]¶
Bases:
object
Calculate color based distance on tiled orthomosaic.
- Parameters:
ortho_tiler (OrthomosaicTiles) – An instance of
OrthomosaicTiles
color_model (BaseDistance) – The color model to use for distance calculations. See
color_models
scale (float) – A scale factor to scale the calculated distances with.
output_location (pathlib.Path) – Where output orthomosaic and tiles are saved.
Methods
Scale image by alpha and take the absolute value.
Calculate color based distance on all tiles and save output.
Calculate a histogram of the color based distance from all tiles.