Changing color table for intensity graphs

Hi, I've been working on superimposing intensity graphs and I'm almost getting it, I'm just having trouble with color table, it is suppose to be composed of a 1-D array of 256 colors
I have 2 intensity graphs each with a different color table (256 color - 256 locations in the color table array). I need to "squeeze" both color table into a third color table for the superimposing of the 2 intensity graphs. therefore I figure I would take every other color value from each of the first 2 color tables (so each color table shrinks to 128 color) and add the values to form a 3rd color table so that the bottom will correspond to the first color table and the top will correspond to the 2nd color table.
I can do this manually, but it takes WAY too long, so I've been trying to use some kinda of algorism, but I cannot succeed. Anyone have any suggestions? it seems that color table is an unusual kinda of array
My attempted program is attached.
thanks very much!!
Attachments:
superimposing3.vi ‏111 KB

Brian,
I think this is what you're after (attached). The easiest thing to do is to decimate, then concatenate your original color tables to form your new "squeezed" color table. However, keep in mind that you also have to squeeze, or remap, your underlying data values to correspond with either one half of the color table or the other.
See if what I did makes sense.
Regards,
John
Attachments:
superimposing3_MOD.vi ‏90 KB

Similar Messages

  • Setting color table of intensity graph

    Hi!
    I set the attribute color table of an intensity graph to a rainbow
    distribution of the colors, but now I'm not able to change the color
    table with the markers in the front panel.
    Do you know a solution?
    Thanks, Markus

    > I set the attribute color table of an intensity graph to a rainbow
    > distribution of the colors, but now I'm not able to change the color
    > table with the markers in the front panel.
    > Do you know a solution?
    >
    Intensity graphs have two different modes for its color definition.
    The first, typical one, is the Color array. It can be set using
    either attributes or interactively and lets you define number/color
    pairs that create either a smoothly interpolated or a banded color
    gradient. The second mode is the color table. This is useful for
    bitmaps or for cases where the color table has been custom generated
    on the diagram. When using the color table, the Z scale is still
    useful for determining which numbers map to the 0-255 range of the
    color table. If you set the
    Z scale to autoScale, it will find the
    min and max of the data and set the Z to show all data mapped through
    the color table. If set smaller, some of the values will map to the
    first and last out of range colors. If set larger, it will map the
    values to a smaller and smaller number of the colors in the color
    table.
    It sounds like you really want to be using the color array and not
    the color table. The intensity graph automatically switches for
    you when you write attributes to it, but there is a way to change
    it back the the color array using a popup or attribute.
    Greg McKaskle

  • Possible to change color depth for Leopard's VNC server?

    I think it is very nice to include vnc server right into Leopard. But one problem, it seems it will only accept connection from clients when it is set to use full colors. This is painfully slow over WAN, any way to change the requirement from the server end?

    Possible to change color depth for Leopard's VNC server?
    Yes you can modify your screen sharing application so that you can adjust the colour depth. However you need to issue a command in the terminal to get this to work.
    http://www.macworld.com/article/131094/2007/12/screensharepower.html

  • Record column level changes of table for audit.

    Hi Experts,
    I need  suggestion on recording column level changes in table for internal aduit purposes, our company policy does not allow us to enable CDC and CT on database levels so I am looking for whar are other the best ways for doing the same ?
    I know we can use triggers and OUTpUT clause to record the changes on tables but Is there any other light weight solution for recording changes on transactions tables which very gaint tables. 
    Seeking your guidnace on solution side ?
    Shivraj Patil.

    OUTPUT should be the best choice for your case as this would be much lighter than Trigger.

  • How can create color table for "write bmp file.vi"?

    i want to create a color table for a 8 bit bitmap.The color table is the input of "write bmp file.vi". how can i make it?
    thanks!

    > i want to create a color table for a 8 bit bitmap.The color table is
    > the input of "write bmp file.vi". how can i make it?
    > thanks!
    >
    There is a color control on the front panel numerics palette. A color
    in LV is a four byte xRGB formatted number. So you can make an array of
    the color numerics and set them by hand or format the numbers however
    you like. If unwired it will use the LV color palette which is pretty
    much the HTML palette.
    Greg McKaskle

  • Change log table for Vendor Bidder information?

    Hi,
    In BBPMAININT transaction we have BIDDER DATA tab.
    If we change any Classification data in BIDDER DATA  tab for the Vendor in which table it updates the change log information?
    I checked in  BBP_SUPP_MONI table this table updates only when we change any Company data information for the vendor not Bidder tab.
    can any one help me?
    Thanks.

    Hi
    There is no standard report.
    But you can check in CDHDR & CDPOS tables for change log.
    Object Class= BUPA_BBP0020
    Tabname=BBPM_BUT_FRG0021
    Best regards
    Ramki

  • Recording Zoom factor and Pan position for intensity graph (LV8.2/8.5​)

    I'm using the zoom and pan features on the graph palette.  I need a way to determine the zoom factor and pan position so as to reapply these to another intensity graph.  Any way to do this?
    Thanks,
    Don

    Can't you just copy over the Xscale.range.min|max and yscale.range.max|min?
    LabVIEW Champion . Do more with less code and in less time .

  • Tick color property for XY graph

    I wish to change the tick color of XY graph programmatically. Then my program written as below. My bar graph contains 4 y scales. So i think the for loop should not be a problem. However, i get the error which stated ' Specified property not found'. Can somebody explain to me what is the cause of this error? Thank you

    Tim,
    Thank you for bringing this to us.  We are aware of the issue where using the XScale,TickColors,AllElements returns the error 1058 and are looking into fixes.  Hopefully using the other two XScale,TickColors Properties will provide what
    you need at this time.
    Thanks again,
    Scott A
    SSP Product Manager
    National Instruments

  • Change dimension tables for an infocube

    hello all,
    we have an existing cube where a few of the dimension tables are quite big compared to size of fact table.  we understand enough about getting the correct dimension table sizes, our question revolves around the existing cube.
    meaning, when we make the dimension table changes in dev and transport to val, will the transport be successful with data in the cube (so it will be stored in a format of old dimension table structure)?  do we have to dump the cube before transport and then reload after transport successful?
    thanks so much!

    Hi,
    Please check the below link
    Re: Cube Transport issue
    For remodelling,
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID0196158950DB01648128345571943727End?blog=/pub/wlg/5772
    Thanks

  • OT: Color palettes for pie graphs

    Okay, this is pretty random, but I'll ask.
    I'm busy making a pie chart that has about 15 wedges.  I want to pick a good scheme of colors that have reasonable contrast.  Anyone seen any examples of a good palette for making pie graphs?  I'm randomly picking colors and not really liking the end results.
    That's not an InDesign question (in fact, I'm working in Illustrator, and this is a design question rather than a software question!), but this is the board where I spend most of my time.  So I thought I'd post something off-topic.  Anyone have any suggestions?
    Thanks, Phyllis

    Consider using fewer colours. Yes, that means fewer wedges. That means merging the smallest 10 or so wedges into one “other” slice. If you, or your patron, insist on using all 15 values, consider then making a second, smaller pie to illuminate the contents of the “other” slice.
    Another option is to use patterns or gradients to expand the display options without requiring 15 distinct colours.
    Finally, if you must have all 15 slices and must use solid colours, then do not use a legend. Label each slice either on the slice itself or with a line pointing to it. The alternative to that is a key with 15 labels and 15 colours, some of which will not have much difference, so there may be confusion about which colour is used in some slices.
    Remember: charts are supposed to make data easier to understand. All to often they don’t.

  • How to Change colors in Graphs

    Hi Friends,
    Please tell me where i can change color options for graph view's.
    Thank You
    Sunil.

    Hi Sunil
    Go to graph properties --> Style table --> click on the icon to edit graph data --> Edit conditional formatting for the column.
    This the colours can be changed.
    Regards,
    Akansh Agarwal

  • Sensor analog balance for 2850K color table

    Hello
    I currently try to create a dual illuminant camera profile using DNG Profile Editor 1.0.0.46 beta for our Aptina CMOS MT9P031 based camera.
    Using the DNG SDK 1.4, i'm converting the BAYER pattern images to a DNG with a Embedded Profile which has identity matrices set on the color matrixes and analog balance DNG tags.
    D65 shooting conditions:
    - High-CRI LED based light source set to 6500K @ 300 lx (spectrum fit 96%)
    - CMOS sensor analog gains were adapted to achieve a neutral image at the D65 shooting conditions
    a. Do I have to keep all component gains to 1.0 or adjust for the illumination?
    b. Does it matter what I apply on the embedded camera profile on the AnalogBalance DNG tag?
    Std A shooting conditions:
    - Same light source set to 2850K @ 300 lx (spectrum fit 92%)
    - CMOS sensor analog gains were _not_ adapted to achieve a neutral image. This obviously results in a orange color tint which can be eliminated using the white balance slider on the "Color Matrices" tab of the DNG Profile Editor.
    c. Do I have to adapt the analog gains when shooting for 2850K
    Using the converted DNGs from shooting conditions above, I can create the color table for 6500K using the "Chart" tab, but not the 2850K color. I always receive the error message:
    "Non-neutral gray patches. The gray patch in row 4, column 3, has a significant color cast. Please reshoot the chart carefully to avoid color casts and try again."
    ...but when using the whitebalanace slider on the "Color Matrices" tab in advance of the "Chart" tab, I can tune the Std A image to a perfect neutral image. There is no color cast visible anymore.
    d. Any ideas what I did wrong?
    Kind regards
    blad

    Hi Eric
    Thanks for taking the questions. Some details and clarifications:
    Our analog gains are set to give a neutral image at D65 and we keep them unchanged even if the in-camera white balance algorithm detects a Std. A illuminant. This means the unprocessed RAW image contains a very warm color tint. Obviously, there is much more red than green and blue in the image. Is it correct, that then f.e. apply:
    oNegative->SetAnalogBalance(0.863, 0.599, 0.389);
    -> The values are derived from the red, green and blue components in the 2850K reference image from one of the gray patches on the color checker.
    Thanks for the tip with the missing ColorMatrix values. When I specify a ColorMatrix and AnalogBalance as (described above) I am able to create a color table using the chart tab in Profile Editor the reference image at D65. I keep getting the error for the reference image at 2850K. Did I specify the ColorMatrix the wrong way?
    oProfile->SetCalibrationIlluminant1(lsStandardLightA);
    dng_matrix_3by3 oRGBMatrix( 1.627, -0.448, -0.222,
                               -0.434,  1.787, -0.350,
                               -0.341, -2.014,  3.294);
    dng_matrix_3by3 oXYZ_to_SRGB_D65( 3.2404542, -1.5371385, -0.4985314,
                                     -0.9692660,  1.8760108,  0.0415560,
                                      0.0556434, -0.2040259,  1.0572252 );
    dng_matrix_3by3 oCA = MapWhiteMatrix(StdA_xy_coord(), D65_xy_coord());
    oProfile->SetColorMatrix1(oXYZ_to_SRGB_D65 * Invert(oRGBMatrix) * oCA);
    As soon as I open the DNG with values from above in DNG Profiel Editor I get a cold image with a blue color cast and click-white balance tells me ~3350K/28 instead of 2850K/0.
    Regards
    Daniel

  • Visited Sites do not Change Color

    Since the recent Safari upgrade, the sites I have visited do not change color.  For example, if I do a Google search, click the first link and then either use the back button or the refresh button in the Google search field, the site I just visited is not displayed in a different color.  This is happening on other sites as well but not all of them.  Project Gutenberg works as I expected.
    Any suggestions on how to fix this?  It makes searching more difficult since I now mentally have to keep track of which sites I've visited.  I realize this problem has cropped up before, but the answers are from several years (and versions) ago.
    Thank you in advance for any help you can give me,
    Frank

    You can use code in userContent.css or use the Stylish extension to override the page colors.
    I use code like this:
    <pre><nowiki>a:visited {color:#e08!important;background-color:#eee}
    a:visited * {color:#e08!important;outline:1px dotted red!important;outline-offset:-1px}
    a:visited img {background-color:transparent}
    </nowiki></pre>
    *Stylish: https://addons.mozilla.org/firefox/addon/stylish/
    *http://userstyles.org/help/stylish_firefox
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • Can we change Condition Tables

    Dear Experts,
    can you please tell me can we change condition tables for SD example 017/018?
    T code for this is M/04
    Requirement is now i need to check the checkbox With Release Status..
    Can anybody help me?
    Sachin
    Edited by: Sachin Bidkar on Aug 12, 2011 8:44 AM

    Hi Max,
    Thanks for the reply.
    Actually my requirement is to change processing status through ME12 for purchasing info records
    And My query is suppose i add this field in T681E, then will it allow to change the processing status in ME11/12?
    Please guide me.
    Thanks & Regards,
    Sachin Bidkar
    Edited by: Sachin Bidkar on Sep 23, 2011 2:36 PM

  • Reporting: Change Color on Prompt fields

    I need to know if we can change color options for prompt fields?
    Thanks,
    Rick

    Regarding prompt feild no idea.
    We can change the colour of that data which comes after prompting parameter.
    I mean  you have created a parameter Country then you can change the colour of field based on parameter by writing formula.
    Right click on field-> Format field->Font tab->on color clik on X-2
    write formula if {?My parameter}="USA" then red
    Have a look to Sample reports:
    [Crystal Reportsample |https://boc.sdn.sap.com/crsamples]
    Hope that helps!!
    Regards,
    Shweta

Maybe you are looking for

  • MacBook Pro - Can't connect to Airport Base Station in XP

    I have a new MacBook Pro running 10.4 and Win XP using Boot Camp. I also have an Airport Extreme Base Station. The MacBook finds and can use the base station perfectly when booted to 10.4. When booted into XP, it just keeps saying that it can't see a

  • Can't insert custom HTML or change social widgets to update Phone layout

    MUSE 2014.2.1.10, CL 787362  on  Windows 8.1  i7 processor 24 GB RAM Anytime I try to insert custom HTML in the phone layout pages I get a window that says webpage could not be found  in a window that is too wide for the screen size and can't be re-s

  • Safari will not close multiple windows

    In the last month my safari will not close multiple pages with the red button at the top of the screen. When viewing several pages in order to close out the window I have to totally close out of Safari. Please help... this is really a pain and very t

  • How to fix the time to refresh page items on Page load

    Hi all, When my pages load, some page items hidden are shown and when page load they are hidden again. Is there any way to keep it hidden without this time to refresh? Thanks Bsalvador

  • I need help fixing an ipod classic 5g why isnt it making music?

    im fixing an ipod classic 5g 30gb and i got it a new battery and audio jack/hold switch but it doesnt produce music other than the clicking when you scroll the wheel i traded out mother boards out of an identical broken ipod (thats only problem was i