Questions tagged [stretch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

Applying Linear Stretch Landsat 8 SR Using Google Earth Engine

I'm doing research indices of impervious surface, but for calculate the indices, the Surface Reflectance value of Landsat 8 should be converted to a value in the range 0 - 65535 in order to maintain ...
user avatar
0 votes
0 answers
33 views

Raster - pixel values not matching legend

I am a novice at working with raster data. I extracted hundreds of .tiff files from a WMS and now I need to run zonal statistics on them using ArcGIS 10.5.1. The original map legend on the website ...
user avatar
0 votes
0 answers
818 views

Saving raster using writeRaster in R

I'm running some analysis in RStudio using raster and rgdal package. Where I assign variable to some raster, or stack for example: analysis = raster("M-34-91-B-a-1-4-4.img") Then I run some ...
user avatar
1 vote
1 answer
64 views

Transforming / stretching map or it's part in particular direction

I am trying to model ancient land surfaces we can 'rollback' geological folding and faulting. This is called palinspastic modelling or mapping. So I have an area that due to folding and faulting was ...
user avatar
1 vote
1 answer
334 views

Pixel value in export GeoTIFF file stretched by color value

I have exported GeoTIFF files from GEE and attempted to keep the pixel value in that raster layer. Once the file was imported into ArcGIS Pro the stats (min, max, mean and sd) were stretched between 0-...
user avatar
2 votes
0 answers
43 views

32bit Raster Stretching from 0 to 0

I have a raster that I've been trying to export from ArcGIS Pro as a .tif so I can load it into object based image analysis software. The raster loaded from the .gdb displays fine in Arc and is ...
user avatar
0 votes
1 answer
37 views

arcpy.sa.SegmentMeanShift() Creates segments with values outside of the range of original raster (stretched?)

I'm using arcpy.sa.SegmentMeanShift() to produce a segmented raster in ArcGIS 10.7.1. The segments in the output raster have values outside the range of values (1 to 248) in the input raster (-22 to ...
user avatar
1 vote
1 answer
123 views

Mapserver - dynamic contrast stretching for custom COLORRANGE's

In MapServer, is there a way to use the PROCESSING "SCALE=AUTO" directive to get dynamic (current extent) contrast stretching with custom colorranges? When I test my mapfile (relevant layer part below)...
user avatar
2 votes
1 answer
355 views

Changing min max of Stretched Raster with ArcPy?

I have two rasters r1 & r2: Maximum cell value of r1: 0.9 Maximum cell value of r2: 0.3 Minimum value for both is 0 I am using a color gradient: white - yellow - green - blue - red - black ...
user avatar
3 votes
1 answer
661 views

Multi-band raster color model in QGIS. Why RGB (668, 983, 1007) in Uint16 appears green?

I created an RGB Uint16 composite raster in QGIS . These are band designations: Band 1 - blue Band 2 - green Band 3 - red When i query value of a pixel that appears green - it shows (B3: 668, B2: ...
user avatar
  • 3,343
2 votes
0 answers
216 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? ...
user avatar
3 votes
3 answers
2k views

How to automatically stretch raster in QGIS? (ArcGIS DRA dynamic range adjustment analogue)

I am looking for ArcGIS's dynamic range adjustment (DRA) analouge in QGIS for raster data sets. And I have found such button: But I have to click it every time I move raster's extent. There is any ...
user avatar
  • 5,602
0 votes
0 answers
489 views

Stretching (rescaling) Raster (NDVI) Values between -1 and 1?

I am trying to equalize NDVI values for the same area temporally. For example 2014 LS8 NDVI values between -.12 and .007 while 2011 LS5 values between -.33 and.77. I would like to equalize each raster ...
user avatar
  • 471
0 votes
1 answer
300 views

Raster stretching on ImageMosaic with Geoserver

I am trying to demo serving rasters over GeoServer. I have created the store and the layer but the layer preview comes up all black. The layer is queryable however so I know the data is accurate ...
user avatar
-1 votes
1 answer
72 views

Changing default raster save settings in ArcMap?

I am clipping and saving an IMG file (created in ERDAS Imagine's MosaicPro tool) using a model in ArcCatalog 10.4. When displayed in ArcCatalog or when opened in Arc 10.4 its symbology is set to "...
user avatar
1 vote
2 answers
2k views

How to extract values from a raster using R?

I'm a beginner at using R software, and I'm attempting to perform a percent linear stretch on the following raster data: > KBnew #class: RasterLayer #dimensions : 27018, 26389, 712978002 (nrow,...
user avatar
  • 11
5 votes
1 answer
748 views

QGIS Georeferencer is stretching image

I'm trying to Georeference an image. I've followed the guide from QGIS, but for some reason, it's stretching, and offsetting the image from the points. For example, my input of the southwest corner ...
user avatar
  • 111
1 vote
1 answer
3k views

How to rescale data ranges in ERDAS?

I have an Normalized Difference Vegetation Index(NDVI) and Enhanced vegetation index (EVI) layer and I want to re-scale their data ranges to value ranges from 0–to–1, in order to optimally stretch the ...
user avatar
2 votes
1 answer
1k views

Updating contrast enhancements for raster layers using bandStatistics in PyQGIS?

Found this function to update statistics for a raster layer : rlayer.setContrastEnhancement(QgsContrastEnhancement.StretchToMinimumMaximum, QgsRaster....
user avatar
  • 121
3 votes
1 answer
432 views

Export Stretch Function values - Arcpy

I'm looking for a way to export Stretch Function values from images that’s stored in a Mosaic dataset. Not values from the whole set, but specific stretch functions per image. The set is stored in ...
user avatar
  • 31
3 votes
2 answers
1k views

Raster standard deviation stretch Python script

I am looking for ways of applying a permanent standard deviation stretch to rasters via a Python script. Are there any ArcPy raster stretch functions? I was looking for a reference but could not find ...
user avatar
  • 753