HDTenEightyP/NetNews huggingface dataset:
From: young@chama.eece.unm.edu (Mark Young)
Newsgroups: comp.soft-sys.khoros
Subject: journal playback & concert bug (fix)
Date: 21 Nov 92 17:43:35 GMT

Hi,

   First off let me say that will be the first of several messages i'll
be sending out about bugs/fixes that have been reported in the last
week.  This first bug was reported by Jon Hale of Omron Corporation.
Thanks Jon for reporting and helping us fix this bug!!  We really
appreciate the time and effort that you and omron invested in tracking
this down.

   The bug had to do with journal playback not properly working on
certain machines.  While in playback it would playback alpha-numerical
values correctly, but not for special or characters that used different
modifiers (shift, etc).  On the omron when the xprism3 journal playback
would try and redisplay the keyword file:

			plot3D:example3.0

   It would come out as:

			plot3D*example3.0

The ':' being incorrectly substituted for a '*'.  The keysym record and
playback within journal playback is not correctly translating between
the different keyboards.  The problem is that the journal playback
mechanism is not looking up the state as well as the keycode.  Here is
the fix that should be applied:

in the file $KHOROS_HOME/src/xvroutines/Lib/xvforms/jp_playback.c on line
310 change from:

           keysym = XStringToKeysym(string);
           event->xkey.keycode = XKeysymToKeycode(xvf_display, keysym);

to:
           keysym = XStringToKeysym(string);
           event->xkey.keycode = XKeysymToKeycode(xvf_display, keysym);
           if (XKeycodeToKeysym(xvf_display, event->xkey.keycode, 1) == keysym)
              event->xkey.state = ShiftMask;
           else
              event->xkey.state = 0;

--------------------------------------------------------------------------
Mark Young                         young@chama.eece.unm.edu
 
Khoros Group                       (505) 277-6563  (work)
University of New Mexico           Albuquerque,    NM 87131
--------------------------------------------------------------------------
Humor is something that is plentyful if you are willing to laugh at yourself.
From: ddt@hsinchu.csie.nctu.edu.tw (Kuo Ping Chiang)
Newsgroups: comp.soft-sys.khoros
Subject: Problems on Compiling
Date: 17 Nov 92 07:13:32 GMT
From: jgs@photon.com (Joe Shanks)
Subject: Re: Repost: A problem with an NCD X-win Terminal
Organization: Photon Research Associates, Inc.
X-Newsreader: TIN [version 1.1 PL6]
Date: Fri, 20 Nov 1992 21:21:35 GMT


Nimrod,

     I can't advise you on this, but can confirm that the operation
of this pane is very sensitive to hardware specs.  We run KHOROS
on a variety of SGI workstations (O.S.: IRIX 4.0.x), and NCD X-terms, 
and often must run RAW2Viff from the command line.

								Joe
-- 
===================================================================
Joe Shanks   					jgs@photon.com
Photon Research Assoc., Inc.         (619) 455-9741 [fax: 455-0658]
9393 Town Center Dr., # 200,  San Diego, CA  92121
From: Peter.Averkamp@e20.physik.tu-muenchen.de (Peter Averkamp)
Newsgroups: comp.soft-sys.khoros
Subject: Re:  4-d data plot
Date: 20 Nov 92 11:37:22 GMT

> For a nonuniform set of of x and y (two independent variables) I have
> two functions f(x,y) and g(x,y).  For my problem f(x,y) takes the role
> of a parameter estimate and g(x,y) is the quality of the estimate
> (the reciprocal of the variance) as a function of x and y.

Look at the viewimage-application (under the GIS/surface menu)
You can display xyz datasets and drape a colour image over the elevation
grid. So f(x,y) and g(x,y) could be coded as height and colour respectively.
Viewimage even lets you interactively change the viewing parameters.

> I'm thinking that I could represent f(x,y) and g(x,y) as a sphere
> where the height of the sphere above the surface is f(x,y) and the
> g(x,y) is represented by either the diameter of the sphere or a
> "brightness" of the sphere.

This is not supported within khoros 1.0.

\Peter


Peter Averkamp,                      | email:
Physics Department E20               | petav@e20.physik.tu-muenchen.de
Techn. Univ. of Munich               | Phone: ++49 (89) 3209-2408 and -2814
D-8046 Garching, Germany             | Fax:   ++49 (89) 3209-2338
From: bala@arrisun3.uta.edu (R. Balachander)
Newsgroups: comp.soft-sys.khoros
Subject: (none)
Date: 19 Nov 92 19:09:11 GMT

Hi,


I was having trouble with different aspects of Edit Image.

I wanted to know how to create drawings of various sizes(not the
default size) and save them . Strangely it was'nt saving them.

Also another problem I had was in the ROI operations in Edit image.
If I use the option of choosing the ROI by using cross hairs it doesnt work.
Sometimes the cross hairs disappear when you move around the image.
From: rick@jaguar.msc.cornell.edu (Rick Cochran)
Newsgroups: comp.soft-sys.khoros
Subject: Creating Color Map Files
Date: 16 Nov 92 19:54:36 GMT
Organization: Cornell Materials Science Center

I am trying to convert color maps developed with other packages to khoros.
Is there a utility I can use for this?

For example, a utility to move data in the "image" part of an image file
to the "map" part of the image file would suffice.

-- 
|Rick Cochran		  607-255-7223		     rick@msc.cornell.edu|
|Cornell Materials Science Center		     rick@crnlmsc2.bitnet|
|E20 Clark Hall, Ithaca, N.Y. 14853	     cornell!msc.cornell.edu!rick|
From: bowlin@ecol.lter.isu.edu (Tracy Bowlin)
Newsgroups: comp.soft-sys.khoros
Subject: FAQ's and help requested
Date: 16 Nov 92 18:43:57 GMT

Greetings from Idaho!


I am new to khoros and would like information on FAQ's. 

Also I have a problem with khoros?

When ever I have a window with an image in it (editimage, displayimage) when my cursor is outside the active display window everything is fine, but when I move the cursor inside the active window my screen goes black except for the image its self. This blacks out all of the information and I can see just a ghost of the pulldown menu icons. This is running on a SUN Sparc station IPX. I have tryed the different .Xdefaults provided with khoros, including the .Xdefaults  that came with the sun for OPENWIN. Any


 help will be appreciated.


Tracy Bowlin
Remote Sensing/ GIS analyst 
Idaho State University
Box 8007
Pocatello, Idaho 83209-8007
Internet: bowlin@ecol.lter.isu.edu
Newsgroups: comp.soft-sys.khoros
From: ibe1109@draper.com (Ira Ekhaus)
Subject: 4-d data plot
Organization: Draper Laboratory, Inc., Cambridge, MA
Date: Thu, 19 Nov 1992 17:26:39 GMT

Hello,

I'm a newcomer to khoros and I find the variety of options daunting.
I have a data presentation problem that is similar to the 4-d data
problem that this thread involves.

For a nonuniform set of of x and y (two independent variables) I have
two functions f(x,y) and g(x,y).  For my problem f(x,y) takes the role
of a parameter estimate and g(x,y) is the quality of the estimate
(the reciprocal of the variance) as a function of x and y.

I'm thinking that I could represent f(x,y) and g(x,y) as a sphere
where the height of the sphere above the surface is f(x,y) and the
g(x,y) is represented by either the diameter of the sphere or a
"brightness" of the sphere.

Visually, the plot will be dominated by high quality data, but the
estimate f(x,y) would be available at all points regardless of quality.

Hopefully, I've been clear to this point.
I'd like hear from  people who
	a) know of a way to do this in khoros.
	b) know of other fields/applications where this type of data
	is routinely presented (I'll probably cross-post to sci.geology)
	

thanks,

Ira
ekhaus@draper.com
Phone: 617 258 1109
Home : 617 484 6698
Draper Laboratories m.s. 7c
555 Technology Square
Cambridge , MA 
02139
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: Cut images in two
Date: 19 Nov 92 20:00:11 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@galen.physiol


I am doing some operations on a number of images, which are all of
different sizes.  One thing I want to do is to split each image
up, and extract four subimages, one for each quadrant of the 
original.  I can do that with vextract *AS LONG AS I CAN FIND
OUT THE SIZE OF THE ORIGINAL IMAGE AND MAKE IT AVAILABLE TO
VEXTRACT WITHIN MY PROGRAM*.  Any ideas on how best to achieve
that?

Patrick "Il est formellement deconseille de programmer directement le VIFF"
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: count loops : OK
Date: 19 Nov 92 19:37:31 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@galen.physiol


Sorry about that last post.  I've now worked out how to use the
count loop to display a series of files.  Brain recovered.  However,
the documentation could be clearer (I thought I needed a loop with
feedback, of course I don't), and the documentation on naming
file sequences could state how the expression parser uses the
count loop.

Thanks very much

Patrick
From: fitz@ipld01.hac.com (Melissa T. Fitzgerald)
Newsgroups: comp.soft-sys.khoros
Subject: log plots on xprism2
Date: 17 Nov 92 23:32:47 GMT
Article-I.D.: pprg.41697


Forgive my ignorance, but ....

I need to have the y-axis of a plot in xprism2 be logrithmic.
I have not found an obvious way to set this.

Any answers/suggestions?

tay fitzgerald
Hughes Aircraft
From: donna@peabody.eece.unm.edu (Donna Koechner)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Cantata flow control: brain error
Date: 18 Nov 92 22:30:27 GMT

On Nov 18,  2:19am, Patrick Haggard wrote:
} Subject: Cantata flow control: brain error
} 
} I'm having *real* trouble understanding how the flow control
} structures in cantata (specifically the count-loop) work.  All I
} want to do is to display (putimage) a few files called file.1,
} file.2 file.3.  The documentation clearly suggests that $count is
} the way to do this, but the documentation doesn't really help
} me update the values of this variable.
} 
} If someone could produce a trivial workspace which cycles through
} these files, that would really help me.
} 
} Thanks
} 
} Patrick
} 
} P.S. The reason for all this is that I think I have solved the
} freehand/non-rectangular ROI problem (about which a number of
} people contacted me).   I'm trying to test out a sample workspace
} so that I can summarise my solution, and then post the workspace
} to contrib.
} Thanks
}-- End of excerpt from Patrick Haggard


I sent a workspace directly to Patrick.  If anyone else wants it, 
let me know.

Donna

Newsgroups: comp.soft-sys.khoros
From: jcarroll@ferris.cray.com (Jeff Carroll)
Subject: oh where, oh where has my switch widget gone? 
Originator: jcarroll@ferris
Organization: Cray Research, Inc.
Date: 23 Nov 92 11:39:54 CST


While I search source code and FTP server, maybe some kind soul can tell
me what I did wrong if my vroutine pops up in cantata without an "on-switch"
widget.

I think I had this figured out once upon a time, but it's been purged from
short-term memory...
From: jworley@snidley.eece.unm.edu (Jeremy Worley)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Using F2C to compile parts of Khoros.
Date: 20 Nov 92 16:07:31 GMT
Article-I.D.: pprg.41760


In "Using F2C to compile parts of Khoros.", Enrico Badella writes:
| Has someone compiled the FORTRAN parts of Khoros with F2C? 

Yes. I have tried this before.  It works very well.
| 
| Since I don't have Sun Fortran on my Sun 4 and would like to evaluate
| Khoros I thought I maybe could use F2C (that I don't have either 8-<)
| 

As I understand it, there are a number of people who use f2c because they
are in a similar situation.

| So before starting this series of bootstraps, I'd like to get some
| advice.

Good luck.

| 
| Thanks.
| 
| - -- 
| Enrico Badella				Internet: eb@felix.sublink.org
| Soft*Star s.r.l.			          eb@icnucevx.cnuce.cnr.it
| Via Camburzano 9			Phone:    +39-11-746092
| 10143 Torino, ITALY			Fax:      +39-11-746487
End of message from Enrico Badella



-- 
	----------------------------------------------------------
	Jeremy Worley			jworley@chama.eece.unm.edu 
	The Khoros Group		(505)277-6563
	----------------------------------------------------------
From: Peter.Averkamp@e20.physik.tu-muenchen.de (Peter Averkamp)
Newsgroups: comp.soft-sys.khoros
Subject: Re:  Help!
Date: 20 Nov 92 10:53:24 GMT

> what to do with system.tar.z, but what do I do with binsun4.001 to
> binsun4.128?

zcat binsun4.* | tar xvBf -  

\Peter
From: donohoe@jemez.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: Non rectangular ROI
Date: 15 Nov 92 18:34:42 GMT


In "non-rectangular ROI- *HOW*?"
    ph@physiol.ox.ac.uk (Patrick Haggard) writes


: Hi.  The title says it all.  I would like to extract a
: non-rectangular, and preferably freehand, ROI.  Has anyone
: any tips?
: - --------------------------------------------------------------------------
: 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
: - --------------------------------------------------------------------------


Patrick:

This is not a very satisfactory solution,  but when I want to do non-
trivial interactive image processing such as that which you describe, 
I convert my images to TIFF (viff2tiff), ftp them to my Macintosh, and
work in Adobe Photoshop. Then I ftp them back to the workstation, run
'tiff2viff',  and finish the job in Khoros.

Khoros is more-or-less constrained to
work with rectangular images; the usual way to deal with non-rectangular
regions of interest is with a mask image.  (In my greyscale morpho
routines,  I combine the mask or 'background' with the ROI or 'foreground'
in the same file by making the background pixels negative. This is not
a very general solution.)  

Unfortunately, since the VIPL library is a somewhat loose collection of 
routines contributed by many individuals,  only a few of the routines 
incorporate the masking idea.

Maybe the Khoros Group have some plans for more flexible ROI operations
up their collective sleeve.

Cheers,

     Greg D.

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

News flash:  "Eating causes cancer!"
=================================================================
From: donna@peabody.eece.unm.edu (Donna Koechner)
Newsgroups: comp.soft-sys.khoros
Subject: Re: raw2viff, animate
Date: 18 Nov 92 22:51:14 GMT

On Nov 18,  1:50pm, Glenn S. Diskin wrote:
} Subject: raw2viff, animate
} I'm sorry if this ends up being a re-post, but the question I sent to the e-
} mail didn't seem to end up on the newsgroup.
} 
} I am trying to convert a headerless, multi-image, binary file to viff format, 
} using the raw2viff routine.  The example file has 8 sequentially stored 
} images, and so I set the number of data bands to 8, the rows and columns set 
} to the single-image values.  I left all of the other parameters at their 
} default values.  (Note: using 1 data band, I can successfully convert a single
} image file using these parameters.)  I run raw2viff in cantata, and the 
} output file is created successfully.  When I try to run animate to display 
} the resulting sequence, it informs me that my viff file contains only one 
} data band.  What am I doing wrong?
} 
} Any help will be greatly appreciated.  Thanks in advance.
} 
} Glenn Diskin
} NASA Langley Research Center
} diskin@emb00.larc.nasa.gov
}-- End of excerpt from Glenn S. Diskin


I think all you need to do is set the number of data bands to 8 and
animate the resulting image.  (make sure that the number of data
bands option button is selected).

Donna
From: dale@mrsun1.mri.ccf.org (system admin.)
Newsgroups: comp.soft-sys.khoros
Subject: Help!
Date: 19 Nov 92 19:55:54 GMT

Hi,
I have acquired the Khoros binaries for the Sun4, now what?
I read through install.ftp and Khoros FAQ and saw many references on
what to do with system.tar.z, but what do I do with binsun4.001 to 
binsun4.128?
Dale DeRemer	(216) 444-9009
Cleveland Clinic Foundation
From: mtournay@ulb.ac.be (Tournay Muriel)
Newsgroups: comp.soft-sys.khoros
Subject: Khoros & Cray + Rotating an object
Date: 19 Nov 92 13:15:44 GMT

Hi everybody,

I am new to Khoros and I have 2 main questions :

1)
I am trying to use Khoros on a Cray Y-MP2E/116 running Unicos 6.1.
After the first tentative of installation, many actions such as
clicking on OUTPUT in a window produced an exit with the "operand
range error : core dumped" message.  After recompiling the soft
without optimization option, it seems to work better but there are
still problems. So, I would like to discuss with somebody who has
experience in installing and using Khoros on a Cray or better, on
a Cray YMP.
Is anybody concerned ?

2) I am interested in knowing whether it is possible with Khoros
to move interactively (or through a simple procedure) an object in
the 3D-space.  I had a look at the "heart" example of Khoros. This
doesn't feed my needs. The "heart" example displays successively
a certain number of images producing an animation-like effect.  I
don't have images of my object, I only have his description in
(x,y,z) coordinates and I would like to rotate it with the intention
of analyze it from different view points.
Has anyone found something like that in Khoros or written a procedure
to do that ?

Any help on those two topics will be greatly appreciated.

Thanks in advance.

Muriel.


--------------------------------------------------------------------------
 Muriel TOURNAY                                  ULB/VUB Computing Center
 email : mtournay@ulb.ac.be                      User's Support
         mtournay@bbrbfu60.bitnet
 phone : (00-32) 02/ 650.37.30
--------------------------------------------------------------------------
From: abadmota@yoko.rutgers.edu (Soraya Abad Mota)
Newsgroups: comp.soft-sys.khoros
Subject: Modularity in Khoros 1.5
Date: 23 Nov 92 22:47:46 GMT
Organization: Rutgers Univ., New Brunswick, N.J.


Hello all!
  I think that my question will have a trivial answer in Khoros 2.0, but
in the meantime, I would like to know if the following scenario is 
feasible in Khoros 1.5.
  I want to develop an X application using the tools available in
Khoros currently, in other words I want to write an xvroutine, and after 
going through all the steps of writing the user interface and installing 
the new code I would like to give my user only the minimum necessary so 
that they can execute the application. They don't even need to run it 
from Cantata. (I need to do this because they don't have enough space for 
all Khoros.)
  Is it correct to assume that I will only need to give them the
following? the application, the libraries xvforms and xvgraphics, a few other 
vroutines (or hybrid) that I might need, for example putimage. 
  Am I missing something? For instance it's not clear to me what
else is needed for the manual pages and the documentation of the 
vroutines that do not belong to my application. How much space would be 
needed in this scenario? (i.e how big is the Khoros portion that I
need for doing this?)
 
  On a very related note, the way to define a GUI is: use an editor
to add the appropriate lines in the .form UIS file, test each pane
with preview, and then test the complete interface after following the 
steps specified in the conductor manual. In other words there is no
other tool similar to composer that will generate the UIS lines for
the .form file, right?

Thanks in advance for your answers,
Soraya Abad-Mota.
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: Cantata flow control: brain error
Date: 18 Nov 92 02:19:22 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@motor.physiol


I'm having *real* trouble understanding how the flow control
structures in cantata (specifically the count-loop) work.  All I
want to do is to display (putimage) a few files called file.1,
file.2 file.3.  The documentation clearly suggests that $count is
the way to do this, but the documentation doesn't really help
me update the values of this variable.

If someone could produce a trivial workspace which cycles through
these files, that would really help me.

Thanks

Patrick

P.S. The reason for all this is that I think I have solved the
freehand/non-rectangular ROI problem (about which a number of
people contacted me).   I'm trying to test out a sample workspace
so that I can summarise my solution, and then post the workspace
to contrib.
Thanks
From: kar@cse.unl.edu (kokaveera raghavarao)
Newsgroups: comp.soft-sys.khoros
Subject: Regular Polygon
Date: 19 Nov 92 09:05:13 GMT

Hi!
	Can you help me in solving the following problem on regular polygons.


    I am having a regular polygon with 
               
                     vertices = n
        degree of each vertex = d
 Number of edges in each face = f

 Is there any way to compute the number of vertices that are not adjacent
 on a deterministic machine. I deviced an algorithm to solve the problem
 on a non-deterministic machine which is not that hard. I am curious to
 know if there is a deterministic solution to the above problem. I found
 that this problem has very good application in Neural Networks.

 Is the problem NP-Complete ?

 Thanks
 -Raghav
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: SUMMARY: non-rectangular ROI
Date: 19 Nov 92 19:35:30 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@galen.physiol


I received a number of replies when I asked how to work with a 
non-rectangular ROI.  Quite a few people seem to want to do this.
Two people offered to contribute code for this, and (if they consent)
I shall pass on anything from them to the group.
In the short term, I have a solution which uses annotations in 
editimage to mark out a ROI.  Using the polygon, this can be made to
be almost any shape.

I have written a demo workspace which uses this method, which I am
prepared to contribute, if anyone is interested.  However, I would
first like a volunteer to check it on another system to make sure
I haven't goofed.

Thanks for all your replies.

Patrick "Il est strictement interdit de programmer directement le
VIFF"
Newsgroups: comp.soft-sys.khoros
From: jgs@photon.com (Joe Shanks)
Subject: Re: Routines for getting profiles of images
Organization: Photon Research Associates, Inc.
X-Newsreader: TIN [version 1.1 PL6]
Date: Fri, 20 Nov 1992 21:26:54 GMT


     I believe the routine "vsamp" will do this.
							Joe
-- 
===================================================================
Joe Shanks   					jgs@photon.com
Photon Research Assoc., Inc.         (619) 455-9741 [fax: 455-0658]
9393 Town Center Dr., # 200,  San Diego, CA  92121