Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Problem creating pseudocolors
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Axel Berg  
View profile  
 More options Apr 21 1997, 3:00 am
Newsgroups: comp.graphics.apps.data-explorer
From: Axel Berg <a...@sara.nl>
Date: 1997/04/21
Subject: Problem creating pseudocolors

Hi everyone,

Could anyone help me with the following? I would like to visualize a
data set with 2D irregular positions and irregular connections
(triangles), and two position-dependent floating-point data array's. I
would like to create in DX an image displaying both variables in one 2D
picture. So for example with one color-dependent variable and one
saturation-dependent variable, or mapping a set of grey-scale colors
onto another color image (pseudocolors). So basically I would like to
combine two colored images (or one colored and one grey-scaled), or two
colormaps of different data with identical positions and connections.
However, the colormap doesn't seem to allow the use two data components,
one for hue and one for saturation. Likewise, I cannot use Overlay while
that module only allows data with a regular grid.
All suggestions are welcome.

Best regards,

Axel

--
***********************************************
*
* Axel Berg
*
* SARA - Academic Computing Services Amsterdam
* Kruislaan 415
* 1098 SJ Amsterdam
* The Netherlands
* Phone: +31 20 592 3000
* Fax:   +31 20 668 3167
* URL:   http://www.sara.nl
* email: a...@sara.nl
*
***********************************************

Could anyone point me at a good archive of this newsgroup?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DL.Gresh  
View profile  
 More options Apr 25 1997, 3:00 am
Newsgroups: comp.graphics.apps.data-explorer
From: "DL.Gresh" <gr...@watson.ibm.com>
Date: 1997/04/25
Subject: Re: Problem creating pseudocolors

Have you looked at the sample /usr/lpp/dx/samples/programs/
AlternateVisualizations?  It shows some things similar to
what you want to do.

To map one variable to color and one to saturation is
pretty easy. First convert your "color" data values to
the range 0 to 1 (which is red through green through blue
back to red). Similarly, convert your "saturation" data values
to run from 0 to 1 (white to fully saturated).  Then pass
these two data arrays into Compute, with the expression
"[a, b, 1]", which will make a hsv array, where value has
been set to 1. Then run this through Convert, making sure that
the "addpoints" param is 0. This will convert your hsv values
to rgb. Then insert this into your field as a "colors" component.

Like I said, something very like this is done in the sample
AlternateVisualizations.net.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »