deepml.geospatial package
Submodules
deepml.geospatial.utils module
- deepml.geospatial.utils.create_chips(input_image, label_image, out_dir, stride=256, window_size=256, geo_tagged=True)[source]
Creates image chips of given windows_size from large image. Output image filenames are stored with index.
- Parameters:
input_image – Input image file path.
label_image – The label image file path.
out_dir – Output dir for saving small size images called chips.
stride – The window step size.
window_size – The output image size. Default is 256.
geo_tagged – Weather to create image with geotagged information if present in the source input image. Default is False.
- Returns: