The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [pixel]

In digital imaging, a pixel, or pel (picture element), is a single point in a raster image, or the smallest addressable screen element in a display device. In GIS applications, a pixel may also refer to an imagery layer or other raster data.

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

Simultaneous raster downsampling/downscaling and upsampling/upscaling for false accuracy minimisation

I want to have a raster stack of two different resolutions. One is from VSNIR and one from SWIR sensors (hyperspectral). The VSNIR has a resolution of 25 cm and the SWIR of 80 cm and both data have ...
1
vote
0answers
25 views

Convert pixels to coordinates

I have a vertical image with size (W,H). I have info about the coordinates in decimals of the the upper left and bottom right (Lat1,Lng1,Lat2,Lng2). I have the Ground Sample Distance (GSD) of the ...
0
votes
1answer
39 views

How to calculate mean pixels value of shapefile (for specific place)?

I have GeoTIFF image. I want to know how to calculate specific area mean pixels values? Is field calculator for(value*count fields) right or get raster properties? Or what can I do?
0
votes
0answers
13 views

No Data Value through Pixel Inspector in ArcMap

I have a raster that represents temperature on a global scale derived from satellite data. Initially it had pixels in the ocean assigned -9999. After I used SetNull tool to eliminate them they show up ...
0
votes
2answers
35 views

Get geographic coordinates based on pixel coordinates?

I'm working with Mask R-CNN to locate fires. I have the following image. I have info about the geographic center coordinates of the image, and the orientation of the image in degrees let's suppose ...
0
votes
0answers
22 views

OpenLayers3 map.forEachLayerAtPixel bug

Hi I'm working with OpenLayers version 3 and using method map.forEachLayerAtPixel(). The problem is I usually work on big screen and now I have switched to my laptop with smaller one and suddenly ...
1
vote
2answers
42 views

Selecting all the pixels in a raster coverage that have a specific pixel value? (in PostGIS raster)

I have a land use map in the format of TIFF. I imported this file as a table in PostGIS using raster2pgsql. The land use file has 7 different classes. How can I select all those pixels that have the ...
1
vote
1answer
33 views

Extracting pixel values for specific point locations in WGS 1984 / EPSG: 4326 image

I have a remote sensing image with GCS WGS 1984 / EPSG: 4326. I need to extract pixel values from this image which corresponds to specific point locations. For that purpose, I defined these ...
2
votes
1answer
124 views

Getting coordinates of pixel from georeferenced drone photo?

I have a problem with geo-referenced photos from a DJI drone. I have the coordinates of the center of the photo and the metadata related to the photo and I would like to know how to go from a pixel to ...
1
vote
1answer
68 views

Raster calculator - problems with syntax

I have a raster layer with values ranging from 0.00597303 to 0.102894 and I want to assign specific number representing a group to specific range of values: Group 4: x >= 0.1 Group 3: 0.01 <= x ...
4
votes
1answer
44 views

Updating raster pixel values where they overlap with another raster band

I am trying to replace/update the raster pixel values of band '3' of a Land Cover Map to a new value of '24', but only where these pixels overlap with value '4' of another raster layer. How do I write ...
1
vote
0answers
25 views

Getting stripe across tiles without buffering image?

I am new to geotools. I need to get a horizontal stripe of bytes from the image data without buffering the whole image. I've looked at the various envelopes and pretty sure I could use just ...
0
votes
1answer
118 views

Calculating the distance of each pixel in a raster from a point in PostGIS [closed]

I have a raster in PostGIS and a table of points. I want to calculate the distance of each pixel to each point. How can I do that? For example, if 9 pixels and 3 points, then I want to calculate 27 ...
2
votes
1answer
86 views

How to write a single pixel or a line of pixels to GeoTIFF using GDAL/Python

Let's say I want to write a single pixel or a 1D array of pixels (e.g.all at the same latitude) of pixels to a single-band of a Float32 GeoTIFF using the Python GDAL bindings. How can I do so? Or is ...
1
vote
2answers
48 views

Cannot read pixel value from DTM raster with QGIS

I am using this DTM: http://ags.cuzk.cz/arcgis2/services/dmr4g/ImageServer/WMSServer?request=GetCapabilities&service=WMS At ArcGIS I am able to ready pixel value of the raster but at QGIS it ...
0
votes
0answers
33 views

delete pixels intersecting vector border

I have a two files : vector file : polygon (red) raster file : got by clipping a raster file using this vector file (Green) I want to delete pixels that intersect with the vector border (I want to ...
0
votes
1answer
69 views

Wrong masked pixels

I am new in GEE, and tried to run a simple code to mask cloud pixels. However when I added the image selected with my filters I saw that the result of the cloud filter are empty areas, as shown below: ...
1
vote
1answer
48 views

Explanation of reduce.count() function in Google Earth Engine

Following the indication on Calculating number of pixels in polygon using Google Earthy Engine? I wrote this script: var gfc =ee.Image('UMD/hansen/global_forest_change_2018_v1_6'); var lossyear = ...
1
vote
0answers
31 views

Is there a way to interpolate lost data/lost pixels caused by cloud and cloud shadow masks in Google Earth Engine? [duplicate]

I'm sure cloud and cloud shadows have been, time and time again, a frustrating problem. Usually after masking the two, I composite multiple images (in a set time interval e.g. 2015-2016, months 6-8) ...
0
votes
1answer
40 views

Obtaining pixels between 2 raster layers (border)?

I have a rasterStack obtained from a stack of 3 raster layers by: image = stack(A, B, C) I would like to calculate the distance between the pixels of layer A and pixels of layer C. After ...
1
vote
0answers
141 views

Calculating pixels coordinates from lat/lon

I'm trying to develop a WPS that would print maps to images and PDFs. I don't want to use Mapfish because of its limitations, and because of some customization I need to add to the printed maps. My ...
1
vote
1answer
223 views

Calculating distance between point and selected pixel in R?

I would like to obtain the distance between a point and a selection of pixel on raster image. Here the process: I read my JPEG image and extract colors I want: img.raster<-stack(***) names(img....
0
votes
1answer
42 views

Calculating distance between each pixel of rasterstack image?

I am new on R and I have an image of class "rasterstack" of only 3 colors: Red, Green and blue as illustrated: I use this function: image = stack(img.red, img.green, img.blue) I would like to find ...
1
vote
1answer
50 views

Using GDAL Warp results in odd pixel sizes and gaps

I am mosaicking one meter and three meter rasters to two meters in Python with GDAL Warp using the following code: cl_string = "-of GTiff -co COMPRESS=LZW -tr 2 2 -tap -r near -overwrite \ -multi -wo ...
1
vote
3answers
135 views

Converting raster pixels to vector cells?

Is there any way to convert raster pixels to vector cells? I mean each pixel to a polygon. I tried the SAGA tool 'Raster values to points' by choosing cells option instead of nodes option. As a ...
2
votes
1answer
242 views

How big is a MODIS 250m pixel in reality?

How big is a MODIS 250m pixel in reality? This appears to be a question that contains its own answer, but I have several reasons to doubt that the pixel size is actually 250m x 250m: I downloaded ...
0
votes
1answer
61 views

Creating raster with custom values? [closed]

I have a problem: I need to create a raster with all pixels values = 0, but one of these pixels must have the value = 1. This pixel has especific XY coordinates related to an in situ station. I need ...
1
vote
2answers
203 views

Calculate 16-bit elevation values from a 32-bit RGBA image?

Say a single-band 16-bit (UInt) raster with values representing elevation (meters) must be converted to a 32-bit RGBA PNG image (8-bits/band) for use in a web application. The image dimensions must be ...
0
votes
1answer
53 views

Obtain pixel coordinates of an image

I'm working with a tiff image in arcgis projected in UTM 33N and I need to obtain pixel coordinates of a specific point in the image with known metric coords (UTM 33N). How can I get them?
3
votes
0answers
51 views

Rotating orthophoto based on polygon boundary (rotated pixel)?

When I clip an orthophoto using a vector polygon, the resulting pixels orientation is north-up like as shown in the graphic below. I used Global Mapper, ERDAS, Arcmap "Clip" "Extract by Mask", "...
1
vote
1answer
40 views

Does the MODIStsp package computes the QA's and eventually corrects the bad quality pixels?

I am using R's MODIStsp package for downloading MOD11A2 time series products. While executing the command it was written that QA's were computed. Several files were created, LST_Day_1km, QC_Day, ...
0
votes
1answer
168 views

Using raster stack function time in R?

I successfully ran a function over a smaller test raster stack (48 layers) in about 30 minutes but cannot run it over my large stack (1462 layers). The last one I tried over the large stack ran from ...
1
vote
0answers
120 views

Clean up pixel noise from raster in ArcGIS

I have this raster. It has some pixels near the main objects, this raster is a product of a classification. those little pixels have the same value of other big objects, so I cannot just reclassify. ...
0
votes
0answers
37 views

ArcGIS - Count pixels in two overlapping rasters that have the same value?

I have two raster with five classes each one (each class from 1 to 5 value), they have the same shape and are in the same place, they are in teory "alike", but there are subtle differences between ...
0
votes
2answers
406 views

Getting all pixel values from raster image in ArcGIS Desktop?

I am using a CHIRPS raster image on ArcGIS 10.6 and there is no attribute table, I need the pixel values as it is the individual rainfall data for the stations to perform further statistics on. How ...
1
vote
1answer
89 views

Pixel count on AFR Raster in ArcGIS?

I have this kind of raster which has no pixel count in his attribute table. I'd like to calculate the pixel count by class: These are the raster's properties
1
vote
0answers
47 views

How to get the area of the pixels of a raster in Africa Lambert Conformal Conic CRS in R

My question has been previously asked here (R How to multiply the values of the raster pixels with the true surfaces of these pixels?), I have to multiply the precipitation value of each cell by the ...
1
vote
1answer
54 views

Converting proximity from PIXEL distance to GEOmetric distance in QGIS

I used the Raster>Analysis>"Proximity (Raster distance)" tool in QGIS in order to create a raster of distances to a particular value in another raster. This is the same sort of thing someone might do ...
0
votes
2answers
33 views

Eliminating single raster pixels of flow distance raster in ArcGIS Desktop?

I want to clean up a calculated flow distance raster and need some ideas on how to do it. As you can see in the picture, there are some pixels along streets and rivers (gray) that show connection (...
2
votes
0answers
387 views

Correct resampling method to simulate lower resolution satellite data?

I would like to simulate lower resolution satellite imagery from continuous higher resolution imagery. For example I want to use Landsat derived leaf area index data with a resolution of 30 m and ...
1
vote
1answer
29 views

How to find if a pixel is entirely within another pixel when comparing for example two GeoTIFF raster maps? [closed]

Using GDAL and/or Python Red: GeoTIFF raster Map layer 1 Blue: GeoTIFF raster Map layer 2
1
vote
0answers
79 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-...
0
votes
0answers
127 views

Getting fractional count of pixels in raster map using QGIS?

I have a raster map consisting of 22 land cover classes (LCC). Each pixel is 300 x 300 meters in dimension and contain one of the 22 LCC. I need to make 1 km x 1 km cells in the parent grid and count ...
2
votes
1answer
103 views

Get pixel values from a raster using a multipartpolygon

I'm trying to get the mean value of pixels from an NDVI raster, that intersect the geometry of a FeatureCollection, that is a multipart polygon which represents my sample area, but I can't find the ...
0
votes
1answer
255 views

Extracting pixels in multiple rasters based on the values of another raster's pixels for time series analysis

I'm working with 52 rasters of a specific region over a period of one year in python. I also have a mask raster of the same area that is a binary color (250 black pixels for disparate areas of ...
0
votes
1answer
388 views

Filling no data value in raster using ArcGIS Desktop?

I have a raster with no data values, I want to give them values according to values around them. If a no data pixel is surrounded by 8 pixels whose values are 1 then the no data pixel should adopt ...
1
vote
1answer
128 views

Lost pixels during a raster merge with gdalbuildvrt

I'm trying to merge some rasters with gdalbuildvrt in a python script: rasters = glob.glob('/{0}/ndvi_masked/*.tif'.format(path)) gdal_cmd = 'gdalbuildvrt -q -vrtnodata "0" -overwrite {0}.vrt'....
1
vote
0answers
142 views

Mapping pixel coordinates to lat lon

For a deep learning project, I trained a YOLO based model to detect objects on satellite images (from spacenet dataset; epsg:4326). However, as the Darknet only takes JPG/PNG images as input(to the ...
0
votes
1answer
46 views

Extracting pixels from polygonal geospatial region of set of map tiles and/or set of GeoTIFF files?

I need to create a script, probably JS or Python, to perform the following: I have a polygonal region -- no "holes", and always fully convex -- for which I need to extract the pixel data from one of ...
2
votes
2answers
176 views

How to count pixels in a raster below a given value in PostGIS

The code below works in getting the basic statistics of a clipped raster. I would like to add a metric that is the percent of pixels that are below a given value. I am already calculating the total ...