Skip to main content

Questions tagged [rgb]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Convert a RGB LiDAR raster image to a greyscale height map in QGIS [closed]

I am fairly new to the world of GIS and also using QGIS. I normally use a greyscale height map to create a 3D terrain in external 3D software. I have a location where I only have access to a RGB ...
Karen Gazzard's user avatar
1 vote
1 answer
49 views

Coloring a QGIS Map with an RGB Column, and Creating a Legend that follows the same color

I'm working on a project in QGIS where I need to color a map using RGB values from a specific column in my dataset (RGB). However, I also need to create a legend that shows the units with their actual ...
Cicada73's user avatar
0 votes
1 answer
37 views

Make a grayscale tif into a 4-band RGBA tif using gdal

I have a grayscale raster which returns the following information when I run gdalinfo on it Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( ...
guest_231213's user avatar
3 votes
1 answer
342 views

Converting image data type from uint16 to uint8 using Python

I have a uint16 image, but when I want to convert this image to uint8 data type, I get bad results. I'm sharing my entry image and the result below. My image is a 3-channel RGB image. original image: ...
geomaticpoly's user avatar
0 votes
0 answers
28 views

Render a multiband image as multiband color/ Generate and show a RGB image from multiband image

I have a multiband image which I need to render as a mutiband color image with all the defaut values. Now, in the UI of QGIS, I can do it. But in Python console, I can not do it as the images are ...
M. M. Farhad's user avatar
1 vote
1 answer
135 views

How to convert Sentinel-2 RGB bands to [0, 255]

I have already downloaded the Sentinel-2 RGB bands using earthengine-api with python. The resultant numpy matrix has a shape (n, m, 3), representing the RGB bands directly downloaded from Sentinel-2. ...
Guzmán R's user avatar
0 votes
1 answer
73 views

Changing RGB band raster into single band raster in ArcMap

I have a raster like in this image, this raster symbology only consist of RGB Composite, vector field and stretched. How do I change the colors of this raster into a single color? This raster was ...
Garishsm's user avatar
1 vote
0 answers
57 views

How do I create an RGB GeoTIFF using GDAL?

I'm trying to create an RGB GeoTIFF from an array. I've followed the question and response here, but I'm still having issues. When running gdalinfo on the image, the ColorInterp seem to be correct, ...
clrk's user avatar
  • 11
1 vote
0 answers
40 views

What are the shades (vertical lines) in the orthomosaics?

I am an expert on my field. I work with remote sensing. Mostly UAVs. I collect datasets and extract features from it. This year, I started collected with the Astro Freefly and the Sony A7RIV sensor (...
Jose Luis Landivar S's user avatar
0 votes
1 answer
60 views

How calculating green canopy cover differs from the sensor utilized

I am an expert on my field. I work with remote sensing. Mostly UAVs. I collect datasets and extract features from it. One of the features is 'green canopy cover' (https://acsess.onlinelibrary.wiley....
Jose Luis Landivar S's user avatar
0 votes
0 answers
26 views

RGB from three different rasters

I did an RGB image from three different rasters (red, green & blue for the same date and place) using ArcGIS tool "Composite bands". The result does not seems correct : and this is ...
Aurélien Lengrand's user avatar
-3 votes
1 answer
44 views

Which band is which in an RGB image

I have several RGB images of which I made an orthomosaic image. I would like to create a VARI vegetation indice. QGIS shows 4 bands in the raster calculator. Which band is which of the RGB bands? One ...
Gábor Zvara's user avatar
0 votes
0 answers
26 views

How can I composite Landsat-7 RGB tif images to the true color image using python?

I use below codes to composite Landsat-7 Surface Reflectance band(B3, B2, B1) images to the true color image. but the result was a wrong image. How can I solve it? import numpy as np import matplotlib....
Seongjun Lee's user avatar
0 votes
0 answers
71 views

How to align orthomosaics in QGIS?

I have processed about 8 orthomosaics from UAV data collection. They used RTK for georeferencing, but I guess it was not done properly. They did not use GCPs. Therefore, the orthomosaics do not align. ...
Jose Luis Landivar S's user avatar
1 vote
0 answers
39 views

Automating QGIS legend with RGB fields

I have a shapefile layer with R,G,B fields and used the following expression to set the symbol color. Surprisingly, it worked right away. However, even though the colors are applied in the canvas, ...
pr_'s user avatar
  • 53
2 votes
1 answer
169 views

Leaflet in R mangling terra RGB rasters

I'm working with an RGB raster in leaflet (some Landsat data). I'm stretching and sampling it down so that it's small enough. The following works great. # stretch and then resample like ...
jebyrnes's user avatar
  • 483
0 votes
0 answers
26 views

Turning stretched raster image to RGB 3 bands

I'm using a 2012 landsat image for a time series image analysis. The original image had 3 bands colors composite, after image processing, because the original image had scanline errors, the result ...
amina k's user avatar
0 votes
1 answer
114 views

Plotting Landsat8 RGB image in R

I want to plot a RGB image of Landsat8 in R. Therefore I use GGE (rgee) and save one image locally. Finally I want to plot the image as a RGB image. But no mather what band combinations I use, the ...
talocodat's user avatar
1 vote
1 answer
127 views

How to convert HSL to RGB in Earth Engine (Python)?

I have 3 Images representing HSL (Hue, Saturation, Lightness) attributes of a single image. I would like to display them as a single RGB image, meaning I would like to create 3 separate bands with R, ...
SteveAKopias's user avatar
0 votes
0 answers
107 views

Calculating temperature from multi-spectral map in QGIS

I have a map showing heat islands in a large city in the form of a multispectral (RGB) raster. I'd like to obtain the temperature or at least a temperature scale (the ultimate idea is to be able to ...
SimGeographer's user avatar
2 votes
1 answer
176 views

Why doesn't a 1-pixel buffer around the edges of Mapbox's Terrain-RGB tiles show up?

I am reading the documentation of Mapbox's Terrain-RGB tiles. It says: Buffered tiles. Each map tile includes a 1-pixel buffer around the edges to enable tile interpolation in uses cases like terrain ...
zabop's user avatar
  • 2,234
0 votes
0 answers
133 views

earthengine: correct max value to plot RGB of Sentinell 2?

I would like to display the RGB true colors of a Sentinel Image in Earth Engine. I understand that I should adjust the parameter max in Map.addLayer(..., {bands: ['B4', 'B3', 'B2'], max: 7000}); given ...
Matifou's user avatar
  • 2,021
2 votes
1 answer
505 views

How to make use of a 3 band DEM for analysis?

I have a 3-band RGB DEM raster. However, the pixel values are not very useful for any actual depth computations. How can I extract the depth values from the DEM? I understand that it is not easy to ...
Aditya 's user avatar
  • 139
0 votes
1 answer
262 views

RGB to Red-White-Blue gradient

I have tiff RGB data that I want to transform in vector attribute color gradiente, in which Red means 0, white is 0.5 and Blue is 1: For a blue-green-red gradient I used the formula 255R+G-255B and ...
nacosta's user avatar
0 votes
1 answer
103 views

Exporting binary file from Google Earth Engine

For a hobby flight simulator C++ project, satellite RGB and elevation data is needed. Since a few days I am trying Google Earth Engine. It is amazing at showing the data as a map. I see GeoTIFF export ...
Merlijn Janssen's user avatar
2 votes
1 answer
147 views

Error in RGB to HSV conversion in R: "cannot use this formula, probably because it is not vectorized"

I'm trying to convert a bunch of small rgb rasters (3 channels) into hsv rasters using the raster package in R, similar to the suggestion here: QGIS - RGB multiband to HSB(HSV?) multiband It has ...
Geos's user avatar
  • 21
0 votes
1 answer
60 views

Cannot export RGB values to CSV

I can export NDVI values to CSV file. But I couldn't export RGB values(b2,,b3,b4) to csv file and RGB values must be in range 0-255. var geometry = /* color: #d63000 */ /* displayProperties: [...
TeknoKöy Çiftliği's user avatar
1 vote
1 answer
150 views

Add NIR information to ALS point cloud

I need to merge Red-Green-Blue_NearInfrared (RGBI) information to pointclouds and I am doint it in R with the package lidR version 4.0.2. I made this small example case to show my error and questions: ...
candelas762's user avatar
2 votes
0 answers
243 views

QGIS visualization of Pleiades image is gray and fixed only when copying style

I have airbus Pleiades images which has 4 bands - B , G , R and NIR. The image was reprojected (4326) and resampled (50cm) using GEE as following: task = ee.batch.Export.image.toCloudStorage( ...
ReutKeller's user avatar
  • 2,169
1 vote
1 answer
700 views

Converting Landsat 8 RGB bands to 8-bit colors

I generated composite images of Landsat 8 SR images using this Google Earth Engine collection, and for a machine learning project now I need to transform the RGB bands of these images to 8-bit colors. ...
Nicolas Suarez's user avatar
0 votes
1 answer
459 views

Extract By Mask Tool is changing my composite raster bands

I wanted to extract an area (as set by a polygon) from a composite band raster using the Extract by Mask tool. Once I've done it, I've changed the RGB symbology to the correct bands specified by ...
mvgmvg's user avatar
  • 3
2 votes
2 answers
166 views

FME unwanted conversion of RGB to palette in PNG writer

I have a pile of TIFF images (aerial photography) that I want to convert to PNG. Band interpretation of my source TIFF files is allways RGB, cp. gdalinfo: C:\OSGeo4W>gdalinfo -mm -stats s:\ER-GIS-...
Jochen Schwarze's user avatar
1 vote
0 answers
101 views

How to generate/export a RGB raster layered over a hillshade raster based on visualisation palette in R

I have defined my own colour palette, and written my raster as a GeoTIFF with the colour palette saved into the image using the code below. col_rmp <- c('#0180FF', '#0101FF', '#01FFFF', '#01FF01', '...
chipsin's user avatar
  • 131
2 votes
1 answer
278 views

Reprojecting TIFF from EPSG:3857 to EPSG:4326 - Output Darkened

I'm using QGIS to re-reference a batch of satImages from one CRS to another. I've got it to run and complete, that's fine. However, looking at the images pre-processing they are bright and vivid in ...
Craig Emslie's user avatar
0 votes
0 answers
1k views

Converting raster to DEM using QGIS

I have a .jpeg file with three channels, and would like to convert this to a DEM to generate contours lines to export as a vector. I've added a screenshot below of the image in qgis, and a profile ...
Ellio's user avatar
  • 43
3 votes
1 answer
212 views

Saving orthomosaic .tiff data with symbolization changes using QGIS [duplicate]

I changed the symbolization of my .tiff data such that the NDVI band (Band 1 (Gray)) is represented with 4 colors (RGB derived). Is there a way I can save the .tiff including the symbology changes? ...
Jose Luis Landivar S's user avatar
3 votes
1 answer
445 views

Are RGB values encoded/recorded in raw LAS/pointcloud data?

RGB info in the pointcloud: Is this always from a post-processing step (e.g. using imagery overlay techniques to do so) or does it in some cases come from the machine/sensor which recorded the LAS?
RebRy's user avatar
  • 31
1 vote
1 answer
309 views

Resample layer but keep RGB bands (QGIS)

I have an orthophoto from a drone with a spatial resolution of 0.02m and would like to reduce the resolution to 1m. The simplest way of doing this is using the export>save as>and manually fill ...
N_LLC's user avatar
  • 615
1 vote
0 answers
164 views

Correcting color of soil and water using QGIS

RGB single band image merged together result as shown in photo. After I merged them, I found out the blue color part is actually soil, but show up in blue instead of brown or actual soil color. How do ...
Christopher Yap's user avatar
0 votes
1 answer
457 views

Create false color images on Earth Engine

I want to calculate some band ratio images on e.g. Aster imagary and display them as false color image. For example I compute band ratio images on Aster as follow: var BR1 = AsterImageMosaic.select('...
Solmaz's user avatar
  • 149
2 votes
1 answer
183 views

Adding RGB attributes to voxel

How can I add the RGB attributes to a voxel object? The idea is to give RGB to the colorargument inside the plot function in lidR. And still have the attribute Z as the legend in the RGLwindow. The ...
Arthur_Morgan's user avatar
0 votes
0 answers
74 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 ...
Changwan Sun's user avatar
1 vote
0 answers
99 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 ...
M. Nicolas's user avatar
  • 1,327
1 vote
1 answer
966 views

Classification of drone imagery (RGB) with SCP

How can I work on the classification in orthophotos (generated by Metashape from a DJI Phantom drone) when I cannot input the orthopoto into the band set? SCP does not find the raster of the ...
OmteK.'s user avatar
  • 81
1 vote
2 answers
5k views

Downloading RGB Sentinel-2 with Google Earth Engine and Python

I am fairly new to the Google Earth Engine platform, and I want to create a dataset for my machine learning project using the aforesaid platform. As far I have this code for downloading a single ...
Петр Воротинцев's user avatar
1 vote
3 answers
3k views

Vegetation indices extraction from RGB images

I have been working on the project to classify crops as health or unhealthy. For this task I have taken the open source dataset from the the website https://www.sensefly.com/education/datasets . It ...
Areeba Naseer's user avatar
0 votes
1 answer
741 views

QGIS: multiple mosaics bands to 1 Visual RGB

I have UAV raster converted with Pix4D mapper in transparents mosaics blue, green, red, nir, pir. Which tool can I use to translate into a visual RGB image?
marion's user avatar
  • 1
1 vote
0 answers
693 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://...
Kelsey's user avatar
  • 11
4 votes
1 answer
100 views

Plot RGB values for each feature seperately

I want to plot each rgb value for its respective feature of the layer via pyqgis. Atm I struggle to properly implement it for each layer individually. With my current code below, all features get the ...
Tobias's user avatar
  • 177
1 vote
0 answers
38 views

While exporting GeoTIFF doubles in size [duplicate]

I was given an RGB GeoTIFF orthomosaic image that is just over 10GB. I pulled it into QGIS and tried clipping it to get under 10GB (to use in another program that only allows up to 10GB). Though when ...
Binx's user avatar
  • 1,380