Save the roi in the image

Hello,
I want know how can i draw the line and the point selection and when i click in the button "save" the image preserve the line and the selection in the image and save it.
I can draw normally and I click save it saves perfectly, but when I click with the tool "Point" for the second time he brings me a message saying that the image format is invalid. But with the line tool I can draw and save again.
I wonder because it gives error and how can I make the selection tool to work.
I´m using development vision.
see the attachments.
Thanks.
Solved!
Go to Solution.
Attachments:
Labview.zip ‏83 KB

In the MergeOverlay VI there is an input for a source and a destination image.  You need to create a new image reference (RGB U32) to connect to the destination image.  Otherwise your original image is converted to an RGB image whether you want it to be or not.  The output of MergeOverlay is always RGB U32.  You then get an error when you are trying to use the IMAQ Magic Wand vi the second time (I'm guessing).
Randall Pursley

Similar Messages

  • Trim Down The ROI of an image

    Hello folks,
    i am working on a image processing project which involves template matching.
    Thanks to the guidance of the LabVIEW experts i have been able to complate the template matching and implement a state machine.
    i am trying restrict my Region Of Interest (ROI) of the image with which i will match the stored template.
    i have also enclosed the image. i wish that i can just select the face of the person by feeding  in the co- ordinates.
    As usual it is not working.
    Suggestions to improve the VI are welcome 
    Thanks in advance
    Jalashwa
    Attachments:
    image test.vi ‏72 KB
    DSC_0095.JPG ‏1964 KB

    As i wrote if the EXIF data is missing or incomplete then there isn't any information to be gotten from the image.
    regards
    BTW what EXIF viewer did you use? ExifTool by Phil Harvey is a very comprehensive tool for exploring digital images. It is a command line program and a bit intimidating at first but if there is anything to be gotten from the image it will find it.
    Message was edited by: Frank Caggiano

  • How can I configure the save page mode (to save DEFAULT WITH OR WITHOUT images and other dependencies in a folder)?

    I like it that I can save webpages with or without dependencies in a separated folder. And its implementation in Firefox (e.g. it remembers how I saved something before, and that way becomes the default) can also be good sometimes. But usually it is not.
    Usually I want to save pages as HTML-only. Sometimes, but only sometimes I have to save a page as a whole (I don't know the name of the feature). But after I save something with dependencies, I often forget that, and don't care about this option. Firefox, however, doesn't forget it, and saves thousands of unimportant images, until I notice it and switch it off again.
    This is not good.
    I tried Google Chrome, which simply don't remember how I saves something before, and always select the complete page option for default. It is exactly the opposite of the perfect solution (in my opinion). The best would be if the browser would save everything as HTML only, if I don't change it. Or it would be even better if I could configure it manually (turn this remembering feature on/off).
    This is not a beginner's problem, so it would be good if only a config option solved this. I imagine that already exists a config option for this, but I could not find it. I found only the "browser.download.save_converter_index" option, which depends on how I used it last time.
    Is there a config option for this? Or should I report this in the Firefox brainstorm page?
    Thank you for your time
    D. J. S.

    That choice is remembered in the Integer pref <b>browser.download.save_converter_index</b>
    0: Web Page, complete (default)
    1: Web Page, HTML only
    2: Text files
    If you want to reset that choice to HTML only on every start of Firefox then you can use this line in the file [http://kb.mozillazine.org/user.js_file user.js]
    <pre><nowiki>user_pref("browser.download.save_converter_index", 1);
    </nowiki></pre>
    See also http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • Lightroom 5 file edited in photoshop cc 2014 does not appear back next to original after save. Is anyone else having this issue? If so what is the fix.  The edited image appears back in lightroom in a new folder.

    Lightroom 5 file edited in photoshop cc 2014 does not appear back next to original after save. Is anyone else having this issue? If so what is the fix.  The edited image appears back in lightroom in a new folder.

    I'm performing a normal "Save", not "Save As". Work flow I'm using is as follows:  Select photo in Lightroom 5.7 >" Edit In" Photoshop CC 2014 > (after working on photo is PS) > Save > close PS. Photo returns to Lightroom 5.7 in a new folder rather than next to the original. Prior to purchasing the monthly plan and upgrading to PS CC 2014, I performed this same work flow using Lightroom 5.6 and Photoshop CS6 without any issues.
    Just for fun... I attempted to move the edited file back into the original folder. I received a prompt that said the file already existed in the original folder, however I can't see it except the new folder that LR created. I tried several different sort orders, etc without any success.
    *** Follow up: Was unable to resolve the issue using Photoshop CC 2014. Uninstalled PS CC 2014 and went back to using Photoshop CS6. Return trips from LR 5.7 to Photoshop is now performing as it should: returning edited photo back to the original folder in LR 5 and placing next to the original image.
    Should anyone have a suggestion on getting Photoshop CC 2014 to do the same, I would love to be educated.
    Thanks for the help, dj_paige.

  • Is it possible to save the adjusted virtual copy image and discard the original?

    I have made a virtual copy of an image which I then adjusted in LR to the way I want to keep it. Now I am wondering either if there is a way to apply those adjustments easily to the original so I can then discard the virtual copy, or should I save the virtual copy and delete the original? I just don't need two images, one which is not a keeper. I also don't want to delete the original if the virtual copy depends upon its existence.
    I want to keep images down to the one's I want and am working to delete those images which I will never use. Whichever is the best way to handle the above situation will enable me to do some much needed housekeeping to my catalog.
    TIA,
    Ken

    You guys are pretty slick, no two ways about it. I think I'm learning Lightroom, but I'm just happy with it helping in my own situation. Some of you have far-reaching understanding of this wonderful program. Lightroom is a 'must' as I see it.
    Ian, I've tried your method, as it seems easiest and most direct, I selected the VC and chose the menu item 'make copy original' and it did a 'conversion' or so it looked like, but the images still say 1 of 2 for the original with no modifications and 2 of 2 for the cropped and adjusted version. I am skeerd to delete the '1 of 2' version which I believe 'was' the original version before I chose the menu item. Now I'm not sure what I have.
    Hal P Anderson, I tried your method and it did transfer the settings but not the crop, which I can understand why. I re-cropped the 1 of 2 to match the 2 of 2 version which is the virtual copy, and then selected the virtual copy and hit delete - the dialog box confirmed I was deleting the VC by asking if I wanted to delete this virtual copy. I felt more comfortable with that arrangement and now I'm sans VC with the original possessing the new settings.
    Thanks to you both,
    Ken

  • With JDIC WebBrowser, how to save the content as an image ?

    I wonder if there is a way to save the WebBrowser's content (Html page with graphics) into a *.png image file ? The html page may span several screens, if I do a screen shot, I can only get the top part which I can see, but will miss the off screen contents. What I mean is : if the page is 900(W) x 3500(H) pixels, how to ask my java program to take a screen shot which can get the whole image of the WebBrowser content, including those off the bottom of the screen ?
    I was able to do this with the following method for JComponent
      public static BufferedImage Get_JComponent_Image(JComponent J_Component,Rectangle region) throws IOException   // Create a BufferedImage for Swing components. All or part of the component can be captured to an image.
       /* @param J_Component Swing component to create image from
        * @param region The region of the component to be captured to an image
        * @return image the image for the given region
        * @exception IOException if an error occurs during writing
        boolean opaqueValue=J_Component.isOpaque();
        J_Component.setOpaque(true);
        BufferedImage image=new BufferedImage(region==null?J_Component.getWidth():region.width,region==null?J_Component.getHeight():region.height,BufferedImage.TYPE_INT_RGB);
        Graphics2D g2d=image.createGraphics();
        g2d.setClip(region);
        J_Component.paint(g2d);
        g2d.dispose();
        J_Component.setOpaque(opaqueValue);
        return image;
      }So I tried to modify this method to work for Component (since WebBrowser is a sub-class of it), I got black screen with the following modified method :
      public static BufferedImage Get_Component_Image(Component A_Component,Rectangle region) throws IOException   // Create a BufferedImage for Swing components. All or part of the component can be captured to an image.
       /* @param A_Component AWT component to create image from
        * @param region The region of the component to be captured to an image
        * @return image the image for the given region
        * @exception IOException if an error occurs during writing
        boolean opaqueValue=A_Component.isOpaque();
        Out("opaqueValue="+opaqueValue);
    //    A_Component.setOpaque(true);
        BufferedImage image=new BufferedImage(region==null?A_Component.getWidth():region.width,region==null?A_Component.getHeight():region.height,BufferedImage.TYPE_INT_RGB);
        Graphics2D g2d=image.createGraphics();
        g2d.setClip(region);
        A_Component.paint(g2d);
        g2d.dispose();
    //    A_Component.setOpaque(opaqueValue);
        return image;
      }Can anyone tell me what I did wrong ? Thanks.
    Frank

    Hi,
    Even im looking for the same thing. I tried createImage on the panel but its giving me a blank screenshot, which i presume does not works on the embedded IE area and gives the blank screenshot of the jPanel behind it.
    Kindly post any solution you might have come up with.
    Thanx

  • When clicking "Save image as" how can I get Firefox to auto add a (1) (2) etc at the end of the filename if an image with the same filename already exists?

    How can I get Firefox to automatically rename images when clicking "Save image as" on the menu, when an image with the same file name already exists in the folder??

    Hello,
    That is not a feature that is supported natively within Firefox but there are various add-ons which I think will do the job you need.
    The one I have used is [https://addons.mozilla.org/en-US/firefox/addon/web-slide-show/?src=search Web Slide Show]. This is primarily an add-on for viewing a slideshow of images when they are presented as thumbnails on a web page. However once you are in the slideshow there is a download button which will download all the images in the slideshow. It will automatically rename the images if an image with the same name already exists in the folder.
    If you don't like that add-on then here are some others that may do the same job:
    * [https://addons.mozilla.org/en-US/firefox/addon/image-download-%E2%85%B1/?src=search Image Download II]
    * [https://addons.mozilla.org/En-us/firefox/addon/image-picker/ Image Picker]
    I hope that helps. Let me know if not.
    Also I notice that you are using Firefox v23. That is now an outdated version. To get the latest security updates I suggest updating to version 24. See the support article here: [[Update Firefox to the latest version]].

  • Why are some jpg images scrambled when they appear in my screen saver?   The same images look fine in Preview and Finder.  Some images appear scrambled in the screen saver 'preview' window and the actual screen saver. Other jpg images look fine.

    Why are some jpg images scrambled when they appear in my screen saver?   The same images look fine in Preview and Finder.  Some images appear scrambled in the screen saver 'preview' window and the actual screen saver. Other jpg images look fine.

    The desktop image is fine, taken from the exact same pool of jpg photos.  However, as soon as the slide show screen saver comes on, the images are scrambled.  What is it about the apple screen saver algorithm that scrambles the pics?

  • When i put firefox in offline mode, and then click on pages saved in history , it can't load any pages or any images. i put cach size to 250mb but the problem is the same, it saves history for two months, but can't load pages.

    when i put firefox in offline mode, and then click on pages saved in history , it can't load any pages or any images. i put cach size to 250mb but the problem is the same, it saves history for two months, but can't load pages.

    Hi there,
    When I inspect your site in browser tools, I'm getting 404 errors from your page:
    [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery-2.0.3.min.map, line 0)
    [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (edge.4.0.0.min.map, line 0)
    BarnardosIreland wrote:
    I would have thought that publishing should give a complete package that doesn't need any further edits to the code and can just be directly ftp'ed to the web - is this correct?
    In general, you are correct - but also your server does need to be properly configured (and those errors above lead me to think it may not be) to serve the file types that your uploading - but it could be something else entirely. Can you zip up your composition folder, upload it to your Creative Cloud files, set it to share, and then post a link here so I can download it? If you'd rather not share it publicly, can you PM me with a link to your composition files?
    Thanks,
    Joe

  • Why can't I save an image off the net into the folder of my choice?

    I've used a PC all my life until two days ago when I bought my MacBook. I absolutely love it, but there are a few PC/Mac differences bugging me, and one of them is what I'm asking you all about:
    When I save an image off the internet and the pop-up asks me where to save it, it suggests only a few folders for me and I can't choose the folder I actually want to save the image in. Is there any way to change this? No one else seems to have asked about this on here before, but I hope someone can help me out.

    Ah, it's so simple! Thank you.

  • Save as SVG degrading the embedded raster images

    I would like to know if the following issue is a bug:
    I have a file that contains a background raster image (embedded JPEG) and few vector graphics objects drawn on top of it.
    After I save this file as pure SVG (no AI information, so I don't check the Preserve Illustrator Editing Capabilities check box ), I notice a slight degradation of the raster image (for instance, the image border pixels look like being interpolated with the white background). If I save this SVG as an AI file (and no compression), and repeat the Save as SVG, the image degrades even more. So, with each iteration AI -> pure SVG -> AI, the background embedded raster image (JPEG) looks worse and worse.
    I use AI CS3 13.0.2.
    Thanks,
    Matei

    Matei, temp,
    There is a wellknown issue of degrading JPEGs every time they are reinterpreted.
    Therefore, JPEGs should always be kept and used unaltered, if possible.
    And then there is the alignment issue:
    >(for instance, the image border pixels look like being interpolated with the white background).
    Have you made sure that the JPEGs are aligned with the pixels of the Artboard before saving?

  • What's the fix for "missing (image) files" that won't save?

    I keep re-entering some images on my iWeb site & save them, only to find them "missing"????
    Help!   Thanks.
    Sunny

    How are you adding the images to iWeb - dragging them onto the page or onto a Photo template?
    Where are they missing from - the published website? If so, try publishing to a local folder...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    ... and launch the site in the browser by double clicking the index.html file. Are the images still missing?

  • Why does the quality of my images change after I click on Save For Web?

    After I click on "Save For Web" the quality of my images changes, how can I stop this?
    I use photoshop CC on a macbook.
    Thanks in advance!
    Bo

    Good day!
    Could you please post screenshots to illustrate the issue?
    Regards,
    Pfaffenbichler

  • 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

  • I uploaded and edited my RAW image, clicked 'Save As', and changed the file type from .psed to .jpg.

    I edited my raw image in Photoshop CS6, selected 'Save As', and changed the file type from .psed to .jpg. I also selected 12 and large file when the window popped up, concluding my 'saving as'. My computer does not recognize the file type and won't open them. Can someone help me? Thanks!

    When naming files, stick to the letters of the ENGLISH alphabet, numbers and underscores.  Do not use illegal characters like apostrophes, commas, asterisks, ampersands, hatch or pound signs, diacritics or accented characters, slashes, etc.
    While the period (dot) is not an illegal character per se, your file names should have only one period and that should always be followed by the file type extension.
    EDITED typo: se
    Message was edited by: station_two

Maybe you are looking for

  • Editing tags in code view

    im relatively new to dw 8 and have a problem. in split vied or code view I cant edit change or remove tags. ie if i want to remove a <font> tag. i can highlight it in the code view window but if i try to cut nothing happens. Im sure i just have a set

  • Can't open iwork or any documents

    Can't open Keynote, Pages or Numbers...or any of my documents...they now say they are in the incorrect format, says the file might be corrupted, truncated, or in an unexpected format. Help??!

  • Are there compatibility issues with 1st gen I pad and new wireless printers?

    Need to replace HP printer being used with 1st Gen I Pad.  Are there any compatibility issues with new wireless printers?

  • Text symbols displaying wrongly

    Hello Experts..    I had created a zprogram . In that i want text symbols . so i created a text symbols ie text-001 and text-002. in the text elements screen i entered date and material for this text symbols. But in the output it is displaying item d

  • Eye Diagram using Labview version 8.6 and Digitizer 5922

    I am trying to implement an eye diagram for some analysis. I have Labview version 8.6 and NI PXI Digitizer 5922. Is it possible to do some eye diagram analysis using this hardware/software. Do I need a specific toolkit for this?