Brightness Calculation in Digital Image Processing | Synapse