1 | 2 | 3 | 4
the result of the two approaches is seen on the image below. there are 11 lines with different densities of pixels.
the following image shows the models of the two calculations.