Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.9.3/8.9.3) with ESMTP id LAA01030
	for <dron@localhost>; Wed, 7 Mar 2001 11:03:48 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.6.0)
	for dron@localhost (single-drop); Wed, 07 Mar 2001 11:03:48 +0300 (MSK)
Received: from gate7.olympiakos.com ([207.176.88.85]) by shared1-mail.whowhere.com; Tue Mar  6 12:57:19 2001
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id PAA17739;
	Tue, 6 Mar 2001 15:42:49 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Tue, 6 Mar 2001 15:42:35 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id PAA17698
	for tiff-outgoing; Tue, 6 Mar 2001 15:42:35 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from avalanche.arcticus.com ([204.144.221.201])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id PAA17695
	for <tiff@olympiakos.com>; Tue, 6 Mar 2001 15:42:32 -0500
Received: from 3dnature.com (glacier [192.168.2.11])
	by avalanche.arcticus.com (8.9.3/8.8.7) with ESMTP id NAA05568
	for <tiff@olympiakos.com>; Tue, 6 Mar 2001 13:52:30 -0500
Message-ID: <3AA54CD9.5000106@3dnature.com>
Date: Tue, 06 Mar 2001 13:47:21 -0700
From: "Chris 'Xenon' Hanson" <xenon@3dnature.com>
Reply-To: xenon@3dnature.com
Organization: Arcticus
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001108 Netscape6/6.0
X-Accept-Language: en
MIME-Version: 1.0
To: tiff@olympiakos.com
Subject: Re: erasing pixels within a box using TIFF library
References: <Pine.SGI.4.05.10103051453500.9599315-100000@cse.unl.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@olympiakos.com
Status: RO
Content-Length: 835
Lines: 19

Chakravarthy Terlapu wrote:

> I am writing a program to erase pixels from a tiff image using TIFF
> library. I am using the point in a polygon test to check whether each
> pixel lies inside the polygon or not. I am having the problem at setting
> the pixels inside the polygon to white. 

   Can't comment on the tiff-related parts, but that is about
the least efficient way to rasterize a filled polygon.

   Not sure if the efficiency part matters to you, but if you're
going to be doing this en-masse, with a lot of files and
polygons, you should look into more efficient scan/fill
techniques.

Chris - Xenon--
  Chris Hanson | Xenon@3DNature.com | I've got friends in low latitudes!
         New WCS 5 Demo Version!     http://www.3DNature.com/demo/
  "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen

