Questions tagged [rgb]

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

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
185 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
313 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
55 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
325 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
214 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
1k 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
575 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
0answers
21 views

Linear fit in GEE, why is the ouput plotted as an RGB image and what do the max and min values signify?

I am currently reading up on the linearFit() and linearRegression() in GEE. I was looking at the developer guide for these functions, which I think I understood correctly, except for the way in which ...
1
vote
0answers
259 views

Produce RGB image of satellite image mosaic or merge images with negative dimensions

I am new to image processing with python and would like some help with a particular problem. I am trying to create a mosaic of raster satellite images using the code extracted from this link https://...
1
vote
0answers
270 views

Python gdal.translate doesn't write the output file

I am very new with gdal and python in general, therefore pardon my simple question. I have a geotiff (single band, black and white) that I want to change from grayscale to RGBA (becasue I want to use ...
1
vote
0answers
111 views

r raster:: extract band (integer) values from raster buffer without taking the mean

I want to extract values from my RGB raster, which are in the buffer(zones) of my 14 station points data. So far the values are extracted with the raster::extract by taking the mean of some values ...
1
vote
1answer
139 views

How to extract contours from .jp2 DEM dataset?

This will be a little long-winded but I'm including all information I consider relevant. Problem: I have received a data set from a municipality that is a 3-layer LiDAR JP2 DEM and need to extract ...
1
vote
0answers
276 views

Converting uint16 RGB&NIR geotiff image to a uint8 RGB geotiff?

I am trying to convert a uint16 geotiff image with 4 bands (RGB&NIR) with LZW compression to a uint8 geotiff image with 3 bands (RGB) without compression. Here is what I have tried: ...
1
vote
0answers
69 views

Hiding NoData values of a raster in MapServer

In a MapServer NoData value pixels can be hide by using the following code inlcusion in a mapfile: `PROCESSING 'BANDS=3,2,1'` Now I have raster with multiple combinations of NoData Values other than ...
1
vote
0answers
38 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 ...
1
vote
0answers
180 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
0answers
137 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
0answers
128 views

What can POLYCOLOR mean and is there a way to convert to RGB?

It is not for the first time I found in the tables of some data column called POLYCOLOR. Is there any way to figure out what that means and is it somehow convertible to RGB values? If I get it right ...
1
vote
0answers
168 views

How to change area inside mask to different RGB Value in ECW Format with FME

I have 3 Band RGB ECW Raster files and would like to change all the RGB values within the masked area to 0,0,0. I am using the SpatialFilter to set the masking area and thought that I could use the ...
0
votes
0answers
17 views

Retaining alpha band when exporting raster to RGB using ArcGIS Pro

I am using ArcGIS Pro 2.6.3 I have a 1-band raster dataset that I need to export to an RGB dataset. However, the symbology of the raster is defined with transparency: When I export this in any of the ...
0
votes
0answers
25 views

What is the difference? : in xdg-open in linux and QGIS in window

I made a rgb raster image with using GDAL script in the Linux (Centos7) environment. When I open the rgb image with xdg-open, it's too dark, but when I open it in the QGIS, it is clear and more ...
0
votes
0answers
10 views

RGB Alos AVNIR 2 composition shifted in QGIS

Recently I started messing with the alos avnir 2 images, as they are old images with 10m resolution. However, I had a problem, when I open the separate bands in QGIS I notice that they are well ...
0
votes
0answers
9 views

3-band RGB raster with 0 value to null -ArcGIS Pro

I've got a 3-band RGB raster layer where I'd like to convert the value of a pixel to null if b1, b2 and b3 are 0. Any idea how this can be done in ArcGIS Pro?
0
votes
0answers
17 views

Roof color recognition - How to reclassify rgb colors in intervals?

I'm creating a tool to recognise the colours of roofs 1 given an orthophoto and a buildings layer in ArcGIS Pro 2.7, but I'm stuck with the final part... I have already managed to extract the mean and ...
0
votes
0answers
21 views

Adding Color Map to MrSID Imagery using QGIS

I am trying to convert a single band (grey) MrSid image to a 3 band (RGB) GeoTiff image. Using QGIS (3.12.3-București) on Windows 7, I saved it as a GeoTiff, which now has the 3 standard bands. Each ...
0
votes
0answers
40 views

Convert 1-band .nc file to GeoTiff with RGB

How can I convert 1-band .nc file to GeoTiff with RGB? I have tried using gdal translate but it won't let me apply color interp of RGB to the .nc as it has 1 band.
0
votes
0answers
132 views

Determining average RGB values of raster layer image inside selected polygon

I have a layer which contains a number of polygons(around 10,000). My work is to check the imagery layer colour inside of that polygon and write a colour in the 'Ceiling_ID' field based on its average ...
0
votes
0answers
29 views

Seeking high resolution real-color (RGB imagery) dataset?

Specifically interested in the the South Florida region, USA. The aim is to pull up high quality aerials to detect manholes and wellheads from space! These things can typically be half a foot to a ...
0
votes
0answers
156 views

Adding RGB values from a .txt file to a .las file using laspy

I have a text file that has XYZ and RGB values in it. To convert it to .las format i use lfile = laspy.file.File(r"D:\las\tolas.las", mode='w',header=LasHeader(x_scale=0.01,y_scale=0.01,z_scale=0.01))...
0
votes
0answers
64 views

No data values after raster export (force RGB)

I have a problem when I export a raster (DEM here after). I use the same parameters as the original with "Use renderer" and "Force RGB". But the RGB contains no data values. And obviously, I don't ...
0
votes
0answers
532 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(...
0
votes
0answers
815 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 ...