Re: "Connected region" puzzle
From: Michael Metcalf (metcalfmetcalf_at_compuserve.com)
Date: 02/23/05
- Next message: Michael Metcalf: "Re: "Connected region" puzzle"
- Previous message: Richard E Maine: "Re: Pointers and Modules"
- Next in thread: Michael Metcalf: "Re: "Connected region" puzzle"
- Maybe reply: Michael Metcalf: "Re: "Connected region" puzzle"
- Maybe reply: Brooks Moses: "Re: "Connected region" puzzle"
- Maybe reply: Brooks Moses: "Re: "Connected region" puzzle"
- Maybe reply: Dr Ivan D. Reid: "Re: "Connected region" puzzle"
- Maybe reply: Michael Metcalf: "Re: "Connected region" puzzle"
- Maybe reply: Janne Blomqvist: "Re: "Connected region" puzzle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Feb 2005 18:28:08 +0100
"justabeginner" <nom_de_plume79@yahoo.co.uk> wrote in message
news:b7ff0972.0502230918.132940c9@posting.google.com...
> Hi all. I've been thinking about how to best implement an algorithm
> that can assess the connectivity of regions in a surface (and later
> on, a volume).
>
> Suppose you had a plate like a huge chessboard, with holes in it. The
> holes can be of varying size, shape and quantity. The holes and
> remaining plate material are made from either removing or leaving
> behind the chessboard squares. Think of it as a grid/Cartesian
> co-ordinate system.
>
> I am trying to design a program that would be able to count the number
> of *connected* holes. I have thought of a method but it is
> computationally inefficient and clumsy.
>
> It relies on methodically going through each square. If a hole is
> found, then it checks the 8 adjacent squares. If more holes are found,
> it goes to each one and checks for connectivity there.
>
> If you can think of a better, easier or more elegant method I would be
> fascinated to hear about it.
- Next message: Michael Metcalf: "Re: "Connected region" puzzle"
- Previous message: Richard E Maine: "Re: Pointers and Modules"
- Next in thread: Michael Metcalf: "Re: "Connected region" puzzle"
- Maybe reply: Michael Metcalf: "Re: "Connected region" puzzle"
- Maybe reply: Brooks Moses: "Re: "Connected region" puzzle"
- Maybe reply: Brooks Moses: "Re: "Connected region" puzzle"
- Maybe reply: Dr Ivan D. Reid: "Re: "Connected region" puzzle"
- Maybe reply: Michael Metcalf: "Re: "Connected region" puzzle"
- Maybe reply: Janne Blomqvist: "Re: "Connected region" puzzle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|