Fizick
23rd December 2007, 19:00
I was need to deblock photo slides copy and discover interesting debloking program at:
http://www.assassinationscience.com/johncostella/unblock/
From the original paper:
We don't have the original image, so we can't be sure that there isn't a sharp discontinuity in the original image that happens to lie right on the boundary. If we removed all discrepancies unconditionally, we would automatically blur out any such sharp edge that happens to unfortunately fall in the wrong place. It is impossible to avoid such an error in every possible case, but we can do so statistically. For any given image, the distribution of the magnitudes of the block boundary discontinuity errors will be determined by the amount of compression employed (the "quality factor"). By computing the distribution of boundary discrepancies across the entire image, and comparing it to the distribtuion of "discrepancies" calculated in the interior of the blocks, we can quantify, statistically, the amount to which the compression has introduced block artifacts. Now, what are we to do with these statistical distributions? A reasonable ansatz is that we should reduce each boundary discrepancy by an amount that will make the interior and boundary discrepancy distributions the same, as far as possible.
it is first part of my message - i need in thread number for plugin doc :)
http://www.assassinationscience.com/johncostella/unblock/
From the original paper:
We don't have the original image, so we can't be sure that there isn't a sharp discontinuity in the original image that happens to lie right on the boundary. If we removed all discrepancies unconditionally, we would automatically blur out any such sharp edge that happens to unfortunately fall in the wrong place. It is impossible to avoid such an error in every possible case, but we can do so statistically. For any given image, the distribution of the magnitudes of the block boundary discontinuity errors will be determined by the amount of compression employed (the "quality factor"). By computing the distribution of boundary discrepancies across the entire image, and comparing it to the distribtuion of "discrepancies" calculated in the interior of the blocks, we can quantify, statistically, the amount to which the compression has introduced block artifacts. Now, what are we to do with these statistical distributions? A reasonable ansatz is that we should reduce each boundary discrepancy by an amount that will make the interior and boundary discrepancy distributions the same, as far as possible.
it is first part of my message - i need in thread number for plugin doc :)