Skip to content

Commit

Permalink
Tolerence support for pixel values
Browse files Browse the repository at this point in the history
  • Loading branch information
selmaVH1 authored and github-actions[bot] committed Dec 13, 2024
1 parent d01b6bb commit c293221
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion docs/user_manual/working_with_raster/raster_properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,13 @@ in the :guilabel:`Custom transparency options` section:

#. Click the |symbologyAdd| :sup:`Add values manually` button.
A new row will appear in the pixel list.
#. Enter the **Red**, **Green** and **Blue** values of the pixel and
#. For single-band rasters (e.g. DEMs), enter the **From** and **To** values and
adjust the **Percent Transparent** to apply.
#. For multi-band rasters (e.g. RGB images) enter the **Red**, **Green** and **Blue** values of the pixel and
adjust the **Percent Transparent** to apply.
QGIS supports **Tolerance** for pixel values, when defining transpareny.
This means that pixels with colors close to the specified RGB values can also
be made transparent. Note that this feature applies only to multi-band rasters.
#. Alternatively, you can fetch the pixel values directly from the
raster using the |contextHelp| :sup:`Add values from display`
button.
Expand All @@ -676,6 +681,13 @@ in the :guilabel:`Custom transparency options` section:
The button |fileOpen| :sup:`Import from file` loads your transparency
settings and applies them to the current raster layer.

.. only:: html

.. figure:: img/tolerances_for_pixel_values.gif
:align: center
:width: 100%

Using tolerances for multi-band rasters

.. index:: Histogram
.. _raster_histogram:
Expand Down

0 comments on commit c293221

Please sign in to comment.