Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

How do I find the area of a shaded region in an image?

  • 04-08-2005 1:15pm
    #1
    Closed Accounts Posts: 756 ✭✭✭


    Hi
    I have a number of images that I want to process. For each image I want to highlight several regions (polygons) and then quickly calculate the area of these regions.
    Does anyone know a tool or a method that can do this? I had a look at how to calculate a polygon's area but this looks like overkill. Maybe something like: I use a colour for the highlight that is not used elsewhere in the image and then count the number of pixels lit in that colour.
    Or maybe there is a graphics program that offers this function.

    Anyone know?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 228 ✭✭Mary-Ellen


    Hi,

    If you have the coordinates of all points and there isn't too many (cause they'd all have to be entered manually), you could use a program to calculate it.

    There's one in C and in Java on this link:

    http://astronomy.swin.edu.au/~pbourke/geometry/polyarea/

    Applications like mathlab and maple would do it too and you'd probably get ready made code if you googled it. You'd need coordinates for them too.

    Hope that helps.


Advertisement