Re: A "slanted edge" analysis program
- From: "Lorenzo J. Lucchini" <ljlbox@xxxxxxxxxx>
- Date: Wed, 28 Sep 2005 17:04:16 +0200
Lorenzo J. Lucchini wrote:
[snip]
Let us see if I've understood this.
What you mean is, for each line "y", for each pixel "x", do
ESF[ (x*4) + (Distance(Pixel[x][y], Centroid[y]) % 4) ] += Pixel[x][y];
and then, at the end, divide ESF[i] = ESF[i]/y, to get the average (well, or just normalize the ESF I have).
Sorry, probably I should have specified better what I meant with Centroid[y]: not the position on line y where the edge "appears to be", but the edge position on line y taken *from the regression*.
That is, first I do
for(y) {
ApproximatedCentroid[y]=FindCentroid(y);
} Then,
for(y) {
RealCentroid[y]=PointInRegression(ApproximatedCentroid, y);
}and then use the ReadCentroid array in the "bins" code. I suppose using the ApproximatedCentroid array would make no sense.
by LjL ljlbox@xxxxxxxxxx .
- References:
- A "slanted edge" analysis program
- From: Lorenzo J. Lucchini
- Re: A "slanted edge" analysis program
- From: Lorenzo J. Lucchini
- Re: A "slanted edge" analysis program
- From: Bart van der Wolf
- Re: A "slanted edge" analysis program
- From: Lorenzo J. Lucchini
- Re: A "slanted edge" analysis program
- From: Bart van der Wolf
- Re: A "slanted edge" analysis program
- From: Lorenzo J. Lucchini
- A "slanted edge" analysis program
- Prev by Date: Re: A "slanted edge" analysis program
- Next by Date: Re: A "slanted edge" analysis program
- Previous by thread: Re: A "slanted edge" analysis program
- Next by thread: Re: A "slanted edge" analysis program
- Index(es):