Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [histogram]

a graphical representation of the distribution of observed data across the spectrum of classes of values.

0
votes
0answers
11 views

From raster histogram/raster make frequency tables in Python

Im new in programming... I would like to know, how I can get a frequency table from a rasters histograms? Or how can I generate the table from a raster? I would like a table of the histogram showed ...
1
vote
1answer
24 views

Earth Engine - function for printing multiple histograms

I have several time periods within a feature where the precipitation was very low stored in a FeatureCollection with the properties "begin", "end", "amount", "days".I want to use the feature ...
1
vote
0answers
48 views

Questionable data on single channel satellite bands vs. RGB composites

I am using Sentinel-2 images for a given region. I have all the separate bands and a merged RGB file, which comes standard with a download from ESA's API. Now I'm running some code where I separate ...
2
votes
0answers
20 views

QGIS 3.2 Raster Histogram frequency axis always locked at 1

Question is pretty much in the title: Whenever I go to layer properties and generate a histogram for a raster the frequency axis of the histogram is capped at 1. So for say a multi-band image I see ...
0
votes
1answer
21 views

Why is i.histo.match missing from QGIS 3.x?

I'm trying to normalise and then mosaic two ASTER scenes (multiple bands in each). The GRASS tool i.histo.match has been suggested in a few places, but it isn't listed in the processing toolbox for ...
0
votes
1answer
39 views

Accessing raster values to create histogram using ArcPy? [closed]

Using native Python and arcpy function what method is best to create a histogram of raster dataset? I know it's possible to use raterio and GDAL functions, but I would like to keep it a arcpy and ...
1
vote
0answers
31 views

Color different of two Sentinel 2A (L1C) images from the same sensing date

i'm new to this GIS Q&A websites and remote sensing as well, so sorry for this too basic question. It's about my Sentinel 2 (Level-1C) images. I downloaded 2 images with the same sensing date (09-...
1
vote
0answers
116 views

Min-max stretch using gdal_translate in a batch

I'm trying to do a min-max stretch on a raster and save it using gdal_translate. The syntax requires to enter source min and max raster values as arguments for a -scale option: -scale [src_min ...
0
votes
1answer
31 views

Histograms in Erdas Imagine staying grey

When I open the metadata in Erdas Imagine 2016 of a raster file (I tried several different raster files) the histogram at the histogram button stays grey. I already tried to change the setting of NAs ...
0
votes
1answer
218 views

How to work on histograms in ERDAS Imagine?

Is there a possibility to work on histograms in ERDAS Imagine? For example: Compare histograms of different images or different extents Shift them or find patterns I thought there must be good ...
0
votes
1answer
56 views

Why does gdalinfo -hist give values outside of [0 - 65535]?

I am running gdalinfo -hist on a 3 band tif file and am getting the following output (see below). Notice it says 256 buckets from -78 to 40184. That's fine, but then when it shows the histogram, ...
2
votes
1answer
36 views

Camembert and histogram style

I want to know if there is a method for displaying camembert and histogram on map using Openlayers3 and/or Geoserver. Like the picture bellow
1
vote
0answers
43 views

Changing “Stretch Type” of list of rasters to “Histogram Equalize” with ArcPy?

Goal: To modify a list of rasters using the histogram-equalize stretch-type What is the appropriate tool to use to change the stretch type of a list of rasters to histogram equalize with arcpy? ...
1
vote
1answer
129 views

Multiple histogram from a raster image in R

I need to get multiple histograms from a tif image. I have the following data: A big raster tif image: tif1 <- raster("myRaster.tif") hist(tif1, breaks= 10) # gives the entire histogram A ...
0
votes
1answer
73 views

ArcGIS Desktop Classification Histogram

Is there a way to access the classification histogram which is used when classifying data in ArcGIS desktop? The background is I have a series of data layers for which I need to use the same ...
1
vote
0answers
68 views

Histogram charts rendering away from data

I am having issues with producing Histograms in my file. Initially I thought they were not showing up, but it turns out they are, just extremely far away from my actual data. For reference: Here are ...
3
votes
0answers
126 views

What bin value does QGis Histogram uses?

I have some single-band rasters (NDVI) on Qgis, for which I can obtain their distribution histogram by going to Right-click > Properties > Histogram Tab > Compute Histogram. This is an ...
5
votes
2answers
281 views

Load frequency histogram in Print composer

I'm a QGIS-user and I'm looking for a way to add a frequency histogram in the print composer. The aim of it would be to visualize the distribution of values around the defined class borders of a given ...
1
vote
1answer
76 views

Remove histogram classification labels

Is there a way to remove this numbers associated with vertical segments in histograms in QGIS? I am using 2.18.
1
vote
1answer
155 views

What's the default histogram manipulation of QGIS for displaying RGB images?

When you open an RGB geotiff (e.g. bands 4-3-2 of Sentinel-2) as raster dataset in QGIS - what histogram manipulation is applied by default? Of course I can look at the min-/max-values, but I'd like ...
2
votes
2answers
786 views

Raster histogram in R

I need to do a histogram from a big raster, its a full region in Chile. But I don't like the QGIS's Histograms so I decided to make it in R. I installed sp, raster and rgdal packages, but R brings me ...
2
votes
1answer
113 views

ST_Histogram pretty categories

I have an elevation raster (DEM) in PostGIS and want to compute a histogram using ST_Histogram. I use this query: SELECT (ST_Histogram( ST_Union(ST_Clip(rast,polygon.geom)), 1, -- raster ...
1
vote
0answers
19 views

Geosoft GRD histograms do not save in layer file

My colleagues and I are using ArcGIS 10.3 and 10.1 with the free Geosoft plug in. When saving layers containing geosoft grd files we usually display using a percent clip which require the histogram to ...
2
votes
1answer
170 views

Automatic contrast stretch for each atlas element?

I'm working with QGIS 2.18 (windows) and the useful atlas tools. My covering layer is a polygon layer (20 features). My atlas template is composed by 4 map elements representing different images ...
3
votes
1answer
447 views

Creating histogram for slope raster in QGIS?

I am looking at landslide distribution and I am wanting to look at the distribution of landslides on different slopes. Ideally, I am wanting to create a graph that displays the slope distribution for ...
1
vote
1answer
288 views

Can the histogram size in the legend of a tmap be adjusted?

Really enjoying tmap, and very happy to see the inclusion of histograms. Can that hist object be modified in any way? See below how the natural histogram object is somewhat squished. this_name = "...
0
votes
1answer
64 views

using histogram2d with categorical dimension

This is a scatterplot of business addresses in Melbourne by ANZSIC division names. sns.pairplot(x_vars=["x coordinate"] , y_vars=["y coordinate"] , data=d , hue=...
1
vote
1answer
206 views

Getting Hypsometric curve and Integral from elevation data in ENVI?

I am attempting to get the hypsometric curve (HC) and integral (HI) from some elevation data. The data I have is in ENVI format (ENVI ROIs and DEMs). Eventually, I would like to automate this, but for ...
0
votes
2answers
149 views

Zonal histogram completed but no output created

I am trying to obtain zonal histogram data for about 10 000 statistical sectors in Belgium. So I have a shapefile containing these polygons. I also have a value raster which has been reclassified : ...
0
votes
1answer
83 views

Lena Histogram 8 bit unsigned image

I am working on Lena image (unsigned 8 bit grayscale 512*512 pixels). I tried to plot the histogram using matlab (inbuilt imhist function) and in arcgis. I am getting different pixel count, appx duble ...
1
vote
0answers
307 views

QGIS equivalent to the ArcMap Zonal Statistics as Table

Is there a QGIS equivalent to the Arc: Spacial Analyst: Zonal: Zonal Statistics as Table? Given the USDA Cropland Data Layer, Would like to count the pixels by type within a county.
3
votes
0answers
212 views

How to do color correction when mosaicing and clipping with gdalwarp

I'm mosaicing a number of GeoTiffs with gdalwarp and clipping to a geojson area of interest using the following command: gdalwarp -of GTiff -cutline <PATH_TO_GEOJSON> -crop_to_cutline -...
1
vote
0answers
153 views

UInt16 only has 256 buckets

I used gdal_translate to converted a Float32 DEM to a UInt16 .tif and then ran gdalinfo -hist. In the histogram it says that it has 256 buckets. I also ran -hist on a 8bit .tif and that also has 256 ...
2
votes
2answers
410 views

Problem opening JP2 image using GDAL (interaction of -stats and -hist flags)

I came across unexpected GDAL behaviour while working with Sentinel-2 data granules. The Sentinel data should have values between 0 and 10000 when opened correctly. However, I have noticed that when ...
2
votes
0answers
369 views

How to match the colors of different RGB mosaic rasters?

I am beginner in QGIS. I want to classify many RGB rasters (see picture) but their colors don´t match. As you can see, the green polygon shows the same land cover class (meadow) but in each tile the ...
2
votes
2answers
384 views

Too many zones for Zonal Histogram?

I have 45 tif tiles each of 20-50MB and a single shp file with about 4000 polygons. I want to run zonal histogram in Arcmap 10 to get the number of pixels with each value for each polygon. If I ...
3
votes
1answer
86 views

Why different SPOT5 histograms from two versions of same SPOT5 raster?

I have encountered a, to me, strange behaviour in the histogram function of QGIS (2.2.0 Valmiera on Windows 7). Basically the same image produces totally different histograms. I might have missed ...
1
vote
0answers
1k views

Histogram matching of two NDVI images

I have two Landsat 5 NDVI images (Surface Reflectance products) from the same period of the year (only a few days apart), but one is from the 1980s and one from the 2000s. I am trying to do a change ...
1
vote
0answers
117 views

Why is the Spatial Analyst toolbar graph different to Graphs>Create Graph?

I'm using ArcGIS 10.3 and want to look at elevation vs frequency of each elevation for a DEM. There seems to be two ways to create this graph: Use the "Create histogram" tool on the Spatial Analyst ...
2
votes
1answer
214 views

replace raster cell values with values in a .csv

I'm looking for a simple way to replace the value field in GRID format with values that I have in a csv. It would be much like doing a join, where the GRID and the csv have a FEATUREID and then ...
2
votes
1answer
289 views

Geoserver automatic histogram manipulation for WMS requests?

I'm having this weird thing when making two different WMs requests. The requests differ by the requested BBOX, meaning two different image-regions, yet the requested regions do overlap. And now for ...
0
votes
2answers
901 views

Creating histogram/statistics/scatterplot by classification tool in ArcMap?

I'm currently working on a land cover classification with Landsat 8 imagery. I already subjected the imagery to pre-processing (atmospheric and topographic correction) and I mosaiced two images. Now I ...
1
vote
2answers
650 views

Zonal histogram for each region (row) in a polygon (table) with python script

I have DEM.tif (symbology uses equale interval - 100m) and a polygon file (regions.shp) with many regions (names are defined in 'reg_name' column). I would like to use Zonal Histogram to produce ...
6
votes
0answers
537 views

Zonal Histogram Output Problems - No values associated with the habitat type [closed]

I have a outline of some islands (shapefile or raster) and GAP landcover data (raster). I am trying to use Zonal Histogram to create a file with a histogram of the habitat types in each island. Each ...
4
votes
2answers
1k views

Accessing histogram in ArcGIS Desktop?

Using ArcGIS Desktop 10, I need the histogram of the frequency to heights distribution like in the attached picture. Is there another toolkit to access this data? A screenshot is not suitable. The ...
0
votes
1answer
405 views

Exporting ArcMap produced layer file histogram?

I could simply take a screenshot, or reproduce it in other software, but what I see when I go to layer properties>symbology>classify is perfect for what I need. The only thing is it would be nice ...
2
votes
1answer
657 views

Convert pixel value histogram to table

I am working in QGIS 2.1 with the National Land Cover Database 2006 land cover layer. It is a raster layer with pixel values corresponding to different land cover types. I have clipped this raster to ...
11
votes
2answers
1k views

Histogram Matching using Python to improve mosaicking process of multiple overlapping rasters?

I am trying to do histogram matching using Python to improve the mosaicking process of multiple overlapping rasters. I am basing my code on that found at: http://www.idlcoyote.com/ip_tips/histomatch....
5
votes
2answers
770 views

Permanent Histogram Stretch with QGIS or FWTools

Is there a way to permanently stretch a histogram of a raster within QGIS or gdal? I would like to stretch a satellite image with a Standard Deviation 2.5 stretch. I would prefer to use QGIS or ...
1
vote
1answer
7k views

Create histograms in QGIS

I need some help to produce histograms regarding my data about an algae density collected in 8 sampling sites, 4 times a year, for 5 years. I would like to analyse them, underlining the differences ...