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 [rgb]

An image encoding scheme with three bands, one for each primary color.

15
votes
3answers
481 views

Why does my rainbow airplane stripes appearing on Sentinel 2 image?

I have downloaded a Sentinel-2 scene and there are some interesting rainbow like stripes trailing an airplane. This is an rgb image but the stripes are also visible on the other bands. You can tell it ...
10
votes
3answers
6k views

Using field-to-RGB mapping for symbology in QGIS?

Using QGIS version 1.7. I have a plain text file that lists a set of rgb values against a code. I want to use this colour table to colour a polygon layer by mapping one of its attribute fields ('...
10
votes
3answers
2k views

Raw Sentinel 2 jp2 to RGB geotiff

I'm looking for a way to merge Sentinel 2 jp2 band files(B02, B03, B04) and fix RGB colors. All should be done with bash or python script. For my example I work on these images. Ideally the solution ...
9
votes
1answer
11k views

Extracting raster cells from imagery based on RGB value using ArcGIS Desktop?

I've got some aerial photography (format: IMAGINE Image) which is detailed enough to see to fire hydrants and a shapefile of fire hydrants which was digitized based on some CAD data. My project is to ...
9
votes
1answer
3k views

Symbolizing using RGB values from Excel in ArcGIS Desktop?

I have an excel file with 2 attribute columns, 1-feature info 2-Number of color (RGB) that the current feature should be symbolize. This file file can be joined with the layer using the "feature info" ...
7
votes
1answer
373 views

ArcGIS color bar from pre-specified RGB values

I have a 256 item vector of RGB triplets derived from viscm (a tool for creating perceptual color bars in a CIE color space). I am not able to replicate it correctly using the algorithmic color bar ...
7
votes
1answer
2k views

Can I export the RGB values from an ArcGIS layer symbology?

I've got a point layer in ArcGIS that has 100 specific color codes based on the name of the store. I'm trying to export the RGB values for these colors (along with the name value it's tied to) so I ...
6
votes
2answers
11k views

Convert specific RGB (GeoTIFF) color to transparent

I have an RGB GeoTIFF file and I want to convert a specific RGB colour to transparent. I would like to use GDAL for doing this, but external Python scripts are also an option (though I haven't learned ...
6
votes
2answers
900 views

Extracting RGB values from aerial photo and assigning to LAS file with FME?

I need to extract the RGB Values from imagery and assign to a .las file in order to display 3d landscape with "real" colours. I have an unlicenced LAStools, FME 2017 and ArcGIS 10.3.1 at hand. I ...
5
votes
3answers
7k views

How to extract X Y coordinates and RGB from pixels using python in QGIS?

I'm trying to white a Python plugin in QGIS (2.2) to get, for each pixel of a raster image, its X Y coordinates, as well as, its RGB (3 bands) values. At first I opened the raster file using: rlayer =...
5
votes
1answer
1k views

How to force RGB in a raster in QGIS?

I have rasters in 1 band 64bits float that represent real data values and for which I can set min and max using the stretch to min and max option in QGIS. I would like to convert these rasters to RGB ...
4
votes
1answer
155 views

RGB TIFF goes black when zoomed out in QGIS?

Am importing a RGB TIFF into QGIS 3.4 and when I zoom in I can see the image properly, however, when I zoom out the layer turns black (most of it) and red (a small portion). After doing some search I ...
4
votes
2answers
281 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 ...
4
votes
1answer
6k views

Merge RGB band using python

I need to merge the RGB bands of three TIFF images. I'm trying to use a PIL library (Python Imaging Library), but this execution error happens: Traceback (most recent call last): File "merge.py", ...
4
votes
1answer
911 views

How to reclassify a raster (tiff) with multiple bands?

i have a raster file containing information about the windspeed average for the year. My purpose is to reclassify the 15 classes based on their rgb-composite. The color is the only information given. ...
4
votes
1answer
1k views

Using RGB values stored in field of feature class to apply colour component for ArcGIS Pro symbology?

Symbolizing using RGB values from Excel in ArcGIS Desktop? and Symbolizing vector features using RGB values stored in three fields using ArcPy? are questions that distil to whether it is possible to ...
4
votes
0answers
315 views

Symbolizing vector features using RGB values stored in three fields using ArcPy? [duplicate]

I need to symbolize a vector layer in Arcmap based on RGB (or HSB - can do either) values found in fields in the attribute table. I'm working with up to 10 different datasets, each with over 100 ...
3
votes
1answer
2k views

How to extract vegetation polygons from Imagery using Python?

I have been trying to roughly polygonize vegetation areas from Imagery (RGB). I tried using Iso Cluster Unsupervised Classification (Spatial Analyst) but it is still too detailed for my purpose. I ...
3
votes
1answer
2k views

get rgb images from sentinel-2 using gdal

i have some troubles to get RGB true colors image from sentinel satellite bands wich produce this to me it looks not natural at all also i have tried gdal to do the merge with : gdal_merge -o ...
3
votes
1answer
832 views

Digitizing RGB TIFF automatically using ArcScan

Is it possible to digitize RGB TIFF by color? I need to select all the vegetation cover types from the image below, which is a part of an aerial photography of an island (http://george.wildlifeintel....
3
votes
1answer
165 views

Changing default color palette from RGB to CMYK in ArcMap?

Is there a way to change the default colour palette in ArcMap? Currently, for each symbol, I have to change RGB to CMYK to choose my colour (see screenshot). This is pretty annoying since all my ...
3
votes
0answers
911 views

Replacing rgb value (0,0,0) with (nodata,nodata,nodata) in GDAL? [closed]

I have a set of rasters in which I want to replace any rgb value of (0,0,0) with (nodata,nodata,nodata) I've tried using gdal_translate -a_nodata "0,0,0" in.tif out.tif But this seems to convert ...
2
votes
1answer
2k views

Open and split a 4 channel RGB picture

How can I split an 4 channel rgb pic in qgis? With the value tool I can see 4 channel. I tried to use the RGB to PCT tool but I always get an error (File "C:\PROGRA~1\QGISBR~1\bin\pct2rgb.py", line ...
2
votes
1answer
2k views

How to create NDVI map From LiDAR intensity and RGB image

I am new with GIS and I've been looking for ways on how I could create a NDVI map from LiDAR intensity and RGB image. Is there any way I could do this? I have read that you could create an intensity ...
2
votes
1answer
342 views

Applying symbology to raster layer in ArcPy without using symbology layer (layer file)?

I have a raster layer with 3 unique values (1,2,3) and I want to apply a unique color to each using RGB values or hex codes, without the use of a symbology layer (layer file). Is it possible to ...
2
votes
1answer
1k views

Interpreting GeoTiff pixel values using Python GDAL?

I was running python script that queries a GeoTiff file at the coordinates of a centroid of blocks and as a result I got a list of pixel values, which I have trouble interpreting. When I run gdalinfo ...
2
votes
1answer
1k views

Sort colors from light red to dark red

I have the following png image displaying tanker traffic density: The colors are from dark red to light red, dark red means 'lowest density' and light red means 'highest density'. For example, the ...
2
votes
2answers
852 views

Creating visually standardized RGB images from Sentinel-2 data

I want to create "visually appealing" RGB images from Sentinel-2 L1C data in a standardized manner. Obviously, this starts with extracting the bands 4, 3, and 2, which correspond to the Red, Green, ...
2
votes
1answer
5k views

How to create an rgb GeoTIFF file raster from bands using the GDAL python module?

I'm trying to create a new raster from three bands (rgb). I got the script mostly from here. I can create a single band raster with no problems, but I'm having trouble inputting a tree band numpy ...
2
votes
1answer
5k views

Convert JPG image to RGB Raster to Vector Data

I am completing an analysis project for my ArcGIS class. I am analyzing the correlation between indigenous populations and food security in Guatemala. Since there is not a lot of information out there ...
2
votes
2answers
693 views

How to color lat/lon points in given RGB data?

I am using QGIS on a Mac. I am working with hydroacoustic data for mapping and interpreting the seafloor. Data are collected, processed and interpreted. The result is a txt file with Lat and Lon in ...
2
votes
2answers
8k views

Multi-Band (RGBA) into single band raster

I have the raster which contains 4 bands (RGBA), which ilustrates the pupulation (traffic) density. I want to convert it to the simple gridded ascii, however I'm getting in the trouble when I try the ...
2
votes
1answer
36 views

ERDAS Imagine signature picker colour changing RGB numbers?

I've noticed something with the signature picker in ERDAS and I was wondering if it is a bug or a feature. When I create classes I assign a colour to make them easily readable in the classified ...
2
votes
2answers
105 views

generate vector lines of planting from a raster uav image

I have a high quality drone image and I want to generate the planting line from raster. I will transform rgb to false ndvi or others index. The vector lines must go through the green areas of the ...
2
votes
1answer
974 views

Extract all unique values from a RGB raster

I have a .png file in RGB format showing the intensity of ship traffic: For my analysis I need to convert it to a one-band raster with values between 0 and 1 where 0 means lowest density and 1 means ...
2
votes
1answer
498 views

Display a raster stack with several bands in ArcGIS?

I have already made a raster stack (5 bands in one TIFF) of my multitemporal Landsat images in R and have also clipped a smaller region of every raster stack for each image. Now I want to do some ...
2
votes
0answers
112 views

Converting 8-bit RGB tif to single gray-scale image

I have a tif image of soil thorium content (ppm) measured by gamma aerial spectroscopy. The original file is a 8 bit RGB image set in a rainbow-similiar pallet (blue>green>yellow>red>magenta). I have ...
2
votes
0answers
48 views

Display final desired color with RGB + transparent grey hillshade

In QGIS 2.18.16, I am trying to end up with a final desired color specified in RGB (from a style branding book of a client). The map also contains a hillshade with some transparent grey over top of ...
2
votes
0answers
209 views

Reprojecting xyz rgb file in QGIS?

I am trying to reproject an XYZ RGB point cloud file that I got from a drone mapping software. It is now in WGS84 and I want it in euref32(UTM) or just a local metric system so i can import it Into an ...
2
votes
0answers
117 views

ENVI shows colors of different RGB code the same in a bitmap image wrongly?

As you see in this picture which I've captured in MATLAB, there are two colors. Red with the RGB code (255,0,0) Brown with the RGB code (138,139,1) I've tried to show the same picture in ENVI, ...
2
votes
0answers
120 views

Add RGB values from CPT file to Int16 GeoTIFF using Python and Gdal

I want to add color, using RGB values stored in a CPT file, to a black and white Int16 GeoTIFF file using Python. I tried to use SetColorEntry(), but when I add the ColorTable to the RasterBand, I ...
2
votes
0answers
448 views

Pansharpen Landsat 7 RGB using gdal_pansharpen.py

Is it possible to pansharpen Landsat 7 RGB band combination (without NIR) to have approximately the same intensities as the original RGB image with gdal_pansharpen.py (weighted Brovey algorithm)? What ...
2
votes
0answers
421 views

How to match the colors of different RGB mosaic rasters?

I am beginner in QGIS. I want to classify many RGB rasters (see picture) but their colors don´t match. As you can see, the green polygon shows the same land cover class (meadow) but in each tile the ...
2
votes
2answers
1k views

From RGB raster to grayscale

I have been searching for a way to rasterize shp files (Unexpected output when using gdal_rasterize) and it worked with a little help. Now, my code is first rasterizing the largest sip file and than ...
1
vote
1answer
222 views

Get colortable from three-band RGB raster (brick) with R

I have a three band RGB Raster Geotiff. I will provide the sample data below, but I'm guessing my problem should be solvable generically. I would like to turn this three band raster into a single band ...
1
vote
2answers
272 views

Adding RGB values to Laspy synthetic point generation?

What is the correct way to add RGB values to points made from scratch? Laspy is working great for me so far. I want to add RGB values to synthetic points that I've generated. I am using 2 numpy ...
1
vote
4answers
852 views

Splitting RGB image into separate bands using Drone (DJI Phantom imagery)

Previously I have made marine habitat maps using multiband imagery and remote sensing techniques (e.g blue, green and red bands from satellite imagery). I am now attempting the same process however ...
1
vote
1answer
2k views

Landsat True color in QGIS [duplicate]

I have download the following Landsat 7 image LE07_L1TP_231095_20011014_20170202_01_T1. I want to open a true color RGB composition using bands 1, 2 and 3. For that, I import the Tiff files of the ...
1
vote
1answer
1k views

How to determine the bands from an aerial image?

I received a set of aerial images taken with a Canon camera, I don´t know which kind of lens it has, or if it has been modified. After performing split image algorithm in Qgis, I get four new files: ...
1
vote
2answers
371 views

Geoserver efficiency in serving images

I am a little bit stack here. I want to serve a background tif using geoserver and I don't know which is the best way in terms of efficiency. My raster is 1-band GTiff UInt16 with height/terrain ...