Error-1074396074 IMAQ vision: Incompatible imag size

Hi everybody,
I need your help because I have a big problem and I don`t understand why...... But I hope it is easy to resolve.
I searched but found nothing.
I have this kind of error
But I don`t understand because I have two software, the first works very well, So I just copy this code to put in the second software, just to record one video.
Everything it`s the same but with the second there is this error message.
this software works very, whitout problem.
And this software, you cansee it is the same code, doesn`t work
I can`t understand why really..... I try to change the format of the imaq, or use IMAQ cast imag, but whitout results.....
If someone can help me
Thanks a lot in advance

Hi!
It is strange that if you used the same code, one time it works and another time it doesnt. To be able to see good if there is an error it would be great if you could submit your VI. But first try to take a look at this KB: http://digital.ni.com/public.nsf/allkb/4FAC615B62919BA5C1256ED00046997A
This explains the error and I hope you will understand which steps to take as there are also other links inside this KB for more information. So please verify the KB mentioned above and the settings you are doing in your code. 
Please let me know how the progress is going. 
Collin de Wit
National Instruments
Applications Engineering

Similar Messages

  • Error -1074396077 (IMAQ Vision: Incompatible image type) after running IMAQ Mask

    I am attempting to process color picture of pellet. I want to exclude any particle that touches the edges of the color images. I created mask from original image and used this mask on the original color image to retain only the color particles that don't touch the boundary. The error occured  when I ran the IMAQ Mask. The error message is “Error -1074396077 (IMAQ Vision:  Incompatible image type)”. How can I fix it ?
    I have picture and program as attached.
    Attachments:
    color sorter 01f.vi ‏87 KB
    Red01a1.jpg ‏30 KB

    Hi XuanThuy,
    The IMAQ Cast function is part of the Vision Development Module (VDM), under the Image Management Palette, as indicated by this document: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_cast_image/. If you can't locate it and you indeed have the VDM, there may be an issue with the installation of this module. A similar issue has been encountered and resolved in this forum post: http://forums.ni.com/t5/Machine-Vision/can-t-find-IMAQ-cast-image-vi/td-p/340157. What version of the vision software are you using?

  • Error message: incompatible image size when using IMAQ in image processing

    I want to do low pass filter and convolution on an acquired image. When I connect the image to the VI, the message: incompatible image size appears. I have tried to set the border to 3 in IMAQ create, but it does not help. Anyone know how to solve this problem?

    Hello,
    Which particular VI is outputting this error? Did you try larger border sizes (5,7)? What is the exact error code and error string?
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Incompatible image size error

    Hi,
    I had a program that was working, and then made a copy of it to make some changes.  The main change was to be able to put a BCG correction on the subtracted image.  Now for some strange reason I get an Incompatible image size error.  Can anyone help - also, if you could give me a suggestion soon that would be helpful as I have a deadline coming soon.
    I suspect that I'm missing something obvious, but can't work out what it is.
    Thanks for your help
    Sam Whitehead
    Attachments:
    error.jpg ‏23 KB

    Hi casualfanta,
    I understand that you are using I-16 type greyscale images, but your screen capture does not include the BCG part. I am assuming you are using the IMAQ ColorBCGLookup VI even though you don't need colour, because the input for the IMAQ BCGLookup (no colour) is of U8 type.
    If you are already using IMAQ ColorBCGLookup, then try using the IMAQ Cast Image VI to force a U32 type input and hopefully that'll solve the issue. Let me know if that helps!
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • Incompatible image size avi2 write frame

    Hello,
    I am a beginner in LabView, and I am currently trying to use the Ximea CCD and reading the image and writing it into an AVI file. I make sure that the image is RGB U32 before it goes into AVI2 Write Frame, but it still gives me the error "incompatible image size." Everything up to the AVI2 Write Frame block seems to work fine. Any advice would be appreciated. Thank you in advance.

    Without seeing the code, it is difficult to begin to suggest wher the trouble arises (personally, I think it is the fourth function from the left ...).
    Before trying to save images, are you able to acquire them in MAX?  If so, then MAX should be able to provide you with parameters that you might need for the various Image Processing VIs (such as the size/type of the Image buffer).
    Bob Schor 

  • Error-1074​396074 incomptibl​e image size

    I am working in image processing field and following one of the project.i am using webcam of the lenovo laptop for capturing images.but the image size is not compatible with the range to be used for processing.how to resolve this problem?

    Hi,
    Actually in this one it is dirctly referring as grayscale..i want to show it step by step conversion from rgb to gray.i am attaching the files.
    in dis when we run facerecog.vi we have an error while reaching region.vi.
    thanks a lot for ur suggestion,kindly have a look on my code
    Attachments:
    11facerecog.vi ‏14 KB
    1camera.vi ‏75 KB
    2RGB2YCRCB.VI ‏49 KB

  • IMAQ Vision - Writing Image Files: File Format

    Hi,
    I want to save some images in LabView 5.1.1 - IMAQ Vision 2.2.1 acquired by
    a camera. Several file formats are supported:
    BMP, JPEG, PNG and TIFF
    For me the PNG format seems to the most attractive one as it provides
    lossy-less compression and platform independentness. But, in the manual
    there is a comment which I don't understand: It says that the PNG format is
    not recommend for precise gauging or inspection measurements - and that is
    exactly what I want to do.
    I always thought that once an image file is loaded into LabView there is no
    difference regarding to the file format the images were saved in. Can anyone
    explain me, what the problem of the PNG format is? Which format can you
    recommend for preci
    se gauging instead (BMP?)?
    Thanks,
    Gerd Simons

    one correction:
    I use IMAQ Vision 5.0 and NI-IMAQ 2.2.1.
    Gerd Simons
    "Gerd Simons" wrote in message
    news:[email protected]..
    > Hi,
    >
    > I want to save some images in LabView 5.1.1 - IMAQ Vision 2.2.1 acquired
    by
    > a camera. Several file formats are supported:
    >
    > BMP, JPEG, PNG and TIFF
    >
    > For me the PNG format seems to the most attractive one as it provides
    > lossy-less compression and platform independentness. But, in the manual
    > there is a comment which I don't understand: It says that the PNG format
    is
    > not recommend for precise gauging or inspection measurements - and that is
    > exactly what I want to do.
    > I always thought that once an image file is loaded into LabView there is
    no
    > difference regarding to the fil
    e format the images were saved in. Can
    anyone
    > explain me, what the problem of the PNG format is? Which format can you
    > recommend for precise gauging instead (BMP?)?
    >
    >
    > Thanks,
    > Gerd Simons
    >
    >

  • Using IMAQReadFile with .jpg format of file is producing an "incompatible image size" error ?

    The .jpg monochrome images are of slightly different sizes. Is there a way round this or should i use a different file format ?
    Attachments:
    Read_multiple_IMAQ_Image_and_other_data_from_file_and_loop_through.vi ‏88 KB

    I trimmed down your code a bit, but I don't see any problems with using various sized images. I ran your code first with no changes except removing the text file IO and changing the paths and saw no problems. I am using LV 6.1 with Vision 6.1. Take a look at the code below and see if it works for you.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments
    Attachments:
    fileread.zip ‏309 KB

  • Working with Coreco, I get error 1074396072: imaq morphlogy invalid image border

    the morphology gets input from threshold, which send o.k in error out. I work with Coreco, which I heard has some problems in defining the camera type or something

    The morphology function requires some blank space at the edges of the image, which is called a border. You can set the size of the border when you create the image buffer, and you can adjust the size of the border using IMAQ ImageBorderSize.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Error message: incompatib​le image size when using IMAQ in image processing

    I want to do low pass filter and convolution on an acquired image. When I connect the image to the VI, the message: incompatible image size appears. I have tried to set the border to 3 in IMAQ create, but it does not help. Anyone know how to solve this problem?

    A couple things might be causing this problem-
    1) The convolution matrix is bigger than 7x7, or
    2) You have created an image, but there is not yet anything in the buffer
    You can check number 2 by doing a winDraw window just before you do the convolution.

  • Error -1074396074 During SSIM Test on PXIe-1491

    I have been running a validation test of our new video test hardware.  I'm trying to run a continous SSIM test with my PXIe-1491 but I keep seeing an error after a few cycles that says something about IMAQ Fast SSIM.  The NI website site seems to say this is an NI VISION error, which makes sense, and it also says, "Incompatible image size."  Although it is weird that this worked for about 13 cycles then gave up at the end.  Below is the front panel and my block diagram of the VI that I'm running.  I would appreciate any help on this.

    Hey Daniel, I just stumbled across this post.  I'm sure you've figured it out now, but for anyone searching in the future, this error comes up when the resolution of our incoming stream is different than our reference stream.  The solution is to make the 2 match by changing the resolution of one of those streams.
    Paul Davidson
    Sound and Vibration Software Staff Product Support Engineer
    National Instruments

  • IMAQ Vision: (Hex 0xBFF60488) Minimum coverage value should be greater than zero.

    Having some trouble with extended acquisition of a Mightex USB camera using LabVIEW 8.5.  LabVIEW is able to acquire images from this camera using IMAQ USB, a snap every ~30 seconds.  After about 1100 snaps LabVIEW errors out: IMAQ Vision:  (Hex 0xBFF60488) Minimum coverage value should be greater than zero.
    Any help would be greatly appreciated!

    Check this discussion

  • Image size after calibration and IMAQ Learn Calibration Template VI in Vision 2012

    Hi there
    I'm trying to setup a calibration for our fluoroscope camera. I got some pictures of a grid and try to implement a distortion model now.
    It works more or less fine. But there are still some problems and questions
    1. All my Images are 1000x1000 pixel. After correcting them with the calibration they change their size depending on the Method(937x928 at the moment).
    Thereby I lose some information, because some details at the border are cut off. Additionally I would have to increase the size of every image manually for the further processes. Does anyone know how i can implement that the corrected images are still 1000x1000 in size?
    2. At the moment I'm using the "IMAQ Learn Calibration Template VI" which I found in an older example. In vision 2012 this vi doesn't exist anymore? Why is this, and how could I implement it now, with using current vi's?
    Tried it with the "IMAQ Learn Camera Model" combined with the "IMAQ Calibration Target to Points - Circular Dots", a tresholding a
    nd "IMAQ Correction Learn Setup". But the result is much worse this way.
    Thanks for your help in advance.
    Stefan

    Thank you for your answer.
    I tried it with changing the border size(tried different values), but the results are still the same (still 937x928). Do I have to set the image size anywhere?
    What would be the best way to resize the image? Should I just copy it on a black 1000x1000 square?
    And do you have any suggestions how I can build the "IMAQ Learn Calibration Template" with 2012 vi's? I tried it with the code of my first post, but the results are totally different to this: Why this block doesn't exist anymore? Seems to be much easier for me

  • Image processing with imaq vision with 2 webcams on the same computer

    Hi,
    I'm currently trying to set up 2 usb webcams (logitech quickcam for notebooks pro). I want to be able to have them both run simultaneously and do some image processing with the images that I get from both cameras with labview and imaq vision.
    As of right now, I'm having trouble getting both cameras to run at the same time. Any help would be gladly appreciated. Thanks.

    The USB IMAQ driver will not support running 2 USB cameras at a time (I believe it is a limitation of the DirectShow interface). You could open one camera, acuqire an image, close the reference to that camera and then do the same for the second camera.
    If you need simultaneous acquisition, look at possibly moving to 1394 cameras or analog cameras.

  • How do I convert an IMAQ image buffer into an IMAQ Vision 'Image'?

    Using NI IMAQ and IMAQ Vision with LabWindows/CVI 6.0...
    I have some acquisition code that uses IMAQ img functions to set up a
    triggered image acquisition and stores the image into an 1D unsigned char
    array buffer.
    I would now like to add code that uses the IMAQ Vision functions. The IMAQ
    Vision function use an Image data type, which from what I can glean from the
    ..h files, is a structure.
    Is it possible to convert the 1D unsigned char array image buffer to an
    Image? How would I do this?
    An inefficiant brute-force way would be to write the image to a BMP file
    from IMAQ using imgSessionSaveBufferEx, then read the same file back in
    using IMAQ Vision imaqReadVisionFile. I am hoping there is a more elegant
    way to perform the conversion in memory without needing to write disk files.
    Thank you,
    Robert Rafuse
    Etec, Inc.
    tel: (978)531-5025
    e-mail: [email protected]
    web: http://www.etec-inc.com

    Bob Rafuse wrote:
    > Is it possible to convert the 1D unsigned char array image buffer to
    > an Image? How would I do this?
    Never mind. I found:
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F11556A4E034080020E74861&p_node=DZ52490&p_submitted=N&p_rank=&p_answer=&p_source=External
    which indicates that the img functions actually return a 2D array, so I can
    use imaqArraytoImage after all.
    My bad.
    Bob

Maybe you are looking for

  • How do i install itunes on another drive other than c

    I would like to install itunes on a drive other than c drive in a fresh install to keep it free from my operating system.Itunes is not currently installed on my computer, so i dont need to transfer anything or move anything and i dont want to put itu

  • WSYNCMGR.LOG Failed to Sync Update. Failed to Save Update.

    I recently had to re-install WSUS on an SCCM 2012 SP1 server which had a problem where the EULA's were not being downloaded by WSUS for any updates which needed them.  Even attempting to download the updates within the WSUS console generated an error

  • I had to uninstall PSE 12 can not reinstall it, how do I do it???

    Since I bought the paid version of PSE12 I have had nothing but problems. So folks said uninstall it, of course I was hesitant, since it did not seem to work well when my IT guy installed it. Si I did today, have a disc and the # and it almost is fin

  • Session bean connecting a data source

    Hi there, I'm trying to make a session bean connect to a DataSource used by my Entity Beans. I'm using JBuilder5 and Borland Application Server. Here is the code in my SessionBean: InitialContext ic = new InitialContext(); DataSource datasource = (Da

  • Adding a new column in a CREATE -- AS SELECT statement

    I am creating a table using a select from an existing table. I wish to also add one new column (with null values for all records). Is this possible? What would the syntax be for this column? Thanks, Kevin