Construction of an RGB Image using IMAQ ReplaceColorPlane VI

Hello world

I'm trying to familiarize myself with the Vision Development Module on LabView student edition of 2009 because I want to manipulate images in real time. Currently, I am trying to split an image RGB in R, G, and B pixel values then recombine in the same image. I can do everything up to the recombination in the same part of the image. I think that this can be done with the IMAQ ReplaceColorPlane VI (I have not found another VI which seems appropriate), but all I seem to get is black for my screen both entry and exit. I really have no idea where I was wrong on that, and I need help to understand this.

I have attached the VI I'm using as a reference.

No indication at all would be a great help

I understood the problem that I had defined as U64 incoming image but image was saved to 24 bits per pixel so IMAQ couldn't read the image correctly. When I put the image into U32 and color as grayscale U8 aircraft everything worked

Thank you for the help

Tags: NI Hardware

Similar Questions

  • Rebuild the images using IMAQ

    Hello

    I can restore images from raw data using labview? If possible, what kind of data can be used?
    For more details, im trying to get a thing called 'line-data' to an acquired image of an ultrasound machine and I want to rebuild this image of these data using labview. I am able to do? However, I also need the above answered the question.

    If any additional information is needed, just tell me and I'll provide you with everything I can.

    Thank you for helping me.

    I have IMAQ, IMAQdx, Vision Module installed.

    An Image is an array of Pixels, where a Pixel can be one U16 or U8 to grey scale of images or a 32-bit value if he holds the RGB data.  It's the first thing you need to consider, what are your Pixels, i.e. to the data type that you use to generate the image.

    Now, many groups of the Image have sizes as 640 x 480, or X and Y 'resolution' (number of pixels of adjustment in the X direction and Y).  Note that 640 x 480 is a common size for cheap USB video cameras.  A minor confusion is that the corresponding table of LabVIEW (for example, of the U8 Pixels) will have the dimensions 480 x 640 - this makes sense if you think that "480 lines, 640 columns in the X direction and the axis Y.

    So now you have your table Image, so fill out the Pixels that you need.  This will depend, of course, what you are doing.  If you perform an operation of "analysis of the line" (which I assume means you get, say, a row of pixels at a time), simply create you your table Scans of line 1 d 2D.

    Here's a demo: it is in 2016 LabVIEW, so you will not be able to copy in your block diagram (unless you also 2016), but it is simple enough that you should be able to find the functions of the IMAQ Vision utility pallets (pallets).  See if you can "predict the image"...

    Bob Schor

  • How to use IMAQ Bayer to RGB?

    Hello everyone.

    Could you please tell how to use IMAQ Bayer to RGB. I read the help that need us Bayer settings. But in aid have no structure of the Parameters of Bayer. I find any example of Bayer IMAQ to RGB and Parameters of Bayer in Labview

    Please read my poor English and help me!

    Hello

    What kind of bus of camera do you use? (Camera Link, GigE, FireWire, etc.).  When you buy a MAX image seems to have the grid of bayer?  Have you tried to adjust the color of bayer camera in MAX?

    There are two examples delivered with Acquisition of Vision software that indicate how to Bayer for the other NOR-IMAQ for NOR-IMAQdx decodes.  If you open finder LabVIEW example by going to help > examples find you can search enter with Bayer Decoding.vi or Grab and Bayer Decoding.vi.

  • I noticed that some jpeg (RGB) images are not display in Internet Explorer 11, but they present very well in other browsers. In addition, the images used to display properly in Internet Explorer. No idea what is happening?

    I noticed that some jpeg images are not display in Internet Explorer 11, but they display well in other browsers. I checked they are RGB images, because apparently some people accidentally use the CMYK format. IE is configured to display the images - I checked that also. The images used to display properly in Internet Explorer, and the images have not been changed on the server. The content was created using Dreamweaver CS6 and Photoshop CS6.

    I tried to view the page on other computers running IE, and they also have this problem.

    Any idea of what could be causing this to happen?

    Thanks for looking in this people!

    I discovered that prevented a few images to display in IE 11, while other images show. The culprit was Adblock Plus for Internet Explorer. Once, I disabled the software Adblock Plus missing images showed once again. Interestingly, I discovered that I could cause the same effect in other browsers using Adblock software. There is either a bug in the software of Adblock, or fluid network of Adobe system, which caused some legitimate images should be blocked. Whatever it is, they do not play well together right now. All images are stored on the same domain, and none of them related off site, so it's pretty weird that they have been blocked...

    Anyway, the mystery is solved! I know people like to see a conclusion to these things as much as possible, so I'll mark this as resolved issue.

  • Value that is used when you apply a gradient to an RGB image map

    Hello:

    I'm doing a classification of the color in Photoshop using the map of gradient, so the colors of certain range in the initial image corresponds to a given color chosen Gradient of.

    The final product is somehow predictable if the original image is an image in grayscale. However, if the original scale is a RGB image, value that will be used to determine the color applied to each pixel of the slope?

    There are several ways to calculate the luminosity of an RGB image, such as (0.2126*R) + (0.7152*G) + (0.0722*B) . I tried to use some, but none of them can be used to predict the actual color used by Photoshop to generate gradient.

    Does anyone know the formula used by Photoshop to determine with a pixel RGB is the color?

    Thank you

    Shane Li

    About ((red) *.3 + (green) *.59 + (blue) *. 11)

  • What exactly does the Cast Image VI IMAQ?

    Hello world

    I want to convert an RGB image to grayscale. Now, I can do this, using the Cast IMAQ Image VI. But now, I was wondering what exacly this VI only? How does make an image in grayscale to RGB image? What happens under the hood?

    Hope someone can tell me, since I don't really know. Thanks in advance ^^.

    For each conversion type, there are specific operation. In your case VI defines the destination value to the average of the elements of the source of three colors.
    To learn more:
    http://zone.NI.com/reference/en-XX/help/370281P-01/imaqvision/casting_images/

  • Vectorize an image using Labview

    Hello world!

    So, I work with a 3D cutting machine (Roland MDX - 15) and I'm supposed to design a program that can load images and burn them on a piece of wood using Roland MDX - 15.

    What I've done, is to create a program where you can draw a picture using the tools of sketch of Labview and the machine will sculpt.

    The machine is capable of carving the image using vectors (she follows lines point by point).

    Now, I have to do the same thing, but an image that I have load in Labview. Therefore, I need to vectorize the image so that the machine gets a set of lines to draw. A program that is already it is Dr.Engrave (see youtube if you need to understand what I need).

    So, anybody know a 'simple' way to transform an image into a set of vectors?

    Thanks in advance!

    Valentine

    Hello VGans,

    I assumed that when you talk of tracing any edge detection method would be allowed to help you get started.

    If it is a false assumption, then let me know.

    Keeping this in mind:

    Already taken a peek at the "IMAQ CannyEdgeDetection' VI?

    This could be a good starting point for tracing purposes.

    Can you let me know if that's what you're looking for?

  • How to use IMAQ detected Shapes.vi

    Hi all

    I learn NI Vision, I don't understand how to use IMAQ detected Shapes.vi to detect shapes, such as lines, ellipses, who can give me an example, thank you.

    Hello

    This function uses the edges of the object and try to adapt with different shapes such as rectangles, lines, or some cirles.

    First of all, you need to set parameters to extract the edges of your objects. You Brown the threshold (in order to find the correct edges of your object). You can then choose the parameters of the shape to fit. For example if you want to adjust with a circle, you set the min and max possible RADIUS.

    Try this with vision assistant, it will be easier. And try also with fine contrasting images.

    Concerning

  • How to use 'IMAQ Write queue'

    I want to use 'IMAQ read the file' and 'IMAQ write File2' to read, view and save an image, but I don't know how to use the file 'IMAQ Read' and 'IMAQ write File2', please give me some examples, thank you very much! (I use LabVIEW 8.5)

  • Save to PNG using IMAQ file write file does not save good Gray Scale

    Hi - I have a simple VI which reads a raw U16 file and then try to save the option IMAQ write PNG file (because I want the 16-bit format).

    I defined a custom color table which is just opposite of gray, and this is applied to the image.

    The Image displays properly, but saves the PNG file with non-inverted grayscale.

    U16 RAW file is titled "Martha 1849-02-001-6 - view0000_raw_grey_16bit.raw' and sent to ftp://ftp.ni.com/incoming. "

    How is it and how do we get this working correctly?

    Thank you

    Don

    DonRoth wrote:

    I defined a custom color table which is just opposite of gray, and this is applied to the image.

    No! your custom color table to display the images, not apply to the image.

    In additional, it cannot save the palette as well as the 16-bit image. The pallet can be stored with 8-bit 'indexed' image.

    What you can do - if you need just reverse gray, use IMAQ opposite to calculate the negative value of an image.

    Andrey.

  • How to make a zoom in on part of the image using editing?

    Recently returned to the opening.  Do not remember how to enlarge the part of the image using editing.  If the answer is Loupe tool, please remind me how it works.

    What version of Aperture do you use?

    To zoom the viewer enter the combination of keys command - + (⌘ +) or press the zoom-viewer:

    If you prefer the magnifying glass, launching it from the view menu with "view Magnifier, where also find magnifying glass options to switch to a centered Loupe or show the grid under the microscope.

  • some computers cannot acquire images using the PCI-1410

    I have a big problem in the acquisition of the images using the PCI-1410.

    It was a standard camera (SONY XC-ES). The test of the device is OK with my computer.

    I can not get a correct image via MAX. Also, I try to use the file of the camera for that camera.

    But it did not work properly.

    I consulted it toward the Korea of NEITHER and they discover THAT PCI-1410 worked properly with different computers.

    So, I try to change PC. Most of my computers cannot acquire the image even if the unit is OK of MAX.

    However, only a few computer works properly. (Work computers are from SAMSUNG. The other

    computers that did not work propely, were assembled in the lab.) (I have tested almost 6 computers for this purpose.)

    The problem is that there are at least 3-4 PCI ports for our applications. The work computer (SAMSUN) only has 2 ports PCI.

    What should I do to select the right computers? I can't buy dozens of computers to test the PCI-1410.

    Why is this kind of problem occurs?

    Thanks in advance for your advice. (Email: [email protected])

    Hello

    We also had a lot of problems in the past with different PCs and the problem came from the motherboard. Since that time, we only use motherboards with intel because we know that labview works very well with them.

    It was 2 or 3 years ago, and I thought that the problem has been resolved since then... you know the type of motherboards you use?

  • How do write an image bank 2d images using maton indexing or other type of indexation. Please help me, I'm stuck my project with this problem?

    Dear friends,

    I'm in a phase of my project of mtech evil. How can make a large image 2d draws from small images by indexing. (just like arrays\matrix, etc.). I have only 16 small images in my library. I want to do the big picture of mosaic of smaller images with appropriate indexing. I think to make a large image in Formate of table 2d (100 * 100 images) of small images using indexing. Anyone CAN HELP me IT WILL REALLY appreciable

    URS faithfully

    Ragil

    The question is more how you want that they be indexed like that?

    1 > 2 > 3 >... > 15 > 16 > 1 > 2...

    5>6>......

    or

    1 > 2 > 3 > 4 > 5

    2 > 3 > 4 > 5

    3 > 4 > 5

    4 > 5

    5

    or another type of indexing

  • Continuous imaging using vision builder

    Hello, I use NI 1744 and want to know how to get and record continuous images using Vision Builder. I am in a position to acquire and maintain a single image but cannot acquire continuous images.
    Looking forward for your help.

    Bürki,

    You try to save the images continuously as a movie?  This is not supported in VBAI, however if you want to align continuous images individually you can try to change your pattern of State inspection to repeat your current inspection and the transition to the stage stop only after that your current inspection was conducted a defined number of times.

  • Which is faster a bit manipulation to the table or image using the vision

    I have to perform an operation on an image.  It involves the calculation of the new locations for the pixels for each pixel of the image.  Which is the fastest way to do it.  Manipulate the pixels as elements of the array for loops, or manipulate the pixels of an image using vision tools?

    Thank you.

    Hello

    If you can use vision tools to make the manipulation of pixels, it is much faster.

    Vladimir

Maybe you are looking for

  • A "printable page printer.

    A "printable page of the printer" generated from the 'Print the Article' button in a Joomla! 1.7 Web site opens a new window of the browser without menu or symbols. Print is not an option in the context of the button Menu right mouse. How to print th

  • After say - and reconnecting battery CMOS, power supply T400s has stopped working

    Hi all A few days ago, I had to say and then plug back the CMOS battery. After putting my T400s back together, the power supply in power did not work more (the computer is plugged in and power cable works fine with other computers, but it will not pr

  • 60.02 error of

    I have hp color laserjet cp5225 printer, when I turn it on, an error message appears on the sign that says (60.02 error turn off then turn on) Can someone help me solve this problem? Manuals, videos, photos,... etc will be useful. and if he can send

  • 8007371c installing KB2675157 update error code

    Does anyone have an idea on how to resolve the 8007371c error code when trying to install update KB2675157?  I tried microsoft fix it tool and that has not worked, I had put IE7 upgraded to IE8 and rest the error.  I tried to switch to IE9, but this

  • Hangs up-black blackBerry Smartphones clock

    Hello I've had my flashlight for about a month now.  I noticed that he hang up a lot there where a little black clock with white hands turns a lot and makes it slow.  Why is this?  I supposedly traded upward by a Bold 9700 to this model, but now I th