Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!cica!gatech!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: A fast algorithm to find all closed regions in an image Message-ID: <8907210030.AA04505@expire.lcs.mit.edu> Date: 21 Jul 89 00:30:09 GMT References: <12247@eddie.MIT.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 3 If it's really a bit image, you can look at some code in the R3 server: server/ddx/mfb/mfbclip.c, for converting a bitmap to a YX-banded region. If you have a complex polygonal outline, you can use XPolygonRegion().