Raster histogram
From AWF-Wiki
(Difference between revisions)
(→Using Layer Properties) |
|||
Line 6: | Line 6: | ||
Click on {{button|text=Pref/Actions}} and deactivate ''Draw as lines''. Activate ''Show selected band'' and ''Always show min/max markers''. | Click on {{button|text=Pref/Actions}} and deactivate ''Draw as lines''. Activate ''Show selected band'' and ''Always show min/max markers''. | ||
The value range of the selected band data is evenly divided into bins. The histogram shows how many pixels of the image fall into each of the bins (Figure '''B''')[[File: Qgis_histogram_singleband.png|thumb|right|200px|'''Figure B:''' Histogram of a single selected band]]. Click on [[File: Qgis_save_icon.png|20px]]. The graphics may be saved as png file. | The value range of the selected band data is evenly divided into bins. The histogram shows how many pixels of the image fall into each of the bins (Figure '''B''')[[File: Qgis_histogram_singleband.png|thumb|right|200px|'''Figure B:''' Histogram of a single selected band]]. Click on [[File: Qgis_save_icon.png|20px]]. The graphics may be saved as png file. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category: Working with Raster Data]] | [[Category: Working with Raster Data]] |
Revision as of 18:30, 21 October 2018
Using Layer Properties
- Click Click the Open Data Source Manger and then Add raster layer and select the file /geodata/raster/s2/Subset_S2A_MSIL2A_20170619T_MUL.tif.
- After clicking Open , the raster layer appears on the QGIS canvas.
- Right click the layer name in the Layers panel and select Properties --> Histogram
- Click Compute Histogram. A histogram for all bands is displayed (Figure A). Left click and drag a box on the diagram to zoom in.
Click on Pref/Actions and deactivate Draw as lines. Activate Show selected band and Always show min/max markers.
The value range of the selected band data is evenly divided into bins. The histogram shows how many pixels of the image fall into each of the bins (Figure B). Click on . The graphics may be saved as png file.