OnImageMatrix.exposure constructor

OnImageMatrix.exposure([
  1. double exposure = 1.0
])

Matrix to control only exposure.

Implementation

OnImageMatrix.exposure([double exposure = 1.0])
    : super.matrix([
        exposure, // RR
        0.0, // RG
        0.0, // RB
        0.0, // RA
        0.0, // R-OFFSET
        //
        0.0, // GR
        exposure, // GG
        0.0, // GB
        0.0, // GA
        0.0, // G-OFFSET
        //
        0.0, // BR
        0.0, // BG
        exposure, // BB
        0.0, // BA
        0.0, // B-OFFSET
        //
        0.0, // AR
        0.0, // AG
        0.0, // AB
        1.0, // AA
        0.0, // A-OFFSET
      ]);