HDTenEightyP/NetNews huggingface dataset:
From: gadams@idefix.ph2.uni-koeln.de (Gunnar Adams)
Newsgroups: comp.soft-sys.khoros
Subject: Still Problems with xvroutines
Date: 29 Sep 92 11:53:11 GMT
Article-I.D.: pprg.40677


Hello,

I am still trying to install/write an xvroutine on our Sun Sparcstation runningX11R5. 
(Khoros is running ok, because we got the binaries). I have now resolved the
references to dlsym, dlclose, dlopen by linking my xvroutines against the
dlsym.c file from the mit/X11 package. 
The compiler gives no errors during the make process. But program execution
results in segmentation fault (or bus error) and core dump (I've tried this
on several xvroutines including putimage, example1, example2. Is it ok for
these routines to have about 1.4 megs length?

I hope you can help me determine what went wrong:

INSTALL:
% make depend
makedepend -s "# DO NOT DELETE" --  -I/home/khoros/include -I/home/gadams/KHOROS/toolbox/measure/include -I/files/vol/X11/include/X11   -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3      -- dlsym.c  lputimage.c  putimage.c  
% make
gcc -traditional -fstrength-reduce -fpcc-struct-return -O -static  -I/home/khoros/include -I/home/gadams/KHOROS/toolbox/measure/include -I/files/vol/X11/include/X11   -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3       -target sun4 -c  dlsym.c
gcc -traditional -fstrength-reduce -fpcc-struct-return -O -static  -I/home/khoros/include -I/home/gadams/KHOROS/toolbox/measure/include -I/files/vol/X11/include/X11   -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3       -target sun4 -c  lputimage.c
gcc -traditional -fstrength-reduce -fpcc-struct-return -O -static  -I/home/khoros/include -I/home/gadams/KHOROS/toolbox/measure/include -I/files/vol/X11/include/X11   -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3       -target sun4 -c  putimage.c
rm -f putimage
gcc -traditional -fstrength-reduce -fpcc-struct-return -o putimage dlsym.o  lputimage.o  putimage.o  -L/home/khoros/lib -L/usr/lang/SC1.0.1 -L/vol/X11/lib -L/home/gadams/KHOROS/toolbox/measure/lib -O -static   -ldisplay  -lxvplot  -lgraphics  -lxvforms  -lxvutils    -lghost  -lvexpr  -lnum_anal  -ldspl  -lformat  -lgeo_surf  -lvipl  -lvutils  -lvmath  -lvrast  -lvgparm  -lverror    -lm -ll  -lXaw -lXmu -lXt -lXext -lX11 

Are the configured options ok? 
 
Thanks for your help
	Gunnar
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: Andrew Ireland's xv_histo routine
Date: 28 Sep 92 16:39:04 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@galen.physiol


I am trying to locate Andrew Ireland, and, more specifically, an
xv_histo routine that he recently wrote as part of a degree
course project at Glasgow University, Scotland.  If anyone knows
an email address for Andrew, or the whereabouts of his routine,
I'ld be glad to know.
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
------------------------------------------------------------
From: donohoe@jemez.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: morpho bug fix
Date: 6 Oct 92 21:46:57 GMT
Article-I.D.: pprg.40828


Morpho toolbox users:

The program 'vgdiskse' in the morpho toolbox has several bugs.  I have
placed a corrected copy of 'vgdiskse.prog' in the directory
replace the 'vgdiskse.prog' file in your copy of the morpho toolbox
with the new file.

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

"Eschew obfuscation"
===================================================
Newsgroups: comp.soft-sys.khoros
From: thornton@milton.u.washington.edu (Kenneth Thornton)
Subject: Re: A few Khoros questions
Organization: University of Washington, Seattle
Date: Wed, 30 Sep 1992 19:57:30 GMT

In article <40684@pprg.eece.unm.edu.pprg.unm.edu> rasure@borris.eece.unm.edu (John Rasure) writes:
>
>In "A few Khoros questions", Kenneth Thornton writes:
>+ (1) Given a displayed image, I would like to interactively
>+     draw a line of arbitrary orientation across the image
>+     and plot the graytone values along the line. I would
>+     also like to have the option to save the values in a
>+     file to be used by the 1D signal processing routines.
>+     Has anyone modified editimage or any other Khoros
>+     command to do this?  
>
>Use the routine vsamp to extract the line.
>

How can I select the line INTERACTIVELY using vsamp?
Manually specifying the starting and ending points using
the vsamp form is very tedious.
From: jogl@merry.imsd.rwth-aachen.de (Joachim Glaubrecht  #Alwd#)
Newsgroups: comp.soft-sys.khoros
Subject: _S_p_l_i_t_ Khoros NewsGroup ?
Date: 30 Sep 92 08:56:54 GMT
Organization: Institut f. Med. Statistics @ Dokumentation



hi,
 
just a simple question:

is it possible to SPLIT this news-group in two subgroups ?
for instance in one group, discussing "installation problem"
and the other for real "graphic/algorithm-problems" ?

i thinks it is not very usefull, to find lot of make/compile-
scripts in this newsgroup. and i think users of HP-Stations are
absolutly not interested in SunOS related problem.

sorry, if this sounds destructive, but for the last weeks
there are LOTs of msgs about instalation problems, and nearly
-- 
  ___             ____________________________________
 /  /  _____     !  jogl@tolkien.imsd.rwth-aachen.de  !
 __/__/_/ Gl     ! Inst. f. Med. Stat. & Doku. (IMSD) !
/_/              !___Aachen__Germany__Europe__Earth___!
From: donohoe@jemez.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: color maps
Date: 27 Sep 92 16:45:52 GMT


/*
 *   In "color maps,"  bvs@photon.com (Bruce Shetler) writes
 * 

 * I'd like to assign a colormap to a (usually byte) image.  That is, I'd
 * like the image to carry a pseudo-color map around with itself so that
 * when I "animate" or "put-update" or "viewimage" or whatever I get
 * pseudo-color.  I can get pseudo-color in an application - "editimage"
 * for example, but when I switch images I have to reset the color map.
 * Far too annoying to expect any user to do; therefore I need to make
 * the map part of the image, I know this is supported in theory but I'll
 * be darned if I can figure out how to do it.


 * ======================================================================
 *  Bruce Shetler                           
 *  Photon Research Associates              San Diego...
 *  San Diego, CA   92121                   It's Not As Bad As L.A. 
 *  bvs@photon.com        
 * ========================================================================

Bruce,

Here's how I install colormaps in an image.  First recall that a Khoros
VIFF image contains a VIFF header (always) followed by image data 
(optional) and colormaps (also optional).  The strategy is to create
a file that contains ONLY header and colormap,  then use 'vmapxfer'
to transfer that colormap to your image,  which will then have header,
colormap and data.  Programs like 'editimage' and 'putimage' will then
apply the colormap when they display the image,  giving you pseudocolor.

You can create a header-and-colormap (no data) image from 'editimage'.
It's one of the file options under the OUTPUT menu.  You generate the
map either by using one of the builtin maps (e.g. SA, Rainbow) or
using the 'Pseudocolor' menu option to create it by hand.

Good luck.

==================================================================
Greg Donohoe, Ph.D.
Assistant Professor
Electrical and Computer Engineering
University of New Mexico
Albuquerque, NM 87131      (505) 277-6724
donohoe@chama.eece.unm.edu

"Not a member of the Khoros group...just an enthusiastic user!"
==================================================================
From: kubica@chama.eece.unm.edu (Steven Kubica)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Using the output
Date: 1 Oct 92 18:20:23 GMT

Hello,

On Oct 1,  1:15, Yuan-Ling Tang wrote:
} Subject: Using the output of "editimage"
> 
>     I need some help for the following:
>     Here is what I tried to do.
> 
>     +-----+     +--------+     +---------+     +-----+
>     |input|     |raw2viff|     |editimage|     |vdiff|
>     |     | --> |        | --> |         | --> |     | --> ....
>     +-----+     +--------+     +---------+     +-----+
					     /|\
Your problem is that the output of editimage  |  here is tied
to the live "output region of interest" operation on the ROI pane
in editimage.  So, until you actually use that operation, there
will be no file available for vdiff to read in. 

>     Another problem: I need to record whatever I did during this
>     session, but things that I did in "editimage" seem not recorded in
>     the cantata output messages. So the exactly same process cannot be
>     repeated again.

You could run editimage with the journal record feature (and then use 
journal playback to see what you did again).

Annotation operations can also be saved into a file that you can read in 
later.  All the ROI operations are also available as separate vroutines,
so you could easily draw a workspace to recreate any ROI operations 
that you wanted to be repeatable.

>     Can somebody enlighten me? Thanks in advance.
> 
> - -Tang
}-- End of excerpt from Yuan-Ling Tang

Hope this helps,

---////---- Steven Kubica ----------------------------------------------------
   ///      The Khoros Group               EECE Building - Room 214 
   //       University of New Mexico       email : kubica@chama.eece.unm.edu 
---/------- Albuquerque, NM  87131 -------------------------------------------
From: donohoe@jemez.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: morpho bug fix
Date: 6 Oct 92 21:50:20 GMT
Article-I.D.: pprg.40829


Morpho toolbox users:

The program 'vgdiskse' in the morpho toolbox has several bugs.  I have
placed a corrected copy of 'vgdiskse.prog' in the directory
replace the 'vgdiskse.prog' file in your copy of the morpho toolbox
with the new file.

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

"Eschew obfuscation"
===================================================
From: jworley@snidley.eece.unm.edu (Jeremy Worley)
Newsgroups: comp.soft-sys.khoros
Subject: Re: _S_p_l_i_t_ Khoros NewsGroup ?
Date: 2 Oct 92 14:32:18 GMT


In "_S_p_l_i_t_ Khoros NewsGroup ?", Joachim Glaubrecht  #Alwd# writes:
| 
| is it possible to SPLIT this news-group in two subgroups ?
| for instance in one group, discussing "installation problem"
| and the other for real "graphic/algorithm-problems" ?
| 
| i thinks it is not very usefull, to find lot of make/compile-
| scripts in this newsgroup. and i think users of HP-Stations are
| absolutly not interested in SunOS related problem.
| 
| sorry, if this sounds destructive, but for the last weeks
| there are LOTs of msgs about instalation problems, and nearly
End of message from Joachim Glaubrecht  #Alwd#

This is an interesting idea.  Many news groups end up splitting into
multiple groups when the traffic is heavy and it seems to fall into
distict categories.  In the end, it is probably not destructive.

Danielle Argiro has put together a compile FAQ.  I believe that this
was done as a result of the amount of traffic concerning compile 
problems.  If this is posted regularly, then may it will reduce the
number of postings of this type.

-jer


-- 
--------------------------------------------------------------------------
Jeremy Worley  		(505)277-5625           jworley@chama.eece.unm.edu 
--------------------------------------------------------------------------
From: aubrey@killdeer.lanl.gov (David L. Aubrey)
Newsgroups: comp.soft-sys.khoros
Subject: dynamic systems
Date: 6 Oct 92 22:19:55 GMT


	I need to model a system of nonlinear differential equations. If 
anyone has some free software for doing this, I would appreciate a copy.

					Thanks
From: simmeth@kogs22.informatik.uni-hamburg.de (Robert-Josef Simmeth)
Newsgroups: comp.soft-sys.khoros
Subject: grayscale morphology
Date: 30 Sep 92 13:18:21 GMT

Hallo 
I would like to know the location of the toolbox on grayscale 
morphology. I thought about writing morphology routines by myself,
nevertheless if they already exist it would be great if I could get 
them.
Sincerely
Robert
----------------------------------------------------------------------
Robert-J. Simmeth		   Universitaet Hamburg, FB Informatik
simmeth@informatik.uni-hamburg.de  Bodenstedtstr.16 D-2000 Hamburg 50
Tel. +49 40 4123 6140 	Fax. +49 40 4123 6530				
Newsgroups: comp.soft-sys.khoros
From: mtvrme@nl (Rob Meijers)
Subject: request: bins for hp-9000*
Summary: bins for hp-9000 : where ? 
Keywords: hp-9000
Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene,Bilthoven,NL
X-Newsreader: TIN [version 1.1 PL6]
Date: Wed, 30 Sep 1992 11:29:29 GMT

 


Before I start the (according to the many problems mentioned) laborious 
work of compiling khoros myself I would like to find an already compiled 
version and see if I can use it on my system straight away. However,
after some browsing through the "official" khoros ftp sites 
I haven't been able to locate a site where khoros executables for
the hp-9000-700 series (hp-ux 8.05) are available. 
Is there such a site ? 
I'm quite sure that people in this group have mentioned compiling khoros for
hp systems. 
Are these executables available ?  
Please reply before I plunge into weeks of misery.

Rob Meijers 
mtvrme@rivm.nl

Newsgroups: comp.soft-sys.khoros
From: schuette@quip.eecs.umich.edu (R. Wade Schuette)
Subject: Can you threshold interactively with scrollbar?
Organization: University of Michigan EECS Dept., Ann Arbor, MI
Distribution: usa
Date: Wed, 30 Sep 1992 02:13:01 GMT

This is a dumb new-user question.  Is there a way to threshold
an image interactively and/or a way to plug a scroll-bar type
control into a numerical slot in cantata so you can slide it up
and down and watch the image change as the threshold changes?

You can do this in NIH Image and NCSA Image but I haven't figured
out how to do it in Khoros.  Thanks!

Wade

-- 
======================================================================
R. Wade Schuette        | 
+1 (313) 996-7479       |   "This sentence no verb." 
schuette@eecs.umich.edu |
From: donohoe@jemez.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: Re:  morpho toolbox - REPOST
Date: 30 Sep 92 15:28:50 GMT

For all you folks struggling to install the 'morpho' toolbox,  please
accept my apologies and be patient...I am looking into it as time
permits,  which is to say slowly.  In installed it at the end of the
summer,  before I started teaching classes, etc.  Needles to say, it
works in MY directory.  The KGroup have promised to spend some time
with me to get it in shape,  and I'll let you know when it is.

I appreciate all your bug reports,  and I'm saving them all until
the toolbox is fixed.

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

"Capacitando a la gente"
=============================================================
From: ytang@blue.crayola.cs.psu.edu (Yuan-Ling Tang)
Newsgroups: comp.soft-sys.khoros
Subject: Using the output of "editimage"
Date: 30 Sep 92 04:05:20 GMT
Organization: Penn State Computer Science


Dear Khoros people:

    I need some help for the following:
    Here is what I tried to do.

    +-----+     +--------+     +---------+     +-----+
    |input|     |raw2viff|     |editimage|     |vdiff|
    |     | --> |        | --> |         | --> |     | --> ....
    +-----+     +--------+     +---------+     +-----+

    After I click on the "run" button, the whole process will result in
    displaying an image by the "editimage" (it actually stops running at
    this point). Then I do some manipulation using editimage, such as
    annotation, and then I "combine annotations". From here I try to
    click the on/off button on the glyph "vdiff." The problems is 
    "vdiff" fails by signalling "incorrect header by count". So how do I 
    do further processing using the output of "editimage"? I also tried 
    to output the combined image to a file and used that file as an input
    to "vdiff". But it failed again with the error message "Map enable
    value should be to VFF_MAP_OPTIONAL." I can, however, display this
    file using "put_update."

    Another problem: I need to record whatever I did during this
    session, but things that I did in "editimage" seem not recorded in
    the cantata output messages. So the exactly same process cannot be
    repeated again.

    Can somebody enlighten me? Thanks in advance.

-Tang
From: vdp@mayo.edu (Vinayak Dutt)
Newsgroups: comp.soft-sys.khoros
Subject: Fixes to KHOROS 1.5
Date: 1 Oct 92 13:14:15 GMT
Reply-To: vdp@mayo.edu
Organization: Mayo Foundation/Mayo Graduate School :Rochester, MN


Hi: 
     I was interested in getting the list of bugs and fixes to the KHOROS
distribution 1.5. I have seen people discussing about bugs and possible fixes
to them on this newsgroup. So I would be interested in getting a list of
these bugs/fixes if anyone has compiled a such list. If such a list has not
been compiled then I am willing to compile a list myself if you can just post
these fixes to me (e-mail: vdp@mayo.edu). I will then post this list as soon as 
I compile it.

Thanks

vinayak dutt
-------------------------------------------------------
                                           vinayak dutt
            Medical Sciences Building (2)   Mayo Clinic
                                     Rochester MN 55905
                                   e-mail: vdp@mayo.edu
-------------------------------------------------------
From: rasure@borris.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: A few Khoros questions
Date: 29 Sep 92 15:56:29 GMT


In "A few Khoros questions", Kenneth Thornton writes:
+ 
+ I have 2 system questions concerning Cantata/Khoros and
+ 1 user question. First the system questions:
+ 
+ (1) Assume I have designed a visual program using Cantata.
+     Is it possible to convert the workspace into a
+     unix shell script? For long simulations (involving
+     a series of images and a complex control structure), 
+     I would rather execute a shell script in the background.
+     Also, given a shell script, is it possible to
+     automatically create the Cantata workspace to
+     illustrate the program?
+ 
+     Of course, I can save the commands that Khoros executes
+     and then re-execute them in background, but this is
+     not what I want. 

Not Yet.  This is a common request - meaning that it will be VERY nice
when we provide this capability.  It is a ways off though.  Some of the
things necessary to implement this will be in place with Khoros 2.0, but
it will be some time after 2.0 that this capability might be available.

+ 
+ (2) I am running Khoros 1.5 on a SUN SparcStation 2 under
+     OS 4.1.1. Has anyone done any benchmarking on the
+     relative performance advantage obtained by passing
+     intermediate results of a multi-stage Khoros
+     computation through shared memory instead of through 
+     temporary files?

Last time I played with it, I was getting 2 to 4 times speed up.

+ 
+ Now, the user question:
+ 
+ (1) Given a displayed image, I would like to interactively
+     draw a line of arbitrary orientation across the image
+     and plot the graytone values along the line. I would
+     also like to have the option to save the values in a
+     file to be used by the 1D signal processing routines.
+     Has anyone modified editimage or any other Khoros
+     command to do this?  

Use the routine vsamp to extract the line.

+ 
+ Thanks for your help,
+ 
+ Ken Thornton
End of message from Kenneth Thornton
Newsgroups: comp.soft-sys.khoros
From: kobet@picker.com (Harry Kobetitsch)
Subject: Khoros
Organization: Picker International, Inc.
Distribution: na
Date: Wed, 7 Oct 1992 00:04:35 GMT


Where can I obtain khoros ?
What is the latest version ?

Thanks..
-- 
Picker International, Inc.
595 Miner Road
Highland Heights, Ohio 44143
Voice: 216-473-2624
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: Image format conversion
Date: 6 Oct 92 07:50:23 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@galen.physiol


Soraya, I think I know what your problem is, and I will reply to
you separately via email.

Patrick
From: kubica@chama.eece.unm.edu (Steven Kubica)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Annotation without using plot
Date: 30 Sep 92 18:58:28 GMT

On Sep 29, 13:15, Yuan-Ling Tang wrote:
} Subject: "Annotation" without using "Plot"
> 
> Hi netters,
> 
>     Here is my problem: In "xprism2" session, when I tried to plot something
>     using "annotation", the system always prompts me that I have to use
>     "Plot" subform to create a graphics workspace. But what I really

Yes, xprism2 requires that you plot something before you can add annotations;
The editimage application, however, has the same annotation capability
as xprism2 and it will allow you to draw annotations without having to 
read in an image.  What you may want to do is draw your annotations out 
within editimage, save them to a file, and then read them back in 
from xprism2.  

>     wanted was just to draw some graph. Also, I don't like my output to
>     show the X,Y axes. So, the question is, can I draw something without

You can turn off the axes from the first pane of the Options subform.

>     creating the workspace? Or do I have to use commands other than
>     "xprism2" for just drawing? Any help will be highly appreciated.
>     Thanks.
> 
> - -Tang
}-- End of excerpt from Yuan-Ling Tang

Good Luck,

---////---- Steven Kubica ----------------------------------------------------
   ///      The Khoros Group               EECE Building - Room 214 
   //       University of New Mexico       email : kubica@chama.eece.unm.edu 
---/------- Albuquerque, NM  87131 -------------------------------------------
From: holupka@snips.harvard.edu (Edward J. Holupka)
Newsgroups: comp.soft-sys.khoros
Subject: AVS and khoros
Date: 6 Oct 1992 13:29:40 GMT
Organization: Joint Center for Radiation Therapy - Harvard Medical School
Distribution: world
NNTP-Posting-Host: snips.dfci.harvard.edu

Hello All,
I have an AVS/Khoros question. I am attempting to compile an AVS 
module for edge detection which utilizes the khoros library routines.
I do not have the trillion meg of disk space to install the library. 
The module calls three routines which I assume are in the khoros 
distribution. They are expfilter(), gradadp(), and threshold(). Is it 
possible to just extract these routines from the khoros distribution??
I have loked at an Index for khoros and didn't see them. Am I doing 
something wrong? If anybody knows where the source for these routines 
are located could you please drop me a line. My address is 
	holupka@snips.dfci.harvard.edu
Thanks in advance.

--
__________________________________________________________________________
| Edward J. Holupka                   |  holupka@snips.dfci.harvard.edu  |
| Joint Center for Radiation Therapy  |----------------------------------|     
| Department of Radiation Oncology    | "Only two significant things     |