Comments (4)
I modify utils.py line 17 from:
if src.mask_flags[0] & MaskFlags.per_dataset:
to
if MaskFlags.per_dataset in src.mask_flag_enums[0]:
and it works on my own datasets now.
Python version : Python 3.6.6 :: Anaconda custom (64-bit)
Rasterio version : 1.0.21
GDAL version : 2.4.0
from rio-hist.
I was able to get data set 2 to work using these commands.
rio edit-info --nodata null source2.tif
rio edit-info --nodata null reference2.tif
from rio-hist.
@tomwang221812 Your solution solved the issue I had. Thanks a lot !
from rio-hist.
Closing in favor of #17. No date set yet.
from rio-hist.
Related Issues (16)
- Compare to other histogram matching algorithms, benchmark HOT 1
- Handle nodata masks HOT 1
- Which color spaces are useful for histogram matching? HOT 9
- RGBA and masked rasters
- Drop HSV
- Non-exact histogram matching HOT 2
- Match multiple references HOT 7
- How to matching the histogram
- LCH space and 16-bit to 8-bit match HOT 1
- Regarding creation_options HOT 3
- Update for rasterio 1.0-1.1
- 1.0b1 release HOT 1
- 1.0.0 release HOT 2
- For different reference image?
- MemoryError while running on large images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rio-hist.