comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: making a composite from several images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: making a composite from several images [message #6346 is a reply to message #6340] Sun, 02 June 1996 00:00 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
gennari@universe.Hawaii.edu (Scott Gennari) writes:

> Hi all,

> Could someone outline a simple way to create a composite image from
> serveral images. I have about GIF 100 images, all 200x200 pixels in dimension,
> that have only two values, 0 and 255. I'd like to create a single image that
> shows an accumulation of all pixel location where that particular value (255)
> appeared in all images. Something like below.

> n n+1 composite

> 000 010 010
> 100 001 ..etc. ---> 101
> 101 111 111


> I'm running IDL 4.0.1

> Thanks for any suggestions,
> Scott Gennari
> gennari@Hawaii.Edu

The EQ operator will return either 0 or 1, so you can use that to build up your
image. For example,

COMPOSITE = INTARR(200,200)
FOR I_FILE = 0,99 DO BEGIN
READ_GIF, filename, TEMP
COMPOSITE = COMPOSITE + (TEMP EQ 255B)
ENDFOR

William Thompson
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: A problem with pickfile?
Next Topic: Re: Non-exclusive buttons initial selection

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:29:21 PDT 2025

Total time taken to generate the page: 0.47917 seconds