Questions tagged [histogram]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
15 views

Query of line direction histogram plugin

I was wondering if anyone could explain how this plugin works I have had a play around with it and I do like how it visualizes how vectors are orientated. However I ran one and opened the CSV file ...
1
vote
1answer
34 views

Fixing Histogram selectionChanged from Carto Airship 1.04 to 2.00?

I have spent quite a bit of time playing around with this generous example provided by Jorge Sanz of Carto: https://gist.github.com/jsanz/8025628d669f1d9d0647f658f5511774 One thing I've gotten stuck ...
0
votes
1answer
32 views

Making raster histogram excluding zeros in R?

In R, can I make a histogram of all the non-zero values in my raster? Some reproducible data below. I just want the histogram to be made with the zeros. Happy with a way to do that, or I guess to ...
2
votes
1answer
85 views

Unrecognized argument type to convert to a FeatureCollection:

I am unable to chart a histogram for my region for each image in an image collection. // Create clipping function var clipper = function(image){ return image.clip(geometry); }; var modis = ee....
0
votes
1answer
164 views

How to reduce a custom bin histogram for a region in Google Earth Engine?

I'd like to reduce all the conties' data histogram with a custom bin, but what I got is a auto bin histogram, it seems ee.Reducer.fixedHistogram() can help, but I don't know how to pass the parameters(...
2
votes
1answer
170 views

Values on top of each bar of a histogram in QGIS

Is it possible to show the values on top of each bar of a histogram created with QGIS? (I am using QGIS 2.18) I know this post [Is it possible to label bar charts? addressed a similar question years ...
0
votes
0answers
40 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 ...
2
votes
1answer
174 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
61 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
45 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
39 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
235 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
59 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
360 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 ...
1
vote
1answer
54 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
612 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 ...
1
vote
1answer
147 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
48 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
79 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
170 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
112 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
71 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
181 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
452 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
95 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
198 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
1k 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
140 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
26 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
218 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 ...
4
votes
1answer
787 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
449 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
86 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
254 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
211 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
91 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 ...
2
votes
1answer
423 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.
2
votes
0answers
271 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
177 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
452 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
443 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
450 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
91 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
122 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
245 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
360 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
974 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
693 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
549 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 ...