How to segment red target in a image and caculate the L*a*b* value

hello, 
Anyone can tell me how to segment a color image? This image contains red、white and black background. 
I want the red and white parts, and caculate each parts' L*a*b* value. 
Thank you very much. 
rex

Sounds like maybe you don't have Image Toolbox?
Attached is a VI to convert RGB to Lab.  IIRC, I think there is no one correct answer for conversion to Lab so check the formula.
To do your segmentation without the toolbox, unflatten the image cluster and decompose the RGB array into separate 2D arrays (R, G, B).  Threshold your red areas by finding pixels with high R and low G and B.  Find white by finding pixels with R, G, and B values all high. 
Attachments:
RGB2Lab.vi ‏9 KB

Similar Messages

  • How to draw an ROI on an image and have the color to be transparent?

    Hello,
    I am using an ROI contour on a displayed image of my program and i want to programmatically change the color of it to transparrent.
    I am using the property node and i bundle in the red green and blue values, however it does not accept the colorbox to change it to transparrent.
    Do you know if there is any way to do this?
    The result should be to draw an ROI and just have it invisible.
    Thanks,
    Christos

    Hello Christina, thanks for your response.
    These methods are
    known to me, however, when you create a Display and then a property
    node for the ROI contour color, the input of it takes only 8bit RGB
    color. I couldn't find any node that takes the alpha, or the
    transparent value.
    Let me know if you have a more specific solution in mind to solve this problem.
    Currently i believe that the Labview code for the ROI contour is insufficient.
    Thank you,
    Christos

  • How to upload the image and diplay the image in the browser using jsp

    How to upload the image and diplay the image in the browser using jsp
    thanks
    shan

    i'll suggest looking for sample code or tutorial with a relevant query in google, which as far more time than us to answer this type of reccurent question

  • How can I view information about an image, such as the file name and exposure,  on the Ipad?

    how can I view information about an image, such as the file name and exposure,  on the Ipad?

    You can't with the built-in Photos app, but there are apps such as iPhoto which allow you to see the exposure details (aperture, shutter speed, focal length, ISO). PhotoMeta also shows you that info

  • Photos in album are only a hash-marked outline the image only shows when scrolling how can I see the image and open the photo?

    Photos in iPhoto album are only a hash-marked outline the image only shows when scrolling how can I see the image and open the photo?

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • How to compare two images and display the difference on Front Panel

    HI..
    I have attached two images.
    I want to compare these two images and subtract the differenc from these two images and display the difference(the mouse) on the front panel
    Anyone can help me?
    Really thanks
    Attachments:
    IMG_2117.JPG ‏1677 KB
    IMG_2118.JPG ‏1650 KB

    The missing thing. You have to keep in mind that what you see is not the same as the camera sees.
    So when using IMAQ Substract it gives you the difference of the value of every single pixel!
    In order to find the mouse as only difference you have to manage that every other pixel value stays the same, e.g. with a proper lightening.
    At the other hand you can combine different filters or alogorithms to get the object, e.g. if the object is darker or brighter then everything else in the image you could use a threshold and then use morphologic operations to get the objects size and position.
    Christian

  • How do I extract email from a form and send the PDF to that user?

    How do I extract email from a form and send the PDF to that user?

    here you can add email to send to, CC, Subject, and body message
    var oDoc = event.target;
                        oDoc.mailDoc({
                                                                bUI: false,
                                                                cTo: "Agency Contact Email",
                                                                cCC: "",
                                                                cSubject: "Write your title here,
                                                                cMsg: "Dear" + AgencyContact + "(" + AgencyContactEmail + ")\nThe student, " + FirstName + " " + LastName + " has applied to work at your agency. Please confirm they can work here blah blah blah.......\n\nThanks.\n\nrespectuflly,\n\nme"

  • Downloads Low resolution images and not the high resolution as it did in 08

    'm using iPhoto '09 , unfortunately iPhoto only downloads the low res images and not the high resolution images. This makes it pretty much worthless, since the low resolution images are really bad in iPhoto. There was not any problems with Iphoto in the past Thank You

    What do you mean by "downloading"? There are a couple of ways to get image file out of iPhoto:
    1 - select the thumbnails and drag them to the desktop. This will give you copies of the latest version of each photo.
    2 - select the thumbnails, use the File->Export->File Export menu option. Depending on how you configure the export you will get the original, the latest version and/or a reduced size copy that you determine.
    3 - select thumbnails and use the Share->Send to DVD. This produces a mini library of the photos you've selected which include the original files, thumbnail files and any modified/edited file. This method is intended for use on computers that are running iPhoto.
    Which method are you using?

  • My mac space was full, and i noticed that i had 10,000 images, so i deleted all of my images and emptied the trash, now i they don't appear on iphoto or anywhere, is there anyway i could get all of those images back so i can then store them in a device?

    my mac space was full, and i noticed that i had 10,000 images, so i deleted all of my images and emptied the trash, now i they don't appear on iphoto or anywhere, is there anyway i could get all of those images back so i can then store them in a device?

    yes, its the macbook air and mac OS X 10.7.4, not sure how that goes, about the time machine and time capsule, i only started using it today, when they were already deleted, also read at the support and help of iphoto, that if you delete your images from the picture folder that the images will be corrupted permanently, does this mean there there is no actual way of getting them back?
    Thanks for the help x

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • When I listen to music on Apple TV 2 my pictures from iPhoto come in, but always the same album (which I nevr asked for), always in random order and always in a different format. How can I control what is going on and choose the album myself.

    When I listen to music on Apple TV 2 my pictures from iPhoto come in aafter about ten minutes, but always the same album (which I never asked for), always in random order and always in a different format. How can I choose a different album myself and control the order and format?

    Thank you Winston for a helpful response and for reminding me of something which I found nearly a year ago and then lost (in my mind) because I did not use it. I am grateful for a correct answer but it still only achieves part of what I wanted.
    I can now choose my photos, decide how long they stay on screen and choose one of a variety of presentations. Two things I still can't do.
    One is to get it to play the photos in the chronological order in which I have carefully set them in an album; it still tends to be random and repetitive. The other is that I cannot get any of them them to saty on screen for more than about 20 seconds. I guess this is all due to the way Apple TV is constructed.
    But still thanks, nevertheless.
    Alec

  • How can I purchase an iTunes card online and get the code online to purchase apps.

    How can I purchase an iTunes card online and get the code online to purchase apps.

    iTunes Gift Options
    http://support.apple.com/kb/HT2736

  • How do I create an Lightroom HTML Gallery and preserve the - in the file name?

    How do I create an Lightroom HTML Gallery and preserve the - in the file name?
    The hyphen (-) is more search engine friendly, so I label all my photos using hyphens (-) to separate the keywords in the file name
    Here's a sample file name - it's for the "Guess Where Berkeley" flickr site
    guess-where-berkeley-serkes-xx-s-curve.jpg
    I created a Lightroom HTML Gallery and posted it to the following link.
    http://www.berkeleyhomes.com/tests/lightroom/lightroom-test-1/
    Though it looksl like the HML gallery shows the original file name in the web page, it looks like Adobe Lightroom modified each photo's file name by changing the - (hyphen) to an underscore (_)
    Originally
    guess-where-berkeley-serkes-xx-s-curve.jpg
    After Adobe created the HTML photo gallery the name became
    guess_where_berkeley_serkes_xx_s_curve.jpg
    Is there any way to preserve the – rather than the _ character
    Thank you!
    Ira Serkes

    InDesign's interactive PDF support is a small subset of what you can do in Acrobat Profesional.
    I think you probably want to create a button (or change an existing button) in Acrobat Pro that causes Acrobat to close the document -- that should be analagous to "exitting the CD." I assume your autorun file is opening the PDF in Adobe Reader? You have not included it and are not specific, so it is tough to say.
    I believe in Acrobat Javascript you can close the document with this.closeDoc(). You'll probaly need to ask on the Acrobat forums (possiby Acrobat Scripting) for more detail.

  • HT1229 How do you transfer photos to external backup and keep the photos in events with event name or with description name. Each time I have tried to transfer them they only transfer with a jpg number so you don't know what photos are what.

    How do you transfer photos to external backup and keep the photos in events with event name or with description name. Each time I have tried to transfer them they only transfer with a jpg number so you don't know what photos are what. When you have several thousand photos it is difficult to determined what is what.
    Why does iPhoto have the ability to put photos in events and to give them descriptions if it doesn't transfer this info with the photo. I want to back my photos up to an external drive.

    The simplest way to achieve what you want is to back up the iPhoto Library. That will get everything.
    You sem to be exporting from iPhoto to the Finder. The Finder does not have the same organisation capabilities as iPhoto. If you're going to do that you need to understand some of the differences between the two.
    Event Name will become  Folder Name.
    'Description Name' I guess is the Title you give the Photo
    Jpeg Number is the File Name assigned by your camera.
    So: File -> Export
    Set your Kind to Jpeg
    Select your preferred Quality
    Check the Boxes at 'Titles and Descriptions' and Location Information
    Under FIlename select 'Use Title'
    Click on Export. In the Next Window choose a New Folder as your export destination and then Name that as you prefer
    Regards
    TD

  • I am using a PC and when I try to download an ebook, I get a pop up prompt with the message `Error! Check Activation` - how to resolve this so I can download and view the ebook, thank you

    I am using a PC and when I try to download an ebook, I get a pop up prompt with the message `Error! Check Activation` - how to resolve this so I can download and view the ebook, thank you

    Hi Ablondel24,
    I understand that you are getting a 404 message when you access a website from a Mac, not a PC.
    First check the cache for the site:
    Reload the webpage while bypassing the cache using '''one''' of the following steps:
    *Hold down the ''Shift'' key and click the ''Reload'' button with a left click.
    OR
    *Press ''Command'' + ''Shift'' + ''R'' (Mac)
    Second try to [[Delete cookies to remove the information websites have stored on your computer]]
    Let us know if this solves the issues you are having.

Maybe you are looking for

  • How do I delete my i-cloud account without deleting Pages documents?

    Hi! I am currently in panic mode.  In a way, my problem is four or five-fold.  My I-pad is only charging now and then.  So it has suddenly become urgent for me to back-up all my stuff.  I don't sync with another computer.  I only have the i-pad. So I

  • Pie chart drop shadows not printing properly.. cuts off right hand side of pie chart...???

    Every time I go to print a pie chart that has a drop shadow applied to it, it cuts off the right hand side of the chart along with the shadow itself.  It looks HORRIBLE!!!  I went through and created a bunch of reports using that method, and now ALL

  • How to debug ACE FT Sync Problems ?

    Hello, in one of our contexts we have a sync problem on the standby unit. "sh ft group detail" gives "Running cfg sync status : Error on Standby device when applying configuration file replicated from active", while "Startup cfg sync status" is OK. "

  • A Swing GUI problem.

    There are a JTextfield for entering an integer, a JButton that can be used to square the integer, and another Textfield to show the result. Two questions: 1) After typing the integer, I want to enter Enter-key to get the result, instead of pressing t

  • 'Acc.dep. accnt.for ordinary depreciation' could not found for are 15

    Hi Sap Gurus, I am trying to Run Depreciation for the month of March 2010 with group asset. I have created group asset and normal asset and in the normal asset, i have maintained group asset and for both assets i maintained values in AS92&as82. But w