Releases: simonreise/remote-sensing-processor
Releases · simonreise/remote-sensing-processor
0.3.0
ML module changes
- Now
semanticandregressionare separate modules - Added models from
segmentation_models_pytorchandtorchgeolibraries - Added more sklearn models
- Completely changed the syntax
- Code base is almost completely rewritten
- ML datasets are now stored in
.rspdsformat - a custom ML dataset format based on Huggingface Datasets library - Now any custom Pytorch or Sklearn-based model can be trained
- More metrics available, including custom metrics
- Loss selection available, including custom losses
- Now user can define the augmentations that will be applied to train dataset, including custom augmentations
- Now basic multiscale features can be generated to improve the modeling quality of Sklearn-based models
- Added
band_importancefunctions that use SHAP to estimate band importance for the modeling - Added
confusion_matrixfunction that calculate confusion matrix for semantic segmentation models
Other major changes
- Added
processfunction that can clip, reproject, reproject match and change dtype of a single raster - Added
demgroup of functions:slope,curvature,aspect,hillshade - Added
match_histfunction that matches histograms of two images/datasets - Added
clip_valuesfunction that clips raster values to a certain range - Added
denormalizefunctions that restore original values from normalized data - Added
get_normalization_paramsfunctions that retrieve optimal normalization parameters - Added
zscoreanddynamicworldnormalization - Now data is saved with a metadata file in STAC format (can be controlled with
write_stacargument) - Almost every function now supports not only file paths, but also STAC Items as inputs
- Most of the functions now can process multi-band datasets and STAC datasets
- Reworked
calculate_indexfunction, now it supports all the indices supported byspyndexlibrary
Minor changes
replacenow supports multiple values replacement viavaluesarg- Added
clip_valuesandnodataargs tonormalizefunction input_fileandoutput_fileargs are renamed toinput_pathandoutput_pathprocessnow acceptsdtypearg, which will convert input dataset to the requested dtype- Landsat imagery is now processed by satpy
- Sentinel-2 superresolution models are now stored on Huggingface Hub
sen2corparameter ofsentinel2function is nowFalse. Sen2Cor support is going to be deprecated in the future.- The required Sen2Cor version is now 02.12.03
- Multiple performance optimisations
Deprecations
landsatno longer supports Collection-1 products because they are no longer available to download
Remote Sensing Processor 0.2.2
This update reworks semantic segmentation functions and improves processing speed and stability
- Now uses
xarray,daskandrioxarrayinstead ofnumpyandrasterio - Now stores tiles in zarr containers instead of hdf5
- Syntax, inputs and outputs of all
segmentationfunctions are reworked - Custom
kwargscan be used when initialising models - Augmentations can be applied while training with
augmentarg - Dataset size can be increased by repeating it n times while training with
repeatarg - Raster histograms now can be matched while creating mosaic using
match_histarg - Specific value in a raster can be replaced using
replace_valuefunction - Nodata value in a raster can be replaced using
replace_nodatafunction - Vector file can be rasterized using
rasterizefunction - Sentinel2 now can be upscaled using resampling algorithm.
superresarg is renamed toupscale,resamplearg added - Sentinel2 now can be normalized using
normalizearg - Landsat thermal bands now can be normalized using
normalize_targ clipperargument is renamed toclipprojectionargument is renamed tocrs
Remote Sensing Processor 0.2.1
- Added
normalizefunction that applies min/max normalization to data - Segmentation
trainandtestnow support multiple datasets input - Segmentation
train,testandgenerate_mapnow support multiprocessing - Added support for more Landsat products
- Various bug fixes
Remote Sensing Processor 0.2
Remote Sensing Processor 0.2 adds image segmentation module
- Added
trainandtestfunctions that train and test pytorch and sklearn segmentation models generate_tilesandgenerate mapfunctions reworked and moved torsp.segmentationmodule- Sentinel-2 superresolution algorithm rewritten in pytorch
normalized_differencefunction renamed tocalculate_index
Remote Sensing Processor 0.1
Remote Sensing Processor 0.1
This is the first release of Remote Sensing Processor.
It includes Sentinel-2 and Landsat preprocessing, creating raster mosaics, calculating normalized difference indices (for now NDVI only), cutting rasters to tiles and creating maps using pre-trained models.