Questions tagged [stretch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
449 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 ...
3
votes
3answers
1k 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 ...
3
votes
2answers
988 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 ...
3
votes
1answer
258 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: ...
3
votes
1answer
384 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 ...
2
votes
1answer
788 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....
2
votes
1answer
97 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
34 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 ...
1
vote
2answers
1k 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,...
1
vote
1answer
40 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-...
1
vote
0answers
26 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 ...
1
vote
1answer
59 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)...
1
vote
0answers
126 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? ...
0
votes
1answer
192 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 ...
0
votes
1answer
22 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 ...
0
votes
0answers
344 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 ...
-1
votes
1answer
58 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 "...