🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.khoros
Article #1027

Re: how to read/write individual pixels

#1027
From: Mathew Yeates
Date: Wed, 06 Jan 1993 16:46
33 lines
1906 bytes
fsistler@gumbo.age.lsu.edu (Fred Sistler) writes:


>-- 
>I am new to Khoros and need to perform some low-level image
>processing functions - specifically reading and writing grey levels of
>individual pixels.  Any suggestions on how to do that?
>I appreciate any help you will offer.

You can extract a single pixel from an image with vextract and then
print the value with vprdata. To write, you can insert a 1x1 image
created with vgconst any place in the image.

This is going to be quite inefficient if you need to alter
many pixels. In this case, your better off writing a new routine.

As you probably know, on-line documentation is available for
these routines with vman, e.g. vman vinsert.

-Mathew


|**********************************************************|
|      Mathew Yeates JPL/Image Analysis Systems Group      |
|               mathew@henry.jpl.nasa.gov                  |
|                   (818) 354-3008                         |
|               Will Program For Food                      |
|**********************************************************|
-- 
|**********************************************************|
|      Mathew Yeates JPL/Image Analysis Systems Group      |
|               mathew@henry.jpl.nasa.gov                  |
|                   (818) 354-3008                         |
Technical Details
Message-ID: <mathew.726338819@henry>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!henry!mathew
References: <1993Jan6.154330.24157@cs.tulane.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.soft-sys.khoros
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!henry!mathew
From: mathew@elroy.Jpl.Nasa.Gov (Mathew Yeates)
Subject: Re: how to read/write individual pixels
Message-ID: <mathew.726338819@henry>
Keywords: pixels grey level
Sender: news@elroy.jpl.nasa.gov (Usenet)
Nntp-Posting-Host: henry.jpl.nasa.gov
Organization: Image Analysis Systems Group, JPL
References: <1993Jan6.154330.24157@cs.tulane.edu>
Date: Wed, 6 Jan 1993 16:46:59 GMT
Lines: 33