The ordered sequence of processing modules operating on an input file to generate an output image is known as the “pixelpipe”.

Порядок конвеєра обробки графічно представлений порядком, в якому модулі представлені в інтерфейсі користувача – конвеєр починається з raw-зображення внизу списку модулів і застосовує модулі обробки один за одним, накладаючи шар на шар обробки знизу вгору, поки він не досягне верху списку, де виводить повністю оброблене зображення.


Note: The order in which processing modules are executed exactly matches the order in which the modules appear in Ansel’s user interface. Changing the order of the modules in the user interface changes how your image is processed.


порядок модулів і робочі процеси

The order in which modules are executed within the pixelpipe has been carefully chosen to give the best output quality. In previous versions of Ansel it was not possible to change the module order. However, there are a number of very specific use cases where the movement of some modules within the pixelpipe is advised.

Робочий процес на основі сцен намагається виконати якомога більше операцій у лінійному кольоровому просторі RGB, стискаючи тони, щоб відповідати вихідному носію (з нелінійним відображенням тонів) лише в кінці конвеєра обробки. Перевага цього в тому, що перетворення виконуються в більш фізично реалістичному просторі, ніж традиційний робочий процес на основі відображення, який намагається виконувати операції в нелінійному перцепційному кольоровому просторі. Шанування фізичного реалізму (а не реалізму сприйняття) значно полегшує створення передбачуваних алгоритмів обробки з мінімумом артефактів.

Наведена нижче діаграма допоможе вам зрозуміти різницю між цими робочими процесами:

![scene-referred and display-referred modules]../../../the-pixelpipe-and-module-ord../../../scene-display-workflows.png)

  1. Scene-referred modules process linear data that is proportional to the amount of light collected by the camera at the scene. The dynamic range of an image in the scene-referred section of the pixelpipe is often larger than that of the display medium.

  2. At some point in the pixelpipe, these pixel values are compressed by a non-linear tone mapping operation into a smaller dynamic range more suitable for display on a monitor or a print.

  3. The remaining modules operate in the non-linear display-referred section of the pixelpipe to produce the final output image.

зміна порядку модулів

Настійно рекомендується, щоб користувачі не змінювали порядок модулів у конвеєрі з ряду причин:

  • The sequence of modules has been selected with great care in order to give highest output quality. Changes to the sequence often worsen the result rather than improving it.
  • Some processing modules simply don’t make sense if they are shifted in the pixelpipe. For example, highlight reconstruction needs to be performed on raw data before demosaic, which itself needs to be performed before any input color profile can be applied. For this reason it is still not possible to move some of the modules that are placed early in the pixelpipe.
  • Most processing modules are designed to work within a specific color space (see the color management section for more details). Full flexibility would require modules to support different parallel algorithms depending on the color space they are working in, which would drastically increase complexity.

Незважаючи на загальну рекомендацію не змінювати порядок модулів у конвеєрі, переміщати модулі всередині конвеєра можливо, утримуючи Ctrl+Shift та перетягуючи потрібний модуль у нове місце. Це варто робити лише досвідченим користувачам, які розуміють вплив, який це матиме на зображення.

The module order can be manually changed back to either the v3.0 or legacy versions using the module order module, which can also be used to define your own custom module order presets.