Results 1 to 5 of 5

Thread: Find out if a pixel belongs to a region

Threaded View

  1. #1

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Find out if a pixel belongs to a region

    I have a black and white image such as the attached one and I want to calculate the area and center of mass of the inner (hole) region.

    The problem I'm facing is for a spcific white pixel how to determine if it belongs or not to the hole i.e. if it's entirely surrounded by the black region.

    I assume the web has a lot of related information but I just don't know what exactly to look for. Any ideas?
    Attached Images Attached Images  
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width