Progamatic​ally changing ROI colors

I am programmically building multiple image ROI's and then grouping them to display on the image.  The ROI Descriptor does not allow specification of the the indiviudal color of the ROI.  I can create a "color" property node for each individual descritpor and then define a color for each off the node.  However,  this is not working.  I can not change the color of the group of ROI's let alone each independantly (my goal).  I assume that I am not applying the Property Node correctly or in the proper location. 
Any advise?

Take a look at the attached.  Once a picture loads, add some ROIs to it and then leave the picture.  The ROIs themselves are all the same color, but this vi uses an overlay to represent the ROIs when the mouse is not in the image.
Randall Pursley
Attachments:
Colored ROIs.vi ‏47 KB

Similar Messages

  • How to change IMAQ ROI color while adjusting handles

    I have an application where a user must draw a rotated rectangle box around an object.  I'm using an color overlay to highlight the box, but when the user is adjusting the roi handles, the box color becomes gray.  The images i'm working with are gray scale images and it makes it difficult to adjust the rotated rectangle box when they are virtually the same color.  Is there any way to change the color of the roi while it is being adjusted?
    Thanks,
    Pete

    Hi pbartko2,
    You can change the color of the ROI while it is in place, but there are no settings to change the color while the ROI is being moved. This will always be the default color of grey. You could post this as a suggestion on our Idea Exchange. Ideas voted up on the Idea Exchange are taken into consideration for previous releases. Unfortunately at the moment there isn't an easy way around this issue.
    Regards,
    Emily C
    Applications Engineer
    National Instruments

  • ROI color when selected

    I want to change the default gray color of the ROI to red or blue, when it is selected by the user for modifications. I have seen a similar post in NI forum, and the solution was given as 'change it at the image property node'...
    I am using IMAQ constructROI for my application..please give me a detailed suggestion for acheiving this color change. (I useIMAQ windROIcolor for changing the color of the ROI when it is not active)
    Thanx in advance,
    Mathew

    I don't know exactly what you want to do, but if i understood you correctly, you want to change the color of the pixels which masks the ROI area?!
    Therefore, look on the attached VI
    If you want to change the background color of the selected ROI tool, e.g. line or rectangle, i think it's not possible if you work with the WindTools setup or the WndWindows...
    Instead of this, you should use an image control, place it on the frontpanel and make a right click on it - scroll to Advanced - Customize, afterwards it's possible to change the background color of several selected tools. Save the customized control and work with it...
    regards,
    ThSa
    http://www.newgistics.com

  • My Excel with PowerPivots acts weird, it hangs when i try to change font color

    Hi 
    I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
    and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
    size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot. 
    Thanks,
    Shanker

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you receive any error message?
    Which Excel version are you using?  Excel 2013 or other?
    Which workbook format are you using? XLS or XLSX?
    Are you performing any specific task?
    According to your description, this issue seems only occur with the special worksheet "Charts".
    Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
    If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
    If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
    Secondly, we could follow below KB to troubleshoot this issue:
    https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
    Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
    Event log:
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    App crash dump file:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
    it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open Excel
    to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Skydrive and shared the link here.
    Also, you can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Change the color of the outer line of a shape

    Hello I'm trying to create a rectangle with a red border and no inside fill. It's only to highlight some text of a bank form.
    I know i have to right click the layer and choose blending options and stroke. But I've tried to change the color so many times and no matter what I do, the outer line remains gray and with rounded corners.
    I want the corners of the rectangle to be squared, not rounded but I'm having a hard time changing this.
    Please help
    I'm using Photoshop CS3
    thank you
    Could anyone please show a picture of where to change the color of the outer line? I've tried everything.

    Hi,
    With Ps CS3, you'll probably want to define a Layer Style for a Stroke and then use that with the Square Shape Layers.
    This is a Stroke of 4 px, 'Centered' (so a very slight corner rounding on the outside edge. 'Inside' will give you square corners for both inside and outside edges). To change the color of the stroke, go to Layer> Layer Style> Stroke and change the color by clicking on the color bar.
    regards,
    steve 

  • Unable to change text color (from Black)

    For the next person who blunders into this and searches for an answer...
    If you have a Condition Code whose decoration is a custom color, and you delete the color, the text goes to Black, and you cannot change the color of text bearing that CC - with local color override, or a Character Format that applies a color (I didn't try Paragraph format).
    I am copying formatted content in from an older document that doesn't conform to current templates. I had deleted unused colors in the source, but not unused Condition Codes, one of which rode in with some text. What was controlled by the CC in the old doc is now controlled by a color Character format, except that when applied, the text stayed stubornly black (until I nuked the CC).

    Dear FrameMaker 7.1/Unix user,
    This does not surprise me. As long as the condition is applied and "Show Condition Formats" is active FrameMaker will show the Condition Color (now: Black) and not any underlying text colors.
    - Michael

  • I am unable to change the color of text in an email I replay to or compose. I am on 31.6.0 release of Thunderbird.

    When I receive, reply or compose email. I no longer am able to see or change the color of text. I select to change the text from black to Red (or any other color) and the text just stays black, The color seletor box will show the last select color, but never actually changes the text color in an email. Also in received email, when the sender has indicated their replies to me are in another color, All the text only appears as black. I never had this problem in the past, not sure what has happened. I did restart Thunderbird with add-ons disabled and this did not change the problem.

    Hello, maybe the question need to move by a moderator to thunderbird support ?
    https://support.mozilla.org/en-US/questions/thunderbird?owner=all
    thank you
    [moderator note: question thread has been moved from Firefox queue to Thunderbird queue]

  • Why am I unable to change text color from black in LR5 book module?

    Why am I unable to change text color from black in LR5 Book Module?

    I'm assuming you clicked on the color patch besides the word <Character> to open the color picker window.
    At the right side of this window there is a vertical bar that has 2 horizontal black lines at the bottom.
    This is actually a slider. Pull it upwards with the color picker and color will appear in the window.

  • Every time I try to replace text on a brochure template, the colors inexplicably change- and when I try and change the color, it doesn't let me- help, very frustrated:)  Please respond in laymen's terms:P

    Hello Everyone,
    I am working with the Green Grocery Newsletter Template, and I am trying to substitute the text.  As an example of my issue, when I highlight the title text and start typing, it turns blue, even though the text color box still shows green.  Actually, any text I try to replace turns blue!  If I try to change the color of my blue text, the text color box shows the new color, but the text on the template is of course, still blue.
    Please help:)! So frustrated and on a deadline.
    Thank you:)!
    Kindra

    Just wondering, when you pull up the inspector, is the writing that is coming up blue a hyperlink (when you click on it, will it take you to a web page or an e-mail)?

  • How to change text color in CS4

    Hey everyone. I know I'm not fluent in Dreamweaver, but had DW8 before upgrading to CS4 and I'm pretty handy with it. In version 8, if I wanted to change a text color, I simply highlighted the text and picked a color. No worries.
    However in CS4, I seem to be only have that ability in my CSS properties, (not HTML properties). Then when I try to change the color, it gives me a dialogue box asking questions such as "new CSS", "for this page only", etc. and I don't understand what I'm supposed to do.
    Can someone tell me in a user-friendly way (step-by-step), how to simply change a text color on a page? I went to the help topics and it said to use the 'color-picker', but that takes me back to my original problem.
    I'm either doing something terribly wrong, or ADOBE has made a simple task into brain surgery!
    Thanks in advance for assistance!
    Mark

    Beginning with CS3, DW became more compliant with W3C web standards which call for content (HTML) being separate from style (CSS).  Thus you now have two properties boxes: one for HTML content and another for CSS styles.
    Create a few CSS classes using the CSS style panel.
    CSS:
    .red {color: red}
    .blue {color: blue}
    .green {color: green}
    Highlight a word or sentence on your page and apply the appropriate class to your HTML.
    HTML:
    <p class="red"> this is red text</p>
    <p class="blue"> this is blue text with <span class="green">GREEN WORDS</span> in the middle</p>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • I need to change the color of the font in my Bookmark Toolbar. Unable to read all bookmarks.

    No longer have a question about editing the Bookmarks Toolbar. I may be dense, but I have not discovered how I may change the text (font) color when using View, Bookmarks, Custom. I see the capability to choose to use text and image, but not to change the color of the text. The ability to "bold" the text would probably be sufficient. I will revisit the Getting Started page and select other background colors to try and alleviate the problem. Persona or thema colors conflict with black text (for my older eyes - I have a vision problem.).

    You can make such a change with code in userChrome.css
    Add code to [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.<br />
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #personal-bookmarks .toolbarbutton-text {
    color: black !important;
    background-color: -moz-dialog !important;
    font-size: 11pt !important;
    font-weight: bold;
    </nowiki></pre>
    You can adjust the values or leave out things that you do not want to change.

  • How to change the color in "blocks" effect

    Hi,
    I've got a problem with Motion.
    I use a "behaviour" effect on my text that is called "blocks".
    When I set parameters to default, I see a blue effect with some red blocks in backgroud.
    I want to turn this effect into a green effect.
    The problem is that when I change the color into green, there is still a strange orange color on some blocks.
    I've added all the color parameters (face, shadow...)that I thought it could be due to but nothing changes. I still have this strange color on some blocks.
    The strangest thing is that it sometimes becomes ok when I make the changes but when I save and re-open my file in FCP or Motion, it isn't ok.
    Has anyone already used this effect and seen that problem?
    Thanks for your help...
    Sand
      Mac OS X (10.4)  
      Mac OS X (10.4)  

    Text behaviors work by sequencing the Text's parameters.
    Try changing the color of your text's outline.
    Select the Text tab in the Inspector
    Go to the Style sub tab
    change the Outline color to green
    Hope that helps.

  • How to change the color of Menu links in obiee

    Does anyone knows how to change the colors of Menu links in obiee. With menu I mean the menu links default right top (Search, homepage, Catalogus, Dashboards, new, Open). This should be set in skin and style files, not? I searched a lot. I could not find It. It is now Oracle blue, we want to change this.
    obiee 11.1.1.5.
    Thanks

    You have to customize portal banner and portal content CSS files as needed in OBIEE server.
    below links will guide u but will will not tell you exactly but your req can be done by customizing portal content and portal banner CSS files. try to identify the exact code using firebug in mozilla.
    http://www.rittmanmead.com/2009/04/customizing-obiee-dashboard-banners/
    Customization of login page, banner,logo in obiee11g
    Thanks
    Jay.

  • Is it possible to change the color of a layer of a Customs CSS from an External Style sheet?

    Hi,
    I have sucessfully link External .css  file to my HTML page and able to change the font size of the headlines and the paragraph.
    What I am not able to do is to ADD the color my Custom CSS from the External sheet.  I have difined the color attribute as a 'Advance'
    and gave it the same name "#bigwraper" that is has in my HTML file.
    Attached is the color outline of my 'Blank Layout' with colors?
    Thank you.
    Dreamer101.1

    Hi Murray,
    I am building a web site on which the entire content would be changed at least daily. The website would have similar design to www.Helium.com
    The page will have CCS layout boxes in which different content would  be pasted.
    To re-phrase my question:  I want to know how to change the color of a layer from an external style sheet?
    Because my home page 'Sidebar' and colors would be the same for all page, only the content of different pages would be different.  If I want to change a color of my web side pages, I need to learn how to do it in one spot through an External Style Sheet.
    I am amble to link my external style sheet and to change H1 tag and to give it different colors. But I was not sucess with change the color of a layer on which my content sits around.
    I took out the color from my HTML page and gave the same name to the layer in my External Style Sheet with the same color.
    Hope my question and the reason I was able to clarify.
    cheers,
    Dreamer101.1

  • How do I change the color on the task icon in my calendar?

    Hello!
    I just got a Blackberry Pearl 8110 and I want to take the most out of the calendar feature. I set so it shows my tasks in the calendar - I'm currently using the weekly view. The little icon/dash that shows up in my calendar to indicate the due date of my task is bright neon green and I can barely see it. Is there a way to change the color of that icon?
    Thanks so much!!

    I don't believe this is an option on a BlackBerry. You only have an option to change the appointment color on the calendar.
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

Maybe you are looking for

  • Sample application not running.

    Hi, I have downloaded sample application from Oracle website. Name of sample application is "Servlet Session Management Sample Application". But i got the following error. I have unlocked the OE schema used in this sample application. Any solution fo

  • Can it harm my Ipod touch if it was connected to my computer and Itunes while I'm installing a new program that makes lights flash on my computer?

    I was installing and I'm not sure why but the lights on my caps lock flashed without me touching it. Can that harm my Ipod? If installing a new program affected the usb drive can that harm my Ipod while it's connected?

  • Container operation type single

    hi all I am facing a problem. i have a BPM which has a block step-->Propertie mode=ForEach. inside this block i define some container operation type single whichs ones take some values. i need that the values of the containers elements update for eac

  • AUS : Why no TV show purchases on AppleTV 2nd Gen?

    Hi All, I have recently purchased an ATV2... My Apple TV (1st Gen) still shows a list of TV shows that can be purchased from iTunes, as does my iMac running iTunes 10.5.1. Why is it that my new Apple TV (2nd Gen) cannot?

  • SRWC 2.2 Hotdesking not working

    Hotdesking between Sun Ray DTUs gives me a black screen and the mouse pointer. My environment is as follows: SRSS 4.2 in kiosk mode using uttsc SRWC 2.2 Windows 2003 R2 Terminal Server Observations Hotdesking to the same DTU works (so pulling and re-