Article View: comp.soft-sys.khoros
Article #1040Re: Annotations
From: Patrick Haggard
Date: Fri, 08 Jan 1993 11:57
Date: Fri, 08 Jan 1993 11:57
28 lines
2089 bytes
2089 bytes
In article <42465@pprg.eece.unm.edu.pprg.unm.edu>, vikcha@u.washington.edu (Vikram Chalana) writes: |> I need some information about the annotations produced by editimage. |> I would like to combine these annotations with the image, but I would like |> to automate the process i.e. such that I do not need to go into editimage |> every time, click on combine annotations etc. |> Is there some routine out there which might do this ??? I wanted to do the same thing, and couldn't find an automatic way of doing it. If your annotations are geometries (i.e., not text) have a look at the output annotation file. My annotations were all polygons, so I hacked the format of the annotation file (it's pretty obvious), and wrote a program that produces a VIFF file which has value 1 inside the polygon, and value 0 outside. You can then combine this with the original to produce whatever sort of effect you desire. This is a bit of a hack, but has its merits, and it should work for any of the geometrical annotations. PLEA: I would strongly urge the khoros group to consider a format conversion program for turning annotation files into VIFF files as part of K2. Thanks -------------------------------------------------------------------------- Patrick Haggard Email (WORLD): ph@physiol.ox.ac.uk University Laboratory of Physiology Email (JANET): ph@uk.ac.ox.physiol Parks Road, Tel. (0865) 272116 Oxford, OX1 3PT Fax. (0865) 272469 England --------------------------------------------------------------------------
Technical Details
Message-ID:
<1993Jan8.115735.12557@galen.physiol.ox.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!comlab.ox.ac.uk!phReferences:
<42465@pprg.eece.unm.edu.pprg.unm.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!comlab.ox.ac.uk!ph From: ph@physiol.ox.ac.uk (Patrick Haggard) Newsgroups: comp.soft-sys.khoros Subject: Re: Annotations Message-ID: <1993Jan8.115735.12557@galen.physiol.ox.ac.uk> Date: 8 Jan 93 11:57:35 GMT References: <42465@pprg.eece.unm.edu.pprg.unm.edu> Sender: ph@physiol.ox.ac.uk (Patrick Haggard) Organization: University Laboratory of Physiology, Oxford University Lines: 29 Originator: ph@galen.physiol