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.

0
votes
0answers
13 views

RGB image file to Y'CbCr and other Luma+Chroma Representations

is it possible using QGIS on windows to convert an RGB image file to Y'CbCr and other Luma+Chroma Representations format. I've seen various formulas for this written in MATLAB and R. I am looking to ...
0
votes
0answers
28 views

How read a raster [Tiff] file to get the correct values for every band? [duplicate]

I am trying to read a raster tiff [RGBA] file with GDAL in [C++], I can load the file, get the number of channels, the size of the bands and the metadata, but when I try to extract the Band [R, G or ...
0
votes
0answers
28 views

GeoTIFF pixel value interpretation

I'm currently working with a GeoTIFF file of a RapidEye image, which I'm reading in using GDAL. When I read in the RGB bands (which I believe are the 1-3 bands), I get values uint16 values that doesn'...
4
votes
1answer
146 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 ...
1
vote
1answer
177 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 ...
2
votes
1answer
29 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 ...
1
vote
1answer
67 views

Load a SAGA RGB composite in QGIS

I have created a RGB composite in SAGA GIS using the RGB composite tool. A one band raster is created, which can be visualised in SAGA using the option RGB coded values. When I try to import this ...
1
vote
2answers
232 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 ...
3
votes
1answer
146 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 ...
1
vote
0answers
28 views

Light normalization of Orthophotos to increase comparability

I would like to work with the RGB-values of different orthophotos. Now I noticed that the light conditions are not the same in the different orthophotos. I was wondering if there is a sound way to ...
3
votes
0answers
102 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
2answers
104 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 ...
0
votes
0answers
52 views

Creating RGB image from TIF?

I'm working with an orthophoto gathered from a drone and I'm having trouble building the image. I can import the separate colour bands without any problem, however when I try to build the RGB image in ...
2
votes
0answers
46 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 ...
1
vote
4answers
761 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
0answers
138 views

Changing raster display in QGIS to look same as ArcGIS Desktop?

I have a strange problem. I have noticed that the same satelite imagery looks totally different in QGIS and ArcGIS. The problem is that I need to get the same style in QGIS. I've tried to calculate ...
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 ...
15
votes
3answers
464 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 ...
1
vote
1answer
74 views

Is it possible for Orfeo toolbox to do auto object identification on a 3band RGB raster image?

My intention of using Orfeo Toolbox is to find all the open air basketball courts on a raster image with 3 bands RGB. Does OTB require a multi spectral band image or is 3 band image good enough to ...
1
vote
1answer
182 views

What's the default histogram manipulation of QGIS for displaying RGB images?

When you open an RGB geotiff (e.g. bands 4-3-2 of Sentinel-2) as raster dataset in QGIS - what histogram manipulation is applied by default? Of course I can look at the min-/max-values, but I'd like ...
0
votes
1answer
53 views

Seeking software to pick up rectangular shape of basketball courts?

Is there any software/plugins for remote sensing or object orientated classification for my 3 band aerial image? I want the program to be able to pick up open air basketball courts or badminton courts ...
2
votes
2answers
813 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, ...
9
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 ...
0
votes
0answers
341 views

Plot RGB raster on basemap in R

I want to plot my RGB raster on a basemap in R. So far I have a RasterStack object and I have downloaded the basemap with ggmap. I can plot them individually but not together. stack_rrs <- stack(...
2
votes
0answers
205 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
109 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, ...
1
vote
1answer
133 views

PyQGIS: apply a graduated renderer with RGB

I'm trying to apply a graduated renderer on a point layer. I found this code here (the first in the solution) and slightly modified it to my project. It seem's to work beautifully (in the layer ...
2
votes
1answer
4k 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 ...
1
vote
0answers
93 views

How to clip a RGBA raster with another single band raster using QGIS or GDAL

I have a RGBA raster and I would like to set all the data over the continents to transparent. I have a single band raster where land is equal to 0 and ocean is equal to 1. Normally if I had a single ...
1
vote
1answer
386 views

Export RGB data (from a tiff image) in excel format

I have a tiff file having 3 bands R, G, B. I used the following program in R to obtain the pixel values for each band separately. r<- raster("lena.tiff", band = 1) writeRaster(r, filename = "...
2
votes
0answers
114 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 ...
0
votes
0answers
407 views

Plotting shapefiles with Pyshp in Python omits some shapes

I want to plot a cloropleth map of Scotland with Pyshp, but only a fraction of the shapes are plotted. The shapefile of Scotland has 32 shapes, and it is available here. The values dictating the ...
3
votes
0answers
432 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 ...
0
votes
1answer
287 views

QGIS PCT to RGB Attribute Error [closed]

I want to run this script, but it always gives me this error message: Traceback (most recent call last): File "C:\PROGRA~1\QGIS21~1.1\bin\pct2rgb.py", line 121, in ct_size = ct.GetCount() ...
5
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 ...
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 ...
0
votes
1answer
1k views

Displaying LiDAR data with RGB values in ArcGIS Desktop?

I have been able to display LiDAR data with RGB values out of aerial photos with SAFE FME and also POTREE. Is there any way to do this with ArcGIS 10.3?
6
votes
2answers
860 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 ...
-1
votes
1answer
76 views

Creating composite band

I have land cover rasta data for the years 2000, 2010 and 2014. I would like to get the NDVI for each of the year. I have to generate the RGB first. I have tried the following things: 1. layer -> ...
3
votes
2answers
267 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 ...
1
vote
1answer
328 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 ...
0
votes
1answer
216 views

DEM to RGB-GeoTIFF (land-/waterarea colored separate)

I want to create a colored basemap out of a ETOPO dataset. Is there a way to color the land (masked by a landpolygon) and water area separate and combine them later. The result should be one GeoTIFF (...
4
votes
1answer
5k 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", ...
2
votes
0answers
408 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 ...
1
vote
1answer
451 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 ...
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: ...
7
votes
1answer
369 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 ...
3
votes
0answers
889 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 ...
0
votes
2answers
853 views

Extracting color values from layer to build index using ArcPy/ArcMap?

My university wants the maps we create to become more standardized and so we're changing all the colors on our base vector map. The new standard needs to be indexed and I have the task of creating ...
1
vote
2answers
366 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 ...