Color image with LabView6

I'm using LabVIEW6i Professional Development System and upgraded to LabVIEW6.0.2. When I open the build in IMAQ example codes, the example can't excute and always search the lib file. I cannot find the example code from LabVBIEW:
National Instruments\LabVIEW\examples\2. Functions\Color
- Color Distance.llb
- ColorLearn Example.vi
- ColorMatching Example.llb
also. It displays an error message about insert the CD. Which CD should I insert?
Can I create color histogram for an image or video with LabVIEW6.0.2 version? Besides, I do not have IMAQ device. Can I use the *.lib of IMAQ in my program? Please help. Thank you.

Hello,
Those shipping examples are installed with the IMAQ Vision Development Module. Do you have that software installed? If so, try uninstalling it and then reinstalling it. During installation, be sure to select to install support for LabVIEW 6.
If that software is not currently installed, then you will need to install it before those examples will be available. Those examples will not necessarily require that you have an IMAQ device. They can be used with image files as well. Either way, you will still need the Vision Development Module.
If you have not installed the software, try doing so. If you already have it, try uninstalling and reinstalling it.
Please let me know if you have any additional questions on this issue.
Regards,
Scott R.
Applications Engineer
National Instruments

Similar Messages

  • How would you replace a solid color image with a gradient?

    I am trying to figure out what I am even trying to ask, so I can search the appropriate terms, but basically I am trying to get the texture with the white background on the left to have the color replaced with the gradient on the right.  Seems simple, but I can't figure it out.

    Hi  FloridaLegend, this is an adjustment layer grouped to the image (so you keep the original sourced image). This way you always have the original artwork you can go back to.
    I added a b&w adjustment layer so you don't get the blue coming through, then I grouped to the layer (Ctrl+Alt+G) then added the blend to the layer above.
    Here are some screenshots that should help:

  • Export Problem with Color Image Washing Out

    I did an export of an image from DNG to JPG in LR4. Funny thing is, the JPG suddenly appears with a washed out look. It looks the same in Develop and Print modules also.
    It gets even funnier, because when I use Finder to check the photo, the preview of the image is fine. I also opened the image from Finder in Photoshop CS5 and it is fine there. I also opened the image in PSCS5 from LR4 with "Edit In" and again the image in Photoshop is fine. So this appears to be a view issue in LR4. I did not print out the washed out photo but I suspect it would print out as it appears in LR4.
    I've done some other image exports from DNG to JPG with other images and they do not have this problem but those were black&white converted images. However, I did check doing an export of another color image with the same result as the problem image. Here are screen captures of the DNG and the exported JPG (I was going to upload the exported JPG, but like I said it appears fine in Finder):

    My monitor calibration is just fine. I was saying that because similar
    problems are almost always due to bad monitor profiles. If you calibrate
    regularly using hardware calibration then you're probably fine. Many people
    use canned profiles from monitor manufacturers however and lightroom is
    highly sensitive to those and shows messed up color depending on the
    source. In this case however, since the restart fixed it it was likely a
    bad preview image. I have seen before that LR sometimes is lazy in
    refreshing those and can show you strange results that only get cleared up
    by forcing a preview refresh.
    Last your top screenshot DOES show that you are pushing the red in that
    dress out of the monitor gamut. You can check this in the soft proof in LR
    4 by turning on the monitor gamut warning. If you blow the color out of the
    monitor gamut the preview is no going to be accurate no matter how good
    your calibration. Just a cautionary warning.
    Sent from my iPhone

  • Bridge displays color images as b&w

    I assume this has something to do with settings in Bridge CS4, my platform is MacBook Pro OS 6.8.10.
    This question might confuse some people. To beging with, I do shoot my images in RAW files, I even have Bridge convert them to DNG files.
    Upon download the images are displayed in color as they should be for RAW files. After editing images in Camera RAW,  I convert most all images to sRGB. When some of those edited images come back to Bridge, they might be presented in B&W, though no color is lost to the file upon displaying in Photoshop, and I did not edit the file to be a B&W image. I have DNG, Canon RAW, Tif and Jpeg files, and most of these are displayed in color, but some are not, and I have not figured out the missing link just yet. So to be clear, I have Jpeg color images, displaying as b&w images, but they are color images. Only b&w images should be displayed as b&w.
    This problems started once I learned I could edit one image in photoshop out of a series of images, then after editing, i could bring the single photo file back to bridge, and then copy/paste image settings onto a groups of images in Bridge, and all those images would then have the same adjustments made to them as a batch edit adjustment.
    But now sometimes I get a B&W display on some images even when I do not apply a Bridge settings edits, and when I never edited the image for a B&W display.  I has to a setting somewhere in Bridge, and I just have not figured it out yet.
    Thanks in advance for all suggestions:

    ssprengel wrote:
    Yammer asked a pertinent question that remains unanswered—is that “settings” badge (small lines-triangles-in-a-circle) shown on the B/W image thumbnails (at least).  If you’re not sure, then include a screenshot of a few Bridge thumbnails where some are color and some are B/W, using the little camera icon on the web version of the forum messages.
    And the answer is NO!. I only have those showing up associated with the .DNG files (Camera RAW)
    Another similar question would be if you see a B/W thumbnail in Bridge, try doing a right-click (or whatever the Mac equivalent is) and choose Open in Camera Raw.  Is the image in B/W or color in Camera Raw.
    A <Control Click> (on MAC), opens the .jpeg file in b&w, as shown in the thumbnail.
    Can you upload three versions of one of the images that display as B/W:  the original PSD/raw/TIF file, a normal Save As JPG that is in color, and a Save For Web JPG that is B/W?  Use something like http://www.dropbox.com/ and post a public download link to the images, here.
    NO, I thought I explained that real well. Only the .jpeg file that was saved through the "Save for Web" processing ( that is, the a jpeg the goes through greater compression to reduce image file size for web display), is the image file process that produces the b&w thumbnail in Bridge ONLY. All opened images, of various file formats (ie: DNG, Psd, Tif, Jpeg, & Jpeg for Web), all present Color presentations (for editing in Photoshop, and or in display browsers). It is only the thumbnail of that particular jpeg formatting processing for Web Images that produces the b&w image "THUMBNAIL" in Bridge.
    When you Save As JPG or For Web, are you ever overwriting the original image with a new one or do you always save the PS-edited image with a new name?
    No, never. I leave my RAW files, as RAW originals, and work on newly names images files.
    A theory about what is happening is that Bridge uses Camera Raw to generate its thumbnails, and the images that are B/W have some embedded Camera Raw setting, perhaps pasted from a different filetype, that makes CR think the image should be rendered as B/W, but when you open the images on Photoshop, you are opening them directly, without using the Camera Raw plug-in, so any embedded settings are ignored, and the image displays in its original state without the settings having been applied.
    It makes since, (what you are saying), and it certainly does respond in that fashion. Your suggestion to open Ctrl Click, or Right Click to open the thumbnail in Camera RAW, was an interesting test, and the response was to open the previously save color image with a b&w thumbnail, into Camera RAW as a b&w image. So Camera RAW is responding to what is in the xmp settings that describes this images thumbnail to be displayed b&w. It is weird that a browser does not.
    As to what is in the window selections for the "Save for Web" editing windows, Presets for jpeg are :
    Progressive
    Optimize
    Embed Color Profile
    And I use Embed Color Profile.
    Even the Preview button at the bottom of the window, shows the color image as displaying color.
    I vaguely remember about a year ago doing some CS 4 Photoshop and Bridge web tutorials from an unnamed tutoring website and guy named D_k_ . It is his fault. Just kidding, I actually enjoy those tutorial.
    **** Okay, this is perhaps originating from Camera RAW presets, where you can apply previously made settings to other images and then saved them as Presets. Though I don't have this checked in Camera RAW ( still something goofy is going on there), I did find that in Bridge I can reset the individual "saved for Web" image thumbnail back to the the color image by :
    Right Click  (Ctrl Click, MAC) on the thumbnail
    menu down to the "Development Settings" and select :
    "Previous Conversion", and this presents the color thumbnail.
    I have now tested all the Camera RAW settings in Camera RAW, by opening an image in each one of these :
    Image Settings
    Camera RAW Defaults
    Previous Conversion
    Custom Settings
    and then reducing image file size, and saving for the web, while changing file name, and each and every one of these Settings produces a Sepia Toned thumbnail. I found out the images were a subtle Sepia Toned image by enlarging the Bridge Thumbnails bigger for a better view. So I can correct the thumbnail after it has been created, but so far, I can't get the thumbnail to be correct on first creation of the web saved jpeg image file. Regular jpeg image file thumbnails save correctly.

  • Color printing with high resolution in smartforms

    Hello colleagues...
    I need to print color images with True-color resolution, but in Form Graphics Administrator ( transaction SE78 ) I can only upload pictures with extension TIFF and BMP, and with resolution 24-bit maximum.
    With this resolution, the quality of colors will not be optimal because is distorted from original.
    This printing we need for labels that have pantone code of colors, that should not be changed to any similar tones.
    Does anybody knows how can I print true color pics with smartforms without reducing image quality?
    Or exist any other tool in SAP for printing with high quality?
    thanks in advance,
    Ibrahim Andres.

    You can upload TrueColor 24 bit Bitmaps into SE78, but SE78 converts them to 256 color images, that's why you see reduces quality when the image is printed. I think it's not possible to print images higher than 256 colors using existing smartform technology.
    Regards
    Sridhar

  • Indesign issues. Impossible to fill a form created by the pen either with color either with an image. The image is there but is invisible. Same problem with the line (impossible to color it or to change the tickness. Is there anything to change in the pre

    I have recently installed Indesign CC (I had the CS 5.5). I have some issues in doing simple things such as fill in a forma created with the pen either with a color either with an image. The image is there but is invisible. same issue when I want to draw a line. Impossible to color the line  and when I increased the thickness, it was creating a sort of wrap around the shape. have you ever encountered this kind of issue ? Thanking the community for his help.

    You will probably get better help in InDesign
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How to get a .tif image with n different colors?

    Hi..i want to know how can i get a .tif image colored by some colors. I want to do something like this:
    if(tifImage.pixel < 0.1) {
    tifImage.pixel = yellow;
    else if( 0.1 <= tifImage.pixel && tifImage.pixel <0.5){
    tifImage.pixel = red;
    up to n colors.
    I prove the next code, but it is not getting the colors i want.
    public void generateImage(BufferedImage bi,double alto,double medio,String output){
              int width = bi.getWidth(); // Dimensions of the image
              int height = bi.getHeight();
              // Some constant colors (as arrays of integers).
              int[] red = {255, 0, 0};
              int[] green = {  0,255,  0};
              //int[] blue = {  0,  0,255};
              int[] yellow = {255,255, 0};
              //int[] background = { 85, 85, 85};
              int[] background = { 255, 255, 255};
              // The original image data will be stored on this array.
              int[][][] imageData = new int[width][height][3];
              // We'll fill the array with a test pattern bars thingie.
              double[] pixelArray=null;
              for(int w=0;w<width;w++)
                   for(int h=0;h<height;h++)
                        if(bi.getRaster().getPixel(w,h,pixelArray)[0]>=9000){
                             //lo dejo blanco
                             imageData[w][h] = background;
                        else if(bi.getRaster().getPixel(w,h,pixelArray)[0]>=alto){
                             //lo dejo rojo
                             imageData[w][h] = red;
                        else if(bi.getRaster().getPixel(w,h,pixelArray)[0]>=medio){
                             //lo dejo amarillo
                             imageData[w][h] = yellow;
                        else{
                             //lo dejo verde
                             imageData[w][h] = green;
              // Now we have a color image in a three-dimensional array, where the
              // third dimension corresponds to the RGB components.
              // Convert the color image to a single array. First we allocate the
              // array.
              // Note that this array will have the pixel values composed on it, i.e.
              // each R,G and B components will yield a single int value.
              byte[] imageDataSingleArray = new byte[width*height*3];
              int count = 0;
              // It is important to have the height/width order here !
              for(int h=0;h<height;h++)
                   for(int w=0;w<width;w++)
                        // Rearrange the data in a single array. Note we revert RGB, I still don't
                        // know why.
                        imageDataSingleArray[count+0] = (byte)imageData[w][h][2];
                        imageDataSingleArray[count+1] = (byte)imageData[w][h][1];
                        imageDataSingleArray[count+2] = (byte)imageData[w][h][0];
                        count += 3;
              // Create a Data Buffer from the values on the single image array.
              DataBufferByte dbuffer = new DataBufferByte(imageDataSingleArray,width*height*3);
              // Create an pixel interleaved data sample model.
              SampleModel sampleModel =
                   RasterFactory.
                   createPixelInterleavedSampleModel(DataBuffer.TYPE_BYTE,
                             width,height,3);
              // Create a compatible ColorModel.
              ColorModel colorModel = PlanarImage.createColorModel(sampleModel);
              // Create a WritableRaster.
              WritableRaster raster = RasterFactory.createWritableRaster(sampleModel,dbuffer,new Point(0,0));
              // Create a TiledImage using the SampleModel.
              TiledImage tiledImage = new TiledImage(0,0,width,height,0,0,sampleModel,colorModel);
              // Set the data of the tiled image to be the raster.
              tiledImage.setData(raster);
              // Save the image on a file.
              JAI.create("filestore",tiledImage,output,"TIFF");
    Thanks

    I tried that. When I open one image and set the exposure, then go to open the second image, nothing happens. I then saved one image as a psd file, then it would let me open the raw file a second time. When I had both open on the same screen and dragged the layer from one into another image, the layer size ended up being different than the other file. It was shifted down and to the left. I need these images to be pixel locked, and the user experience I went through did not allow me to do this.
    I also do not see a way to copy/paste layers between files.

  • Image with transparent background changes surrounding fill color when PMS...

    Hello.
    I have a .PSD image I'm using in InDesign CS3. It's a greyscale image with a transparent background. When I bring it into InDesign and set the background color of the image box to a Pantone and then print it, the PMS color within the area of the .PSD image size changes color compared to the rest of the page. But, when the same document is printed, but with "All Spot to Process" via the Ink Manager, the page prints fine. I get the same results on a number of different Canon and Xerox proofing printers. I have uploaded a PDF to my web server showing an example of the results I'm getting the PDF can be found here:
    http://theboyk.net/temp/PMSvsCMYK.pdf
    The first page is the document printed normally. You can see the color change in the green (Pantone Green). The second page is the same document printed with "All Spot to Process" via Ink Manager.
    Does anyone know why this happens when I leave it as printing a spot color?
    Any advice would be appreciated!
    Thanks,
    Kristin.

    I totally forgot to put that in my post.  Yes, I am putting logos with transparent backgrounds in front of colored rectangles.  That's how I noticed that this one logo is showing up with a white background.  The weird thing is that the other two logos are fine.  I did find a different version of this logo and this one works fine.  The one that works fine is a JPG and the one that shows up with a white background is a JPG.

  • Oracle Reports - Unable to generate report with colored image in bitmap mod

    Hi,
    I am using Oracle reports 6i.
    I am generating a post script[.ps] file using bitmap mode.
    The layout contains an image. The image is stored in oracle database which is colored image.
    But when the report is generated same is being generated with gray color.
    Could any one advise on resolving this issue? The objective is to generate the report with colored image and not gray or black&white

    What kind of images do you have? Reports only supports a few formats, e.g. JFIF. So, if you have JPG images with EXIF meta information in the header, you have to remove those first.
    when the report is generated same is being generated with gray color.What happens if you sent the output directly to the printer?
    And what happens if you create a PDF file instead of Postscript?

  • How to make a one-color fill images with masks in documents from our multiple layers ?

    Hello everyone!
    I`m to open PSD document with same layers. I need to:
    1. Save the jpg file (preview) in a certain place
    2. All layers with masks to make one-color fill instead of images with masks.
    Thanks
    This is way ?
    var theLayers = collectLayers(app.activeDocument, []);
    alert (theLayers.join("\n"));
    function collectLayers (theParent, allLayers) {//---------------------------------------------------
    if (!allLayers) {var allLayers = new Array}
       else {};
       for (var m = theParent.layers.length - 1; m >= 0;m--) {
          var theLayer = theParent.layers[m];
          if (theLayer.typename == "ArtLayer") {
               var bar = new Array;
               bar = theLayer.bounds
               l0= Math.abs(this.app.activeDocument.width - theLayer.bounds[2] - theLayer.bounds[0]);
               l1= Math.abs(this.app.activeDocument.height -theLayer.bounds[3] - theLayer.bounds[1]);
                if((l0+l1)>0) { // layer mask is set
                    // delete this layer
                    //create new layer
                    //create new mask from array bar
                    //fill selection
                allLayers.push(theLayer);
       return allLayers

    I may not quite follow.
    Would you mind posting an example (a screenshot with the Layers Panel visible for example) and an overview of the resulting images you want to produce?

  • B&W image with color profile true B&W?

    I have a 10mb B&W visual saved as RGB. It's 10mb which is too large.
    I changed it to grayscale and it goes down to 3mb. Still too large.
    How else do I change a B&W image with RGB color profile to plain B&W? Or is 3 mb the lowest I'm going to get?
    OR how do I just make the file smaller? Changed Resolution from 300 to 72 but stayed at 3 mb.
    Thank you.
    Dropbox - loading page portrait@2x~ipad.png
    Dropbox - b&w.jpg

    File size is dominated by pixel data.  If you save in a layered file format the file will contain pixels for many layers.  Different files formats support different things and compression.  10MB and 3MB would be very large image if the file format is Jpeg. For Jpeg only supports 8 Bit color mode and does not support layers and transparency.
    I downloaded your 9+ MB png file and found it hard to believe the file was that large when I opened in Photoshop.  So I did a Save As and save it xxxxxx.png it size turned out to be 131KB

  • Adobe Camera RAW (All Versions) Import Canon .CR2 / RAW images with an orange / green color cast.

    All versions of Adobe Camera RAW including the latest 7.3 import .CR2 images with a greenish / orange color cast.
    Tested on 7D, and 5D III
    Makes Hardwood floors, and flesh tones look abysmal.
    Canon's Digital Photo Professional renders the colors fine, as does ACDSee 5.0 Pro (when viewing)  Exporting from ACDSee however is another story as things look even worse than Adobe.  DPP can export perfectly.
    Changes to Color Gammut / Space have little or no effect.

    Good day!
    You might want to post on the dedicated Camera Raw Forum.
    http://forums.adobe.com/community/cameraraw
    Also posting some screenshots might help illustrate the issue.
    Regards,
    Pfaffenbichler

  • How to set color space to JPEG image with Java advance Imaging

    How to set color space to JPEG image with Java advance Imaging.
    is there any API in JAI which support to set color space.

    I'm definately no guru, but this is how you can change it.
    CTRL + ALT + Click on the part of the component that you want to change. This brings up the Hidden Dom Inspector, background of component will be surrounded with a red outline (Make sure the red outline is surrounding the part of the tabset you want to change), Now you go to properties sheet and click the ellipses next to rules property this will pop up a dialog you look in this list (At the top) to see the default style classes that are affecting the rendering of the component outlined in red. (You will be able to select different sections of a single component) then you just rewrite the style class that you want to change in your Stylesheet (You will not find the styleclass that you want to change because it is a part of your theme .jar but as long as you name it exactly the same and place in your stylesheet it will override the theme .jar style classes) it's actually very easy -- you were right should be a piece of cake for a guru. Don't have the link handy but you can check out Winston's Blog on changing Table Formatting to get this information...It is EXTREMELY useful if you want your apps to have a custom look and not default that comes with Creator Themes.
    Hope this helps you out God knows others have helped me alot!
    Jason

  • Changing the base color of a raster image with a gradient.

    Hi,
    I have a small (8 pixel wide x 75 pixel high) raster (png) image that is I nice looking arangement or gradient of shades of green.  I have a sample website I created when reading DreamWeaver CC Classroom in a Book that repeats this image horizontally to create the backgroung for a navigation menu. 
    I would like to "recreate" this same effect for my own website but in shades of gray instead of shades of green.  Can anyone tell me what is the best way / tool in either Photoshop or Illustrator that would allow me to change this raster image so that each shade of green would be converted to a corresponding shade of gray, while preserving the same general effect / appearance that I am trying to re-create?  If you could point me towards a tutorial or explanation of how to do this, I'd really appreciate it.
    Thanks in advance,
    Paul

    One of the easiest ways is to just convert your color image to grayscale. 
    Image>Adjustments>Desaturate or shift-ctrl-u (windows) shift-cmd-u (mac)
    Image>Adjustments>Black and white This filter will allow you to preview while to change individual colors if needed to darken or brighten that shade. (This would be more noticeable with a multi color image)
    Image>Adjustments>Hue and Saturation or ctrl-u(windows) cmd-u(mac) This command will allow you to desaturate a color or alter its hue and or brightness. (This works good for changing the green to blue for example but will work for desaturating the green as well)
    Most of those are called destructive commands as they are permanent.
    Layer>New Adjustment Layer>Hue/Saturation
    Layer>New Adjustment Layer>Black and White
    Layer>New Adjustment Layer>Gradient Map
    These are all non-destructive layers in that you can go back any time and alter these setting assuming you save in a format that supports layers. Like psd or tiff.

  • PSE 11 - How save image with printer color profile?

    I use an outside service to make prints. How can I save an image in PSE 11 in either TIFF or JPEG format with the color profile for the outside lab's printer? Thanks.

    You can print a photo using the correct printer profile for the lab printer. In the print dialog box , go to "Page Option>Color Management" and then choose Color Handling as "Photoshop Managers color". Now click the printer profile dropdown and choose the profile for your lab printer. If you are not able to find the profile for you printer  then choose "Printer Manages Color"
    To your second question the answer is that you cannot save the image with the correct colors for printing. You can only convert the profile of your image to Adobe RGB which matches gamut of most printer profiles using "Image Menu>Convert Color Profile and choose Adobe RGB.

Maybe you are looking for