C
Craig Parsons
Folks,
I have an image of a circle, which I am trying to straighten out into a
flat line. I am essentially wanting to look at the image, and read a
straight line from the centre, and then plot this on a graph. Then I want
to rotate the image 1 degree and read the next line down, if you see what I
mean.
My question is, how do I determine how many pixels wide I should read,
in order not to miss anything out? IE: If I rotate it 1 degree, how many
pixels is this going to be? I am guessing it is dependent on the image
itself?
I am trying to do this with C# and GDI+, although any comments, and
source in any language, would be very gratefully appreciated.
Craig.
I have an image of a circle, which I am trying to straighten out into a
flat line. I am essentially wanting to look at the image, and read a
straight line from the centre, and then plot this on a graph. Then I want
to rotate the image 1 degree and read the next line down, if you see what I
mean.
My question is, how do I determine how many pixels wide I should read,
in order not to miss anything out? IE: If I rotate it 1 degree, how many
pixels is this going to be? I am guessing it is dependent on the image
itself?
I am trying to do this with C# and GDI+, although any comments, and
source in any language, would be very gratefully appreciated.
Craig.