Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [band]

A layer in a raster dataset.

1
vote
1answer
47 views

Finding all the values within a band in google earth engine

I have an image composite which includes a day of year band. When I display the band using Map.addLayer and stretch by 100% in the Visualization Parameters I can see that the range of values is 151-...
0
votes
1answer
34 views

Exporting band data of a large number of points

I have a question regarding exporting a data from GEE. I am new to coding and GEE. What I would like to achieve is export pixel band data of points a have managed to upload using Fusion Table. Is is ...
2
votes
1answer
67 views

NDVI index based on QA bands for MCD43A4 , in GEE

I want to calculate the NDVI index based on the MODIS/006/MCD43A4 collection and based on quality bands, but as a new GEE user I have no idea If I am on the rght way to do this. So far I have the ...
0
votes
0answers
49 views

Rasterise shapefile as 1 band (grayscale)

My code converts shapefiles to rasters. I had first done this in colour, but now I need greyscale (1 band). The code seems to create this for the first raster file, but the other raster files seem ...
0
votes
0answers
35 views

How to remove unnecessary bands from .sid file (keeping file format)

An ImageMosaic layer created from .sid data containing 5 bands has black areas where data is missing and setting transparency parameter in GeoServer does not help as error appears: Error rendering ...
0
votes
1answer
29 views

Map.addLayer automation

As in the Hillshade Example, I wanted to automate adding all Layer from one Image for visual inspection. var band_names =Image.bandNames() print(ee.String(band_names.get(0))) for (var i = 0; i < ...
0
votes
1answer
44 views

.bandnames() as String

var bandname = ee.String(ee.ImageCollection.first().bandNames()) gets a print of: using ee.Image.regexpRename(bandname, new_name) or using var bandname = ee.String(bandname) results in : ...
1
vote
1answer
305 views

Google Earth Engine, get a List of Bands

I want to Automate Band selection for all bands. Therefore a List of the Bands is needed. This didn´t work: ee.List(image.get('bands'))
1
vote
1answer
221 views

Count pixels of different bands in MODIS

I need some help with my script in GEE. I’m working with a MODIS Terra Vegetation Continuous Fields Yearly (MOD44B.051 Terra Vegetation Continuous Fields Yearly Global 250m) and I’m trying to obtain ...
0
votes
0answers
11 views

Raster Clip of Ortho Imagery (Keep Red, Blue, Green Bands)

I'm using the Raster Clip tool to clip ortho imagery to county boundaries. It works fine and looks great, except in ArcCatalog it saves 4 files: Filename, Filename1, Filename2, and Filename3. I think ...
0
votes
2answers
131 views

NDVI from ENVI to Arcmap stretched value

I calculated NDVI in ENVI by band math. When I drag and drop the image in ArcMap it becomes a black image with stretched value =0 for all pixels. However, by identity clicking each pixel has a value ...
2
votes
2answers
315 views

Are Landsat 8 data from ESPA corrected and calibrated?

I am trying to figure out Landsat 8 data corrections and calibrations. Actually, I don't really know how this can be done and which data needs what kind of correction and calibration for further ...
0
votes
0answers
298 views

Landsat 8 bands of 432 looks too dark in ArcGIS

I have created a composite map using the combination of Landsat 8 bands of 4, 3 and 2 (I read this combination gives true natural color) to see the scene in true color in ArcGIS, but it looks too dark....
3
votes
1answer
160 views

GeoTools extract band

I have a tiff image with 4 bands (Red, Green, Blue and Infrared) and I need to extract two of them. I want to input one image and split it and make two images. I want to do it with GeoTools since I ...
0
votes
2answers
132 views

band name for landsat surface reflectance product

I'm looking for any link/documentation where the centre wavelengths of Landsat surface reflectance product are stated/written (i.e. the value for each centre band). Specifically, I wanted to be sure ...
1
vote
0answers
141 views

Difference in the maximum values of a Raster band when using numpy array and when using gdal function directly

import numpy as np from gdalconst import* band = 'band1.tif' band1_12 = dataset1_12.GetRasterBand(1) max = band1_12.GetMaximum() print(max) #this gives 2425.0 data1 = np.array(band1_12.ReadAsArray())...
6
votes
2answers
444 views

Why is a normalized parameter involving the Green band and Red band not used for Vegetation determination?

The green region reflects solar energy sufficiently well. So does the NIR region, much more than the green region, indeed. However, reflection in Green region is based on the chlorophyll concentration,...
1
vote
1answer
135 views

Batch Processing single band raster to create multi spectral images using arcpy.CompositeBands_management?

I am kind of new to python but I am trying to batch process single band raster images to create multispectral imageries using arcpy Composite Bands. I have 24 single band rasters (Bands 1 - 3 ) all ...
6
votes
1answer
836 views

Viewing bands of landsat 8 images in QGIS for NDVI calculation?

I am trying to calculate NDVI values for sites I sampled with landsat 8 imagery. The equation is simple : NDVI = (NIR band - Red band)/(NIR band + Red Band) Now I understand that landsat 8 images ...
3
votes
1answer
1k views

How to use GDAL translate tool in python script QGIS

I'm trying to use gdal_translate tool in a python script I'm writing in QGIS 2.18.3. I use the translate tool because I want to change all the zero values (in all 8 bands of my raster) to nodata. I'm ...
1
vote
0answers
322 views

Processing multi-band raster in qgis using python script? [closed]

Is there a way to process (for example by using raster calculator or r.null) a multi-band raster? When I try to use raster calculator in QGIS 2.18.3 on multi-band raster the output is a raster that ...
1
vote
1answer
244 views

How to know Band overview resolutions available using gdal [closed]

I want to know bands resolution. Is there any way using GDAL that we can see the resolution of bands?
1
vote
1answer
360 views

gdalwarp causes ERROR 6: PNG driver doesn't support 6 bands in gdal2tiles

I've a problem with my gdalwarp function. What I've done: I built a .vrt file from 6 .tif images: gdalbuildvrt -overwrite /input/base.vrt /home/tiles/BASE/*.tif My gdalinfo looks like that: ...
4
votes
2answers
278 views

How to reduce number of raster bands of a RGB picture?

For my Master Thesis in Ecology I want to calculate an NDVI Index. The tricky part is, that I don't have sattelite pictures with bands and so on, but RGB pictures. The pictures where taken with a ...
2
votes
0answers
217 views

Any way to make QGIS display band names of a stack properly?

I'm working with several layer stacks that have 100+ bands in QGIS. The stacks are ENVI files, all band names are properly stored in the headers. Unfortunately, QGIS will not diplay them when choosing ...
1
vote
1answer
559 views

How can I use gdal_retile on RGBI (4 band) GeoTIFFs while preserving band information?

I want to retile large GeoTIFFs with 4 bands: R = Red, G = Green, B = Blue, NIR = Near Infra Read; in short "RGBI" if I understand correctly. gdalinfo on the input file prints as band information: ...
0
votes
1answer
88 views

How to save symbology for raster and also its associated 'value' (using unique values)?

I have a raster in ArcMap (built using sum function in cell statistics), and only want to show the water parts of it (band 128). In doing so I only need to show multiples of 128, however there are ...
1
vote
0answers
416 views

How do I make a ratio image on Erdas Imagine 2014?

I have a stacked image but want to divide bands 4/5/. I have built a model on the model maker but the resulting image is completely black after running the model. When I open the attributes table the ...
17
votes
1answer
23k views

How to make band composite image in QGIS

I am wondering how I can make a band composite from three large bands files from Landsat? I was using option Raster>Miscellaneous>Merge but when I try to do it it crashes.
1
vote
2answers
145 views

Modis MOD11A1 band math expression

I am trying to calculate the temperature of MOD11A1 and I can't find the expression of band math. How the expression temp < 273 could be written at band math?
1
vote
1answer
458 views

How to prevent RGB composite flatten to 1 band after raster calculation

I have a series of landsat wanting to process in raster calculator, but after doing the tool it happened these output images only contain one single band. They used to be RGB 3-band images. It is on ...
4
votes
0answers
1k views

Reading GRIB band metadata with GDAL

I'm trying to use GDAL in python to get only the temperature band from this GRIB file that has 2 bands. I can't just do temp_band = ds.GetRasterBand(1) because sometimes, but not always, the grib ...
3
votes
3answers
952 views

Unstack band layers from raster

I have stacked layer (from ERDAS) of Landsat 1-5 and 7, bands. I want each of the bands in a separate layer. How can I do that?
0
votes
1answer
259 views

How to extracting values of 40 plots from different bands of raster image in R?

I have 40 plots(samples) and I want to extract corresponding values from different bands of RapidEye image. So at the end I want to have totally 200 values of 5 bands in the format of txt. Till now I ...
4
votes
1answer
908 views

Importing TIF raster in QGIS, default color band

Where can I change the default color bands for importing raster images? When I import a TIF image the green color band is not set causing a purplish image. When I set it in the properties it views ...
1
vote
2answers
795 views

Splitting picture taken with regular digital camera into real spectral RGB channels?

I have no idea how the sensors inside a camera work. I know I can take jpeg and separate the R, G and B channels but I have no idea whether these channels are the real red, blue and green in visible ...
0
votes
1answer
463 views

Using Python function in ArcPy script?

I have an script to transform DN into Reflectance of each band of several images. The unique variable of the equation, apart of the Band itself, is the Divisor: (B1 - 1) / 508 (B2 - 1) / 254 (B3 - ...
2
votes
2answers
468 views

How to change band type?

I have an hillshade tiff for which the current band type=Bytemay be problematic. How to change the band type to type=float ?
2
votes
0answers
467 views

Python Script to iterate numerous, single-band rasters for arcpy.CompositeBands [closed]

I have a large collection of single-band geotiffs (NIR, Green, and Red) that I would like to composite using a Python script. The goal is to iterate through multiple folders in a main directory, ...
1
vote
0answers
348 views

Best band ratios in Aster data?

I am interested in the determination of lithology by using ASTER band ratio. I try to a lot of band ratio (for example RGB 4/8, 4/2, 8/9) but I didn't get a good result. Do you think what is the best ...
0
votes
2answers
5k views

Reading and writing tiff image and locate pixels and bands of images in R? [closed]

I am new in R. I want to know how to read and write tiff format image in R and how to use R to locate pixels and bands of images My environment is in Windows when I try to read tiff image it shows ...
2
votes
4answers
475 views

PostGIS raster maximum number of bands?

Is there a limit on the maximum number of bands you can store in a postgis raster? I cannot find documentation on this. As far as I can remember, a geotiff allows up to the max short integer (so ...
1
vote
1answer
152 views

Band Issues in Quickbird Satellite data

I procure data from DigitalGlobe (Quickbird Satellite data) for different periods hence data having some different band combination. I have attached an example image to show the problem. I am looking ...
2
votes
0answers
4k views

Python Band.SetNoDataValue(), sets all bands at once

Can someone tell me what I am doing wrong? I want to set bands 1 and three to 255, and band 2 to 0. The code below only should only set band 2, but gdalinfo shows that all bands get set to 0. Ubuntu ...
0
votes
1answer
107 views

How to get MODIS data with 3 band and step to change hdf file to colored map?

I just convert hdf file to tiff with MRT but my result is grayscale map. How to get MODIS data with 3 band and step to change hdf file to colored map?
2
votes
1answer
1k views

Best Landsat band for forest classification?

Using Qgis and the Semi-Automatic Plugin for Classification, which are the best Landsat bands to use to classify trees species (in central Argentina)? In Landsat 5, 7 and 8?
3
votes
4answers
7k views

Determining which “color” each image band represents?

I have a satellite image that has a few bands in it. But I don't know what colors they are supposed to represent, nor do I know where to look for this information--the file's metadata say nothing ...
0
votes
2answers
684 views

ArcGIS 10 - mosaic: creating 4 files (rasters)

using the Mosaic to new raster tool in order to merge two satellite images, ArcGIS 10 created 4 different files: the coloured image and image1, image2 and image3 (all BW), which are, I guess, three ...
1
vote
1answer
63 views

How to select a specific area (in a polygon form) determined by some value range in a raster band?

For example, I want create a vector layer with polygons that represents all areas where the elevation is between 500 and 600. Someone has any idea to help me? I'm using PyQgis 2.2.
2
votes
1answer
1k views

How can I extract only band 4 from a geotiff multi bands to create geotiff or AAIgrid with this band using Python?

I have a geotiff file with many bands... I will like to create a .asc file or tiff file by converting only one band from the geotiff file. I don't find the solution by using python... With os....