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

Similar Messages

  • 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

  • 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 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-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

  • Logic error: "Image size error [...] too large" when setting a group chat picture *UNDER* 512px

    Skype version: 4.3.0.37 on Arch LinuxI'm able to set a group chat's image to this image (513x513px, 60240bytes), but as soon as I crop it to something smaller, like this image (512x512px, 59544bytes), it gives me the following error message:even though the image is actually smaller than before. So the error message shows up for images that are of size less than or equal to 512px, giving a misleading information saying that the image is too big while the actual code is restricting it to a minimum of 513px. Edit: Also, there's a bug with the community. In making this post, I used my website to host the images, but then the forums automatically replaced every instance of my Skype username with "[Removed for privacy]", including in the link tags. So the links were mutated into "http://[Removed for privacy].me/misc/skypebug/513x513.jpg" etc.

    Yes this is a real pain. I'm using v 4.3.0.37 with Fedora having the same issue. This seems not due to te image dimensions.If anyone found a workround?

  • 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.

  • Texture:illegal image size problem with loading texture

    i have used the method of loading an texture into a scene as shown in chapter 7 of java 3d tutorials. My image size is of the power 2. But why am i still getting the illegal image size error, pleeeeaaaase help, i will be greatful for any suggestions thank you. i have pasted the source code for the method of loading a texture below
    Thank you
    BranchGroup scene= new BranchGroup();
    QuadArray plane = new QuadArray(4,GeometryArray.COORDINATES|GeometryArray.TEXTURE_COORDINATE_2);
    Point3f p = new Point3f();
    p.set(-1.0f,1.0f,0.0f);
    plane.setCoordinate(0,p);
    p.set(-1.0f,-1.0f,0.0f);
    plane.setCoordinate(1,p);
    p.set(1.0f,-1.0f,0.0f);
    plane.setCoordinate(2,p);
    p.set(1.0f,1.0f,0.0f);
    plane.setCoordinate(3,p);
    TexCoord2f q = new TexCoord2f();
    q.set(0.0f,1.0f);
    plane.setTextureCoordinate(0,0,q);
    q.set(0.0f,0.0f);
    plane.setTextureCoordinate(0,1,q);
    q.set(1.0f,0.0f);
    plane.setTextureCoordinate(0,2,q);
    q.set(1.0f,1.0f);
    plane.setTextureCoordinate(0,3,q);
    TextureLoader loader = new TextureLoader("C:\\Documents and Settings\\Ozcan\\Desktop\\Java 3d\\examples\\texture\\brick.GIF",this);
    ImageComponent2D image = loader.getImage();
    Texture2D texture = new Texture2D();
    texture.setImage(0,image);
    Appearance appearance = new Appearance();
    appearance.setTexture(texture);
    Shape3D shape = new Shape3D(plane,appearance);
    scene.addChild(shape);
    return scene;

    GridBagLayout will make arrangements to display the JPanel at the size its layout manager says that it needs. To help the JPanels layout manager we can let it know that we need extra space to show the rendered image.
    class tt extends JPanel{
        Image pic1;
        tt(){
        public void paintComponent(Graphics comp){
        public Dimension getPreferredSize() {
            return new Dimension(pic1.getWidth(this), pic1.getHeight(this));
    }

  • IE incompatible ? Image size.

    Hi,
    I know very little about HTML, CSS and the like but as a photographer I upload gallery webs all the time for clients etc. I generate these in PS CS2 or iView MediaPro and then upload to my server (shared web hosting).
    With a current project requiring a 'site' type environment I decided to try iWeb. Before visiting this site please note that due to image sizes with iWeb it's a bit on the heavy side and if you're using IE on a PC BEWARE of crashes! Safari may even crash as has done with me.
    http://www.kura-images.com/camping
    Remarks and problems :
    1. As you can see my site does not resemble any iWeb template - using the 'modern' template I basically threw everything away and designed from scratch. It's a great WYSIWYG appli in that sense - no code - just drag and drop, resize, add some effects etc. I published regulary to a folder as a way of double checking but was impressed with the 100% WYSIWYG capability of iWeb
    2. Image size is a MAJOR problem. My concerns are specifically with the gallery pages generated from the photo page temps. Thumbnails at 16ko is too big and the motor that generates the large image files uses a single parameter (800pixels largest dimension) that cannot be changed in any pref settings etc. It also uses a compression factor which is a tad too high. Using Image Ready or the PS gallery web function (driven by Image Ready) I can get as good visual quality for my web-optimised JPEGS for 65% of the file size.
    Note : I tried this file swap as a test
    I changed one image in the folder for the "activités" page (activities_008) - I made a smaller thumbnail in ImageReady and created a 600pixel version of the large file; I replaced the images in the folder with these and checked the site. The thumb appears no problem in a smaller size (btw 6ko vs 16ko - that's a big diff when you apply it to 250 images !). SlideshowJS however has instructions to open the image at main size as determined by the slideshow index file creation generated by iWeb. And that's written as 800pixels. So on opening the 600 pixel image I'd replaced, slideshowJS opened it to 800pixels (not pretty). The only way to rectify that was to go into the source code in the relevant 'activités' js file, find the codeline for the image 008 and change the values manually. And I'd have to do that with 250 line of code ! That rather defeats the prupose of having a nice easy application to produce your galleries.
    3. Upload to my server via Transmit was trouble-free. No problems publishing to a non .mac server.
    4. Problem with the page titles. The names you give to pages determines the URL. Any spaces means you get the %20 thing and if, like me, you're writing in French the accents mean that iWeb has to get around the problem in a different, and not very practical, way. iWeb creates a random character line as a name, and uses that as the URL for pages where accents appear in the title. When the assets and index page are published those long character names appear on the index file and folder.
    I also think that may lead to compatability issues with certain servers.
    5. But here's the BIG PROBLEM !
    I had 4 people with PC's and IE (God bless 'em) check out the site. 2 reported repeated crashes of IE (unexpectedly quit exe. error). No problems with the homepage - just when clicking on some of the photo pages. What is really strange is that neither had problems when accessing the 'La Soirée' page, but both had problems with all the others. Apparently the crash came after IE tried to load the page, succeeded in loading a few thumbnails and then stopped and crashed 5-10secs later.
    6. EVEN WORSE !
    I have gone back to my site several times, emptying Safari cache each time, and have succeded in stalling definitively Safari's attempts to load certain pages. Just stops with partial page upload. I then have to quit Safari and re-open to be able to access any web page (even other sites). Sometimes it's OK, sometimes not.
    This site goes officially live on wednesday morning but for now it's a no-goer. Just too erratic and not IE compatible.
    PLEASE, any suggestions ?
    Many thanks in advance
    Peter
    G5 2Ghz   Mac OS X (10.4.5)  

    4. Problem with the page titles. The names you give
    to pages determines the URL. Any spaces means you get
    the %20 thing and if, like me, you're writing in
    French the accents mean that iWeb has to get around
    the problem in a different, and not very practical,
    way. iWeb creates a random character line as a name,
    and uses that as the URL for pages where accents
    appear in the title. When the assets and index page
    are published those long character names appear on
    the index file and folder.
    I also think that may lead to compatability issues
    with certain servers.
    Yes, it is best to avoid spaces and accents and special characters if you can. If you must have them in your navigation links, then don't use the iWeb nav bar. Instead give your pages very short simple names with the Inspector, uncheck the box for "include in nav bar," and just create ordinary hyperlinks for page navigation. I don't know if this will help with IE compatibility, but it can't hurt.

  • Tftp transfer error: image size (15930092) mismatches netsize (15917915).

    Hello, i am trying to upload an .bin file to my 871 router via tftp.
    Everything goes well but when it finishes the uploading it puts:
    TFTP flash copy: Error, image size (15930092) mismatches netsize (15917915). I have try with several tftp servers and it looks the same. can anybody help me???
    Flash memory is 24Mb. it is not a memory problem, isn?t it?
    thank you very much.

    yeah, since there is a image size mismatch i would say download it again, also with the 871 i loaded a new .bin on it once and it said i need more memory. added more memory and poof, it worked

  • 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

  • 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?

  • New Image Size and Resolution in CC

    Hi there.
    Ok, maybe i'm missing something, but how do i reduce the ppi's of a given image in the Photoshop CC? Changing it in the image size, in the Resolution field, it acomplish nothing. It logs an entry in the History panel, but nothing changes in the picture. Did Adobe changed how this works, or it's just a bug?
    Thank you.

    Try setting to real-world measurement, like inches or cm.
    Hi Charles, i think that change in cm/mm/in it's the only way to change the image ppi (in my case save/resample it to 108ppi). Can you confirm that this is correct?
    Anyway when i go to image size (new panel of CC) the w/h are:
    1) grey and always set in pixel with resample flagged.
    2) always set in inches with resample NON-flagged (also if my ruler unit is in Pixel).
    (and actually that is not new behavior. CS6 behaved same way when width and height were set to percent)
    In CS6 and CC i never seen w/h in percent  - where is my error?
    Many thanks!

  • How to set image size in a table view

    Hi,
    I've just built a small VC application showing some process chain logs in a table view. For the different status types Error, Warning and Success I show the well-known traffic light icons. But up to now I haven't found out how to set the image size in a table view (height & width field is greyed out for the table). Any ideas? Or is it just not possible?
    Thanks for your help,
    Heiko

    Hello Heiko,
    I don't know, if it is possible, but I would say,
    it's not implemented yet. Maybe you can change the picture size and use then the pictures, that might be a workaround, if you can't change the height and width in VC.
    Best Regards,
    Marcel

  • Spry Photo Gallery Image Size via CSS

    Hello!
    I´ve been customizing the spry photo gallery for a couple of time, but got my little problem when viewing it on a mobile phone. When you load up the pictures with a size of 450 x 300 px for example, put up the right xml file with it´s width and height, so the gallery shows the pictures in that size. So what I want to do is that you can specify the image size with css depending on the device you´re watching the site with. There is div in the css called "mainImage" where the size is in %. When you change it to 75% for example. The pictures are correctly shown with 75% of it´s original size, but the outline (grey background) is still in 100%. When you make this grey background transparent it´s still there and moves the caption down. I guess there have to be done some changes within the SpryImageViewer.js, but I just know very little things about JavaScript. Do you have any clues how to change this to specify the image size via CSS?
    Thank you for your help!!!
    Kind regards,
    Joerg

    I see you are still using Spry 1.5. Have you considered upgrading to 
    Spry 1.6.1?
    Also your XML is broken, if you open up your xml in a normal standards 
    complaint browser such as firefox, you will see that it doesn't render
    a normal tree view as it would do with other xml files. So i suggest 
    checking those errors out.
    Its mainly because you  forgot to close your starting tag of the 
    gallerys node. (<gallery
    base = ""
    background = "#FFFFFF"
    banner = "#F0F0F0"
    text = "#000000"
    link = "#0000FF"
    alink = "#FF0000"
    vlink = "#800080"
    before your xml starts.

Maybe you are looking for

  • Rotate a Object Around Center Axis

    Hey peoples, new to flash here.  I'm using CS3 with ActionScript 3.0.  What I want is simple, and I've done some searching but nothing that can get me the right results.  I'm going to post a link that does exactly what I want: http://www.newgrounds.c

  • Text from CC behaves incorrect in CC 2014

    Hi Everybody, Currently I came across strange behaviour of the text created in CC but opened in CC 2014. Figure A shows how text looked like in CC also it shows how it looks like in CC 2014 in key line mode. Figure B shows how text looks like in CC 2

  • Wrapping text around an image on top of a background

    I am trying to wrap text around a photo, but I'm doing so on top of a background color box in my Master Page.  Problem is that when I create the background box in the Master Page, the text goes away.  I can resolve the problem by checking the "Ignore

  • Book panel - Print the book icon - Disable

    Hi, In our InDesign workflow, we have inbuilt script which does some validation and then print the document as PS and PDF. Sometimes, operators creates the PDF using InDesign own "Print" and "Export" menus by which the inbuilt validations are complet

  • Product key demand

    I had to do a hard reset on my HP 2000 laptop.  After it is demanding re-entry of my product key.  There wasn't a disc or any paperwork in the box with a key on it.  I did call in and re-enter after I up graded to 8.1 with the automatic system.  how