Edges of dataset load black patches
See original GitHub issueAs all the tiles are warped to one crs
I believe the edge of the dataset
loads black patches
.
I attached an example of a warped NAIP
tile that is rotated because of the warping.
The BoundingBox
is based on min & max values therefore capures more than the actual outline of the tile
.
Is there a good way to handle this?
Maybe shrinking the BoundingBox
somehow to only contain data.
PS: This is also an example of why loading just the hit
in #547 does not work even for datasets
perpendicular to their crs
. Will have to investigate how the merge handles this.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Remove near black edges off some rasters - Esri Community
Hello, I would like to mosaic hundreds of pictures into a single dataset. Each individual picture has a near black frame around the...
Read more >Extra Episode: Edge Detection – Image Processing with Python
If we zoom in on the edge more closely, as in this image, we can see that the edge between the black and...
Read more >Improving the display of raster data—Help | ArcGIS for Desktop
Gamma does not affect the black or white values in a raster dataset, only the middle values. By applying a gamma correction, you...
Read more >Incremental refresh for datasets and real-time data in Power BI
An incremental refresh policy to partition the table, refreshing only the most recent import partition(s), and optionally leveraging an ...
Read more >NetLogo 6.3.0 User Manual: Gis Extension
For line data, each vertex list will represent the vertices of a line that makes up ... gis:load-dataset gis:store-dataset gis:type-of gis:patch-dataset ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It depends on if your goal is training or prediction. For training, yes, it’s fine to lose a bit of data assuming you have a lot of data. For prediction, you want to make a prediction for every pixel on the map, not just the ones near the center of each image tile. I agree that this would be a useful addition though. I’m not sure if there’s a way to automatically predict the maximum size of the bounding box within the image that contains data. I guess it depends on the metadata available for that particular satellite.
Ah yes predicting, I didn’t think of that as I only really train for research.
Are the landsat images already rotated or is it the same effect from warping? It may be feasible to warp the coordinates of the bounds and use the smaller value for the bounding box.
If they are already rotated is it possible to warp the bounds back to the original crs (if known) and then warp the coordinates to the new crs?