isp:sharpness

# Differences

This shows you the differences between two versions of the page.

 isp:sharpness [2019/05/09 00:01]Igor Yefmov isp:sharpness [2019/05/09 00:02] (current)Igor Yefmov Both sides previous revision Previous revision 2019/05/09 00:02 Igor Yefmov 2019/05/09 00:01 Igor Yefmov 2019/05/08 23:58 Igor Yefmov 2019/05/08 23:58 Igor Yefmov 2019/05/08 17:32 Igor Yefmov created 2019/05/09 00:02 Igor Yefmov 2019/05/09 00:01 Igor Yefmov 2019/05/08 23:58 Igor Yefmov 2019/05/08 23:58 Igor Yefmov 2019/05/08 17:32 Igor Yefmov created Line 5: Line 5: Sharpness for each pixel is calculated based on the values of immediately surrounding it pixels, only the luma component $L$ is used for this calculation. Sharpness for each pixel is calculated based on the values of immediately surrounding it pixels, only the luma component $L$ is used for this calculation. - A pixel'​s new value is calculated based on the simple matrix (see below) with a little twist: the central coefficient of 5 is adjusted based on the new value of sharpness as follows: $coef_5 = 5 + sharpness$,​ where $sharpness$ is in range ''​[-1..+1]''​. + A pixel'​s new value is calculated based on the simple matrix (see below) with a little twist: the central coefficient of 5 is adjusted based on the new value of sharpness as follows: $coef_5 = 5 + sharpness$,​ where $sharpness$ is in range $[-1..+1]$. \[ \[