Cycling Equipment · Public discussion

Software for estimating Frontal Area

Started by Email address hidden · · Last activity · 3 posts · 328 views

Thread details

What we know about this thread

Original section
Cycling Equipment
Published
27 September 2005
Last activity
27 September 2005
Original author
Email address hidden
Posts
3
Discussion status
Public discussion
Total views
328
Views / 30 days
0

The navigation and discussion metadata provide context. Posts remain in their original chronological order.

Showing posts 1–3 of 3
Posts remain in their original chronological order.

Text size
  1. Anyone familiar with any available software that can convert digital
    images into some useable frontal area numbers and aerodynamic drag
    numbers to apply and refine TT positioning. I know its out there, but
    where and how well does it work?
    CH

  2. yup. walmort sells the software for $2
    ILL has the other pack

  3. If you're will to play with .NET, it's not so hard:

    Use MS Paint to trace the subject (using white) in a picture with a
    control item (10cm x 10cm white square) above/side of the rider.

    Turn the picture attributes to B&W in Paint.

    Split the subject picture and the control item into two separate images
    (each of the same size as the original, but just make them separate).

    Turn the exterior of the Rider outline to white (rider be the only
    thing black). Do the same for the Control square. Invert the colors
    of the control (so the white square is black now, just like the rider
    in his image).

    Evaluate each image with this code:

    System.Drawing.Bitmap image = new Bitmap("image.jpg"😉;

    int height = image.Height;
    int width = image.Width;
    int pixelCount = 0;
    int totalPixels = 0;

    for (int x = 0; x < width; x++)
    {
    for (int y = 0; y < height; y++)
    {
    System.Drawing.Color color = image.GetPixel(x, y);

    if (color == System.Drawing.Color.White)
    {
    pixelCount++;
    }
    }
    totalPixels++;
    }

    You should be able to get the pixel count for each object. Using the
    control 10cm by 10cm, you should be able to determine the size of each
    pixel on the rider and get a pretty decent (if not consistent) estimate
    of frontal area.

    You could package all this into an app and do all the editing there,
    but that would take more time. Certainly doable though (especially if
    you use the TabletPC Toolkit which does much of this under the sheet
    using the Ink object).

Active in the last 60 minutes

Active in this thread

0 users · 0 guests ·0 bots ·0 total

No signed-in users are active right now.

No known search crawlers active right now.