deepness.processing.processing_utils¶
This file contains utilities related to processing of the ortophoto
Functions
Convert contour found with OpenCV to features accepted by QGis. |
|
How many map units are there in one meter |
|
Mask determining area to process (within extended_extent coordinates) None if no mask layer provided. |
|
Apply to dilate and erode to the input image |
|
Conver QGIS data type to corresponding numpy data type In [58]: Qgis.DataType? implemented: Byte, UInt16, Int16, Float32, Float64 |
|
_summary_ |
|
Transform countours with points as yx pixels to the target CRS system coordinates |
|
Transform points from xy coordinates to the target CRS system coordinates |
|
Transform coordinates polygons to pixels contours (with cv2 format), in base_extent pixels system :param polygons: List of tuples with two lists each (x and y points respoectively) :param extended_extent: :param img_size_y_pixels: :param rlayer_units_per_pixel: :return: 2D contours list |
Classes
Describes a bounding box rectangle. |