GenericMappingTools / GenericMappingTools/RemoteS.jl

Histogram stretch and overlay of other rasters

Open
#57 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Continuing the discussion from this [post](https://discourse.julialang.org/t/how-to-create-a-rgb-plot-from-three-different-tif-files/92001/13).

The bright dots in the following image are targets, the low Rayleigh corrected reflectances values are expected since land was masked out and water absorbs most of the radiation.

Screenshot 2022-12-30 at 10 24 28

According to this [tutorial](https://www.generic-mapping-tools.org/GMTjl_doc/tutorials/Landsat8/histogram_stretch/), I used `histogram(Ir_img, auto=true, bin=10, show=true)` to find good stretch points

Screenshot 2022-12-30 at 10 34 44

I used `imshow(Ir_img, stretch=[0 100])`, didn't notice any difference on the Ir_img plot and receive this warning `the following options were not consumed in grdimage => [:stretch]`.

I am trying to reduce the darkness of the water in the RGB image.

Also, is it possible to overlay a fourth raster on the RGB plot? If not, is this a future feature?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.