Need help understanding "AN IMAGE SIGNATURE FOR ANY KIND OF IMAGE"
I'm trying to implement the paper titled AN IMAGE SIGNATURE FOR ANY KIND OF IMAGE, but I'm having trouble what they mean in this paragraph:
For each column of the image, we compute the sum of absolute values of differences between adjacent pixels in that column. We compute the total of all columns, and crop the image at the 5% and 95% columns, that is, the columns such that 5% of the total sum of differences lies on either side of the cropped image. We crop the rows of the image the same way (using the sums of original uncropped rows).
First, what do they mean by "sum of absolute values of differences between adjacent pixels in that column"? If start at the top-left pixel and work downwards (down the column), we can compute the difference between (0,0) and (0,1), but what about the next pixel? Am I supposed to compute the difference with just the pixel below, or the pixels on either side, or perhaps even the 4 or 8 neighbours?
And then, as I understand it, we sum these differences for each column such that each column is reduced to a single number?
Then we use this information to crop the left and right edges of the photo, right?
I'm trying to implement the paper titled AN IMAGE SIGNATURE FOR ANY KIND OF IMAGE, but I'm having trouble what they mean in this paragraph:
For each column of the image, we compute the sum of absolute values of differences between adjacent pixels in that column. We compute the total of all columns, and crop the image at the 5% and 95% columns, that is, the columns such that 5% of the total sum of differences lies on either side of the cropped image. We crop the rows of the image the same way (using the sums of original uncropped rows).
First, what do they mean by "sum of absolute values of differences between adjacent pixels in that column"? If start at the top-left pixel and work downwards (down the column), we can compute the difference between (0,0) and (0,1), but what about the next pixel? Am I supposed to compute the difference with just the pixel below, or the pixels on either side, or perhaps even the 4 or 8 neighbours?
And then, as I understand it, we sum these differences for each column such that each column is reduced to a single number?
Then we use this information to crop the left and right edges of the photo, right?
No comments:
Post a Comment