摘要 |
Assuming that an original pixel adjacent to a first original pixel and opposite to a second original pixel is a third original pixel, and an original pixel adjacent to the second original pixel and opposite to the first original pixel is a fourth original pixel, and letting d 1 be pixel data on the first original pixel, d 2 be pixel data on the second original pixel, d 3 be pixel data on the third original pixel, and d 4 be pixel data on the fourth original pixel, a first edge component E is calculated on the basis of an equation for operation E=-d 3 +d 1 +d 2 -d 4 in the first step, and a second edge component Es is calculated on the basis of an equation for operation Es=|d 3 +d 1 -d 2 -d 4|. |