Resalta las áreas de la imagen que pueden presentar recorte de luminancia o gama.

Cuando se envía una imagen a un dispositivo de visualización, cada píxel se representa normalmente como un conjunto de 3 números, que representan la intensidad de los colores primarios rojo, verde y azul en el espacio de color de salida. Debido a que el espacio de color de salida suele estar estrechamente relacionado con el hardware con limitaciones físicas, existe un valor máximo permitido para los canales [R, G, B], que representa la intensidad máxima disponible para ese espacio de color. Del mismo modo, también hay un valor mínimo por debajo del cual los valores de píxeles se asignarán a cero. Cuando intentamos convertir de un espacio de color más grande al espacio de color de salida final, cualquier valor que exceda este máximo se fijará al valor máximo, y cualquier valor por debajo del mínimo se fijará a cero. Este proceso se denomina “recorte” y provocará la pérdida de detalles o colores “incorrectos” para los píxeles con canales recortados.

Click the

image
icon to enable the clipping warning.

Hay dos formas en las que un píxel puede recortarse cuando se representa en el espacio de color de salida.

  • luminance clipping: This can occur when a pixel is too bright to be represented in the output color space. The pixel luminance is calculated as a weighted average of the [R,G,B] channels. If this average exceeds the maximum allowed value, it is an indication of over-exposure. The overall luminance of a pixel can also be too dark to be represented by an [R,G,B] value in the output color space, in which case it will simply be shown as black. We normally deal with luminance clipping by carefully adjusting tone mappings and exposure levels.

  • gamut clipping: The output color space defines a set of primary colors that, mixed together in certain ratios, produce the final output color. However, there are only so many colors that can be produced by mixing together a combination of those three primary colors. Highly saturated colors in particular can be difficult to represent, especially for pixels that are very bright or very dark. If there is no set of positive [R,G,B] values that can represent a given color at a given level of brightness, we say that the color is “out of gamut”, and we need to settle for another color instead that can be represented by permitted [R,G,B] values within the color space. We can handle gamut clipping by being careful not to over-saturate colors in the highlights and shadows, and possibly by using some color grading/color mapping techniques.

El módulo de “alerta de recorte” se utiliza para resaltar aquellos píxeles que no se pueden representar con precisión en el espacio de color de salida, ya sea debido a la luminancia o al recorte de la gama. Antes de darktable 3.4, el recorte resaltaba los píxeles que superaban el valor máximo permitido en cualquiera de los canales [R, G, B] o que se habían aplastado completamente a negro. Desde darktable 3.4 en adelante, el indicador de advertencia de recorte tiene algunos modos adicionales para ayudarlo a diferenciar entre la luminancia y el recorte de gama, para que pueda tomar mejores decisiones sobre cómo abordar cualquier problema.

A medida que el aviso de recorte (clipping) se ejecuta al final del pixelpipe de vista previa, recibe datos en el espacio de color y los convierte al espacio de color del histograma. Si está utilizando un espacio de color de pantalla que no tiene “buen comportamiento” (esto es común para un perfil de dispositivo), los colores que están fuera de la gama del perfil de pantalla serán recortados o distorsionados.

El módulo de advertencia de recorte, que se describe aquí, le advierte sobre el recorte causado por el procesamiento de imágenes y las limitaciones del espacio de color de salida. No debe confundirse con las siguientes herramientas similares:

  • The raw overexposed warning indicates where pixels in the original raw file are clipped due to physical limitations in the dynamic range of the camera sensor. This module highlights information that was permanently lost at the point of image capture, and you need to deal with it as best you can using highlight recovery techniques.

  • The gamut check module also provides information about clipping arising from image processing. It is based on the external littleCMS library, and is more or less equivalent to the full gamut mode in the clipping warning module. The downsides of the gamut check module are that it doesn’t allow you to distinguish between clipping caused by luminance and gamut mapping, and it is much slower than the clipping warning indicator.

controles del módulo

Haga clic con el botón derecho en el icono de recorte para mostrar las siguientes opciones:

modo de vista previa de recorte
Elija el tipo de recorte que desea resaltar:
  • any RGB channel: Provides an over-clipping indication if any one of the three [R,G,B] channels exceeds the maximum permitted value for the histogram color space, or an under-clipping indication if the three [R,G,B] channels are too dark and are all forced to black. This was the default mode prior to darktable version 3.4.
  • luminance only: Indicates any pixels that are clipped because their luminance falls outside of the range set in the “upper threshold” and “lower threshold” sliders. If this happens, it generally means that tone mapping or exposure settings have been poorly set
  • saturation only: Indicates where over-saturated colors have pushed one or more of the [R,G,B] channels towards a value outside the permitted range of the histogram color space, even though the overall luminance of the pixel may lie within acceptable limits. This means that the pixel’s color is impossible to represent in the histogram color space, and can arise from poorly set gamut mapping or saturation settings,
  • full gamut: Shows a combination of the three previous options. This is the default mode from darktable 3.4 onwards, and it gives the most complete indication of potentially problematic pixels.
esquema de colores
De forma predeterminada, el indicador marca los píxeles con rojo donde se excede el umbral superior (recorte excesivo) y con azul donde se supera el umbral inferior (recorte insuficiente). Este esquema de color se puede cambiar a blanco y negro o púrpura y verde para los indicadores “por encima y por debajo”, que pueden ser útiles para mejorar la visibilidad de algunas imágenes.
umbral inferior
Expresado en EV relativo al punto blanco (que nominalmente es EV = 0). Si todos los canales [R, G, B] caen por debajo de este valor, se muestra un indicador de recorte insuficiente que advierte que el píxel puede terminar aplastado a negro. Utilice la siguiente referencia para establecer este umbral, según el medio de salida previsto:
  • 8 bits sRGB recorta negros a –12,69 EV
  • _ 8 bits Adobe RGB_ recorta negros a –19,79 EV
  • 16 bits sRGB recorta negros a –20,69 EV
  • Impresiones mate de bellas artes normalmente producen negro a –5,30 EV
  • Impresiones brillantes en color normalmente producen negro a –8,00 EV
  • Impresiones brillantes en blanco y negro suelen producir negro a –9,00 EV
umbral superior
Cómo de cerca debe estar un píxel del límite superior antes de ser marcado por la advertencia de recorte, expresado como un porcentaje (predeterminado 98%). En el caso de las comprobaciones de gama, esto controla qué tan cerca se permite que la saturación del píxel llegue a los límites de la gama del espacio de color antes de que se marque una indicación de recorte.