HDTenEightyP/NetNews huggingface dataset:
From: Vikram Chalana <vikcha@u.washington.edu>
Newsgroups: comp.soft-sys.khoros
Subject: Re: Image Segmentation
Date: 2 Sep 92 22:28:21 GMT


On 28 Aug 1992, Maureen Cain wrote:

> 
> 	I have an image that was taken through a microscope of a lead sample.
> It clearly (to the eye) has two distinct regions, one light and one dark.
> However, there is a lot of noise in both regions.  I want to extract the
> contours from the image defining the light and dark regions.  However, 
> because of the noise, standard edge detection algorithms (Canny, Sobel, etc)
> do not work very well, even after the image has been preprocessed with a 
> median filter.  I need to get a closed contour from the image as if I took a
> pencil and traced it off the image.  
> 
> 	Is there a way to segment the image using contrast and variance 
> stats rather than using and edge detector? Or a combination of both?  Any
> help would be appreciated.  Thanks
> 

Deformable Contour models like Snakes or Balloons  can combine
information from various sources (e.g. edges, regional segementation etc.) to
give a closed contour representing your boundary. However you have to
specify an initial contour somewhere near the desired one. The different
sources of information are combined as sources of energy  trying to
attract the curve towards themselves. 

I am trying to prototype the snakes program that I've written and it seems
to me that your images would be a great confidence booster for my program.
Could I have a couple of them to try my snakes on.  

Thanks  and good luck

-Vikram
From: FOLTZ@bootes.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: a demo?
Date: 27 Aug 92 06:19:38 GMT

Yesterday I stopped by the Khoros group at EECE and met Donna (and Bruce?).

I am a physics graduate student who is producing digitized x-ray images of 
flow fields through thin sections of rock (or synthetic rock) to try to 
emulate groundwater flow and solute transport ...  Sometimes I use a lower
resolution system (512 x 512 pixel array) but other times I get access to 
an expensive Siemens x-ray unit at UNMH (because my advisor is a member of that
dept) which allows me to capture near-real time images with 1024x1024 
resolution (in two image channels plus an alpha channel).  The latter data 
I have been able to image on a Sun sparcstation IPX using Utah Raster Toolkit's
utility GETX11.

I'm assuming that I would be able to do the same with KHOROS ... and more.
I am hoping to be able to produce an image with KHOROS and manipulate it 
(false color it to bring out the variation in moisture content  ... and to do 
image processing and analysis ... which means I would want to be able to do 
pixel, area, and page operations on the image data).

Please let me know if there is someone on campus who could demonstrate KHOROS
to me (particularly like the things mentioned above).  I did mention that I 
work primarily with Sandia people (Yucca Mountain Project) and have just met 
a KHOROS advocate today over the phone (Tom Sullivan) but most of the folks 
who have it installed at Sandia are "behind the fence."  Since I do not have a 
security clearance for those areas, I would appreciate it if I could find 
someone on campus who could demo KHOROS for me (as well as be a contact person).

I also learned from Tom Sullivan that I just missed out on a KHOROS course.
Please put me on a waiting list for the next offering.

Thank you,

Sue Foltz
From: kk@hpl-opus.hpl.hp.com (Konstantinos Konstantinides)
Newsgroups: comp.soft-sys.khoros
Subject: Re: (none)
Date: 27 Aug 92 16:29:34 GMT
Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA

In comp.soft-sys.khoros, huang@cerfacs.fr (Li Huang) writes:

> Hi, 
> I have some images with .gif format. How can i convert them to 
> .viff format by khoros.
> Thanks.

First get the public domain program "xv". That program can read GIF
files and can write in a variety of formats, including tiff.

So using xv display your image, then save it in tiff format.
Then use the tiff2vif program and you are all set.

(I don't remember where we go got xv from, probably from the mit server).

K. Konstantinides
kk@hpkronos.hpl.hp.com
Newsgroups: comp.soft-sys.khoros
From: kelly@c3serve.c3.lanl.gov (Patrick M. Kelly)
Subject: Re: Question on Viff format for multiband image?
Originator: kelly@wienerdog.c3.lanl.gov
Organization: Los Alamos National Laboratory
Date: Thu, 27 Aug 1992 18:07:21 GMT


In article <3566@eastman.UUCP>, eik@wormwood.Kodak.COM (Scott Eikenberry) writes:
|> 
|> Hey,
|> I was wondering if anyone understood whether the image data for multiband 
|> viff images was stored as pixel interleaved (R1 G1 B1, R2 G2 B2, ...) or
|> as band interleaved (R1 R2 R3....,G1 G2 G3...,B1 B2 B3...).


They are stored as band interleaved, (R1 R2 R3....,G1 G2 G3...,B1 B2 B3...).


|> 
|> Another quick question...
|> The document says that implied location is referenced by:
|> 	pixel intensity value = imagedata[x * row_size + y]
|> 
|> SHOULD IT NOT BE :
|> 	pixel intensity value = imagedata[x + y * row_size]
|> 


If you assume x to indicate horizontal movement (i.e. a column index)
and y to indicate a vertical movement (i.e. a row index), then you
are correct.

|>
|> and if this is true do I access bands:
|> 	pixel intensity value red band = imagedata[x + y * row_size * band_num]
|> 

You would access data like:

      pixel intensity in band "band_num" = 
                   imagedata[x + y * row_size + band_num * row_size * col_size]


|> 
|> Thanks for your help,
|> 

You're Welcome :-)

-- 
Patrick M. Kelly   
C-3  Mail Stop B-265                     Phone:    (505) 665-4665  
Los Alamos National Laboratory           FAX:      (505) 665-5220 
Los Alamos, NM  87545                    Email:    kelly@lanl.gov
-- 
Patrick M. Kelly   
C-3  Mail Stop B-265                     Phone:    (505) 665-4665  
Los Alamos National Laboratory           FAX:      (505) 665-5220 
Los Alamos, NM  87545                    Email:    kelly@lanl.gov
Newsgroups: comp.soft-sys.khoros
From: nobody@kodak.com (Mike Bruce)
Newsgroups: comp.soft-sys.khoros
Subject: REPOST - Khoros compiling
Date: 25 Aug 92 13:33:54 GMT

I posted this message yesterday and failed to mention, once again, that
all replies must be made directly to  -- bruce@ektron.kodak.com --
The Kodak mail server strips my user id off and I become -- nobody@...--,
thus simply "replying" will not work.


REPOST:

HELP!

I'm in the middle of my fifth compile of Khoros.  I'm on a SPARC 1
with 24 MB RAM, running OS4.2.1.  My Khoros directory is on a remote
SPARC 2 with 64 MB RAM, running OS4.1.1.  I'm compiling on the SPARC 1
and accessing and writing the results to the remote SPARC 2.



I have two primary problems:

The first problem occurs about 4 hours into the compile.  The error
message looks something like ...

cc -o vpolyco vpolyco.o -L/usr/da0/bruce/khoros/lib -L/usr/local/lang/SC0.0 ...
cc: Warning: File with unknown suffix ( ) passed to ld
ld:  : No such file or directory
*** Error code 4    (what does Error code 4 mean anyway?)


This error occurs twice.



The second error is very strange. It occurs roughly 5 hours into the
compile.  The error message looks like:

cc -c -0 -Bstatic -I/usr/da0/bruce/khoros/include -I/usr/openwin/include
-DVFORK -DTEMPNAM -DPUTENV -DRANDOM -DWAIT3    change.c

/: write failed, file system is full
compiler(iropt) error:  write_irfile: No space left on device

*** Error code 1     (what does Error code 1 stand for?)


There seems to be enough disk space on both the local machine where
Khoros is being compiled (df says there's ~100 MB), and there's
more than enough disk space on the remote machine where the Khoros
directory structure is located (~1 GB).  

My sun.cf file is set up for Shared Libraries, but is being compiled
statically.  I have also set the HaveSunPatchLd to YES.  I have no
idea if this info will help, but I include it anyway.


Also, is there a way to partially compile Khoros?  That is, given I
figure out what's causing these errors, can I resume compiling prior
to where it bombed?  If so, I'd appreciate it if someone could tell me how.

Thanks in advance,

Mike Bruce
(bruce@ektron.kodak.com)
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: MRI with khoros
Date: 3 Sep 92 13:08:25 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@galen.physiol


I shall shortly be starting a project to visualise contusion/evulsion
from MRI brain scans following head injury, and I hope to use khoros
for some of the analyses.  I'm a comparative newcomer to both MRI and
khoros, and would be greatful for any hints about suitable ways of
quantifying neural damage, and also references, cookbooks, and hints
on any similar work using khoros that anyond is doing.

Thanks
------------------------------------------------------------

Patrick Haggard,
Oxford University Laboratory of Physiology,
Parks Road,
Oxford,
OX1 3PT
England

Tel. (0865) 272116
Fax. (0865) 272469
Email (JANET): ph@uk.ac.ox.physiol
		(or ph@physiolox.ac.uk if that doesn't work).
------------------------------------------------------------
From: kk@hpl-opus.hpl.hp.com (Konstantinos Konstantinides)
Date: Tue, 25 Aug 1992 16:08:47 GMT
Subject: Re: Hp 9000/730 port
Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA
From: eik@wormwood.Kodak.COM (Scott Eikenberry)
Newsgroups: comp.soft-sys.khoros
Subject: Question on Viff format for multiband image?
Date: 26 Aug 92 20:10:25 GMT
Reply-To: eik@wormwood.Kodak.COM (Scott Eikenberry)
Organization: Eastman Kodak Company


Hey,
I was wondering if anyone understood whether the image data for multiband 
viff images was stored as pixel interleaved (R1 G1 B1, R2 G2 B2, ...) or
as band interleaved (R1 R2 R3....,G1 G2 G3...,B1 B2 B3...).
It is unclear to me from the documentation. The document says :

At each location there is a pixel that may have one or more values.  If there
is more than one value at a pixel location, for example in an RGB image, these
data values are separated into bands. This means that an image can have one or
more bands; these bands are stored sequentially.

Any further clarification would be greatly appreciated.

Another quick question...
The document says that implied location is referenced by:
	pixel intensity value = imagedata[x * row_size + y]

SHOULD IT NOT BE :
	pixel intensity value = imagedata[x + y * row_size]

and if this is true do I access bands:
	pixel intensity value red band = imagedata[x + y * row_size * band_num]


Thanks for your help,

Scott Eikenberry
Eastman Kodak
email : eik@acadia.kodak.com
        eik@disney.dnet.kodak.com
From: cclee@sisrl.sony.com (C.C. Lee)
Newsgroups: comp.soft-sys.khoros
Subject: viff2sgi sgi2viff
Date: 3 Sep 92 01:39:17 GMT



Should you know about the programs/utilities which can convert SGI image 
files (Silicon Graphic Inc.) to viff image files and vice versa, please 
let me know. Any pointers are much appreciated.



Best Regards;

C.C. Lee
From: troberts@zia.aoc.nrao.edu (Timothy Roberts)
Newsgroups: comp.soft-sys.khoros
Subject: C++ xvroutines
Date: 27 Aug 92 17:30:54 GMT
Distribution: usa
Organization: National Radio Astronomy Observatory, Socorro NM

I have been attempting to use Khoros for the easy graphic user
interface development tools (GUI).  However, I wish to make GUIs for a
C++ xvroutine.  This has raised two problems.  

1) I have to edited the hell out of the Makefile produced by running
ghostwriter in order to get all the "-l" libraries and "-I" includes I
need for my xvroutine.  QUESTION: Is there a place in the *.prog file
that this stuff is supposed to go?  If not, how is one supposed to add
stuff to the Makefile with out having to follow the spaghetti alias?

2) By doing the above additions to my Makefile I was able to get rid
of all error messages except those that state:

"fooey.c", line 213: error: undefined function vgparml called
   "         "   "    "      "           "     vgparms     "
   "         "   "    "      "           "     vget_float  "
   
etc...  QUESTION: What don't I understand?  I thought these were
automatically linked in by some library.

Has anybody else done any C++ work with xvroutine writing?  If so,
have you got a recipe for getting through this without memorizing the
Khoros Programmers Manual from cover to cover?
-----------------------------------------------------------------------------

       //\                        /\                    (0
     / /\ \                     /||>|                   ^
   /| |  \_|                   |/ \/
  |/| |  / |                  / \         Timothy P.P. Roberts
  |/ \ \/ /                               troberts@AOC.NRAO.edu
 / \   \\/                                505/825-7283 (Work)
/   \     
   The Very Large Array: it's not the size - it's if you've got more than one.
------------------------------------------------------------------------------
Newsgroups: comp.soft-sys.khoros
From: bengt@mathematik.uni-Bremen.de (Bengt Martensson)
Subject: Plotting 3D data with xprism3
Organization: University of Bremen, Germany
Date: Mon, 31 Aug 1992 14:00:22 GMT

I am trying to use xprism3 to plot 3d data files. This works perfect
using plot types 3D, scatter, impulse, but plot types mesh, surface,
contour 3D, contour 2D and color mesh produces no visual output at
all. "Horizon" produces a bizarre "animation". The data I am using is
in ascii format, three numbers (x y z respectively) on a line.
Plotting functions works perfect, btw. No non-default settings.

Am I doing something wrong or have I misunderstood something? I have
RTFM, but not found anything. (This is Khoros 1.0pl5, Sparc IPX, X11R5pl12,
SunOS4.1.1, twm) 

-- 
Bengt Martensson                                +49 421 218-2952 (office)
Institute for Dynamical Systems                 +49 421 17 17 13 (home)
University of Bremen                            +49 421 218-4235 (fax)
P.O. Box 330 440, D-2800 Bremen 33, Germany     bengt@mathematik.uni-Bremen.de
From: huang@cerfacs.fr (Li Huang)
Newsgroups: comp.soft-sys.khoros
Subject: (none)
Date: 26 Aug 92 13:45:31 GMT

Hi, 
I have some images with .gif format. How can i convert them to 
.viff format by khoros.
Thanks.
Newsgroups: comp.soft-sys.khoros
From: rogers@eplrx7.es.duPont.com (Wade Rogers)
Subject: varviff2 .pane file
Keywords: varviff2 pane UIS
Organization: DuPont Engineering Physics Laboratory
Date: Mon, 31 Aug 1992 15:16:40 GMT

I've just downloaded varviff2.tar, but found that the varviff2.pane file is
bogus (looks more like a .prog file).  Could the author please email or post
a correct .pane file?

Many thanks.

Wade

-- 
    Wade T. Rogers                |    E.I. du Pont de Nemours & Co.
    rogers@eplrx7.es.dupont.com   |    Engineering Physics Laboratory
                                  |    P.O. Box 80357
    (302) 695-7945                |    Wilmington, Delaware 19880-0357
From: nobody@kodak.com (Mike Bruce)
Newsgroups: comp.soft-sys.khoros
Subject: Non-power-of-2 FFT's
Date: 2 Sep 92 21:48:44 GMT

Khoros users,

Is there any non power of 2 FFT routines within Khoros?
If not, are there plans for this in the future?

Please reply directly to -- bruce@ektron.kodak.com --

Thanks,

Mike Bruce
From: casadei@cesena.mit.edu
Newsgroups: comp.soft-sys.khoros
Subject: I can't find library "libxvparser.a"
Date: 30 Aug 92 23:13:00 GMT


I was trying to recompile warpimage, as a self-tutorial for writing xvroutines.
The files form_info.c and form_init.c make reference to the following symbols
(which the linker could not find):

   _xvf_deparse_input_line 
   _xvf_parse_startpane_line 
   ......[ other similar symbols deleted ].........

I presume that these symbols are defined in "libxvparser.a" , which, however, 
is not in the public release (at least I did not get it).

Note: When installing khoros, I ftp'ed the binaries, so I did not compile khoros.

Now, I wonder, how could I have compiled khoros without that library ?
Is it possible to ftp "libxvparser.a" from somewhere ?

Thanks.

Stefano
Newsgroups: comp.soft-sys.khoros
From: neilb@scs.leeds.ac.uk (Neil Bowers)
Subject: Re: Converting GIF to VIFF
Organization: The University of Leeds, School of Computer Studies
Date: Wed, 2 Sep 1992 12:22:27 GMT

A while back I collected together information on converting various
image types to and from VIFF.  This list is available via anonymous
ftp at Khoros ftp sites (eg pprg.eece.unm.edu [129.24.24.10])
in /pub/khoros/contrib/image-import-export.  There is a README in
the same directory: README.image-import-export, which I'll append here.

As someone has pointed out, you could use the PBMPLUS package:

	GIF : Graphics Interchange Format
		IMPORT: giftoppm image.gif | pbm2viff -i - -o image.viff
		EXPORT: viff2pbm -i image.viff -o - | ppmtogif > image.gif

If you don't want the hassle of installing PBMPLUS, you could pick up the
San Diego Image Tools, and use "imconv".  You could use imconv to convert
to a Sun rasterfile, then convert that to VIFF:

	imconv image.gif -ras - | rast2viff -i - -o image.viff

Anonymous ftp details for both are also appended.

-neilb

----------- excerpt from /pub/khoros/contrib/image-import-export ------------

PBMPLUS
        A large set of image conversion and manipulation filters written by
        Jef Poskanzer, with contributions from others.
        The filters called XXXtoYYY in the list above are from PBMPLUS.

        FTP: ftp.ee.lbl.gov [128.3.112.20] in pbmplus*.tar.Z

San Diego Image Tools

        The San Diego Supercomputer Center has produced a number of image
        manipulation and conversion tools.  A single conversion program
        (imconv) is used, rather than the filter approach adopted by
        PBMPLUS et al.  Precompiled binaries are available for a wide range
        of architectures.

        FTP: sdsc.edu [132.249.20.22] in /sdscpub.


------------- /pub/khoros/contrib/README.image-import-export -------------
This file lists a number of popular image file formats, and how they can
be imported into, and exported from Khoros, or more precisely, Khoros'
file format, VIFF.

Following the list are brief details of the filters used, and how to get hold
of them.  If you are interested in image manipulation, you might like to
read the usenet news group alt.graphics.pixutils

If you have any additions or improvements to the information contained herein,
please mail them to me, using the address given below.

Neil
neilb@scs.leeds.ac.uk
From: nadeau@gti.enst-bretagne.fr@enstb.enst-bretagne.fr
Newsgroups: comp.soft-sys.khoros
Subject: SIZE of files
Date: 1 Sep 92 08:53:33 GMT

Hello,

Does somebody know how to extract de Xsize and Ysize of 
an image and put it in variables for doing a count loop


I can see de size of a file by VINFO but vstat does not 
extract this infomation.

	Thank you for answering

	Denis Nadeau
	Groupe traitement d'image
	Brest, France
From: rasure@borris.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Compatibility between Khoros 1.5 and Khoros 2
Date: 28 Aug 92 21:19:26 GMT


In "Compatibility between Khoros 1.5 and Khoros 2", casadei@cesena.mit.edu writes:
+ 
+ Hi, I am now in the process of learning to construct user-defined routines 
+ in Khoros (ghostwriter, composer, preview, etc. ).
+ 
+ Does anyone have an idea of how compatible will routines built with Khoros 1.5
+ with Khoros 2 ? Is it a waste of time to learn to and actually implement
+ Khroros 1 routines now, given that Khoros 2 will soon be available ? 

That is a good question.

First, Khoros 2.0 will not be available for quite awhile, we are targeting
april or may of next year for the public release, but it is too soon to
tell whether those dates are realistic.

Khoros 2.0 Alpha is targeted for November and will go to Consortium members
only.

There is a new document (postscript only) describing Khoros 2.0 on 
pprg.eece.unm.edu in pub/khoros/release called khoros20.ps.

Khoros 2.0 is a rewrite of Khoros 1.5.  In this rewrite, new software
layers have been defined and new libraries created.  This means that
making your Khoros 1.5 program a Khoros 2.0 program will not be 
a recompile.  We are going to provide "migration" tools to help you
convert your source code to Khoros 2.0.  These auto-editing programs
will do some of the work, but you will probably still have to edit
your source code.  The UIS file (pane file for your vroutine) will still
work ... but you might want to modify it to take advantage of some of
the new features (that means UIS files will be backwards compatible).

There will be more on this subject after we finish Alpha, but right now
this is about as much as I can tell you.

I would recommend going forward with Khoros 1.5.

John Rasure

+ Thanks for your advice.
+ 
+ Stefano
End of message from casadei@cesena.mit.edu
From: LKSOH@tesla.ece.ukans.edu (SOH,LEEN-KIAT)
Newsgroups: comp.soft-sys.khoros
Subject: help path
Date: 26 Aug 92 18:48:59 GMT

Hello,
	I have questions about the online help. The online help used to be
working fine. Until at some time we changed our file structure, and suddenly
online help does not work any more. Every time the HELP button is clicked,
a message "invalid help path" shows up. We checked and could not find
any place to insert a code directing KHOROS to find its HELP files. Thus,
we turned to you. What should we do to get the online help back on track again?
	
	Thanks. Regards.

Leen-Kiat Soh, the University of Kansas.
From: frandsen@seismo.CSS.GOV (Marvin Vaun Frandsen)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Non-power-of-2 FFT's
Date: 3 Sep 92 13:22:14 GMT
Organization: Center for Seismic Studies, Arlington, VA


 I suggest that you use dcpad to zero pad your data.  This will not
 affect your FFT.

    

-- 
-------------------------------------------------------------------
	  Marvin Vaun Frandsen       frandsen@beno.css.gov
From: donohoe@jemez.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: Re:  a demo?
Date: 27 Aug 92 19:41:23 GMT

FOLTZ@bootes.unm.edu (Sue Foltz) writes:

"Please let me know if there is someone on campus who could demonstrate
KHOROS to me..."

I would be happy to give you a demo.  I teach and Image Processing course
in our department, and also taught the recent short course "Image
Processing with Khoros".

============================================================
Greg Donohoe,  Assistant Professor
Electrical and Computer Engineering
University of New Mexico
Albuquerque, NM 87131        Tel: 277-6724
donohoe@chama.eece.unm.edu
============================================================

P.S., I'm in the EECE Building (same as the Khoros group) RM230B.

============================================================
"Vinum et musica letificant cor"
============================================================
From: ele@phoebus.larc.nasa.gov (Erik L. Ellis)
Newsgroups: comp.soft-sys.khoros
Subject: release.ps
Date: 3 Sep 92 19:48:48 GMT

I'm not sure who gets this letter, but whoever it is, HI!  I'm missing
New Mexico pretty bad and I hate Virginia.  Please, take me back!

But that's not really why I wrote.  Actually, I'm slowly in the
process of loading khoros onto our computers and thought you might be
interested in a *minor* fix needed in the documentation.  You'll need
to remake the release.ps file with the following fix:

On page 2 under the "KHOROS REQUIREMENTS AND LIMITATIONS" section, the
second paragraph begins "center doublebox tab(:)...." which looks more
like LaTeX commands than what was supposed to be there.

Anyhow, like I said, it's pretty minor, but it makes that paragraph
pretty hard to read.

Later,

  Erik L. Ellis  (formerly of UNM)
  NASA Langley Research Center  |  Office:  804/864-5819
  Information Systems Division  |    Home:  804/827-1259 (leave msg.)
  Mail Stop 473                 |     FAX:  804/864-7891             
  Hampton, VA  23665            |