Questions tagged [stretch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
127 views

Keeping symbol from stretching to patch size

How is a symbol shape maintained without stretching to the patch size? Attached images are legends in ArcMap and ArcGIS Pro to illustrate difference. In ArcGIS Pro, the symbol shape looks good in the ...
Terry R.'s user avatar
0 votes
0 answers
56 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 ...
novice here's user avatar
0 votes
0 answers
1k 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 ...
FranekB's user avatar
1 vote
1 answer
113 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 ...
WestCorkPalaeo's user avatar
1 vote
1 answer
546 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-...
Rose Chai's user avatar
2 votes
0 answers
79 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 ...
Rena1231's user avatar
1 vote
1 answer
55 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 ...
Son of a Beach's user avatar
1 vote
1 answer
184 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)...
Theo Pauw's user avatar
2 votes
1 answer
460 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 ...
Philip Srnck's user avatar
3 votes
1 answer
991 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: ...
Basile's user avatar
  • 3,533
2 votes
0 answers
372 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? ...
Worcester_Student's user avatar
4 votes
3 answers
3k 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 ...
Comrade Che's user avatar
  • 7,016
0 votes
0 answers
664 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 ...
Amadeus's user avatar
  • 493
0 votes
1 answer
402 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 ...
Timbo284's user avatar
-1 votes
1 answer
80 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 "...
Ozplanman's 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,...
Kristi's user avatar
  • 11
5 votes
1 answer
1k 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 ...
Aaron's 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 ...
Mokhine Motswaledi's 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....
larcsetay's user avatar
  • 131
3 votes
1 answer
442 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 ...
toge's 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 ...
meryloo's user avatar
  • 763