LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image not large enough

Hi,
I've got another problem using LV 7.1 for image processing. We need to 'fold' a rectangular image to a quadratic one. Now using LV5.0 a guy who worked at thye lab before I came here wrote the program which uses IMAQ Add, IMAQ symmetry, and so on.
 
Now we upgraded from LV 5.0 and IMAQ VISION 4.1 to LV 7.1 and IMAQ VISION 7.1. As the image goes through these IMAQ VIs I get the error :
 
code -1074396154
IMAQ Symmetry
The image is not large enough for the operation.
 
What does this mean ? We upgraded because there waws never enough memory and images seemed too large, now running our old VI in LV 7.1 tells us image not large enough ???
 
Thanks
 
0 Kudos
Message 1 of 14
(5,398 Views)

I see that error if the operation requires a larger size, more pixels.  Try to zoom it x2, perform the operation, then reduce it by x2.  This should give the desired result.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 14
(5,358 Views)

Hi, I've zoomed in 3x; this does not change anything. In fact, considering the size of the pic, half of the creen, it would surprise me very much if it was really the case. And if you look at my other posts, there is something really weird abouot my LabView 7.0 upgrade. Is there anything I have to b careful with when uninstalling LV 5.0 then installing 7.1. (IMAQ Vision from 4.1 to 7.1)??

 

0 Kudos
Message 3 of 14
(5,355 Views)

Don't know.  Can you post me a small chunk of code and the image you are working on so I can give it a try over here.  I have been working with vision for a few years so have seen most of the functions and can see whats going on for myself.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 4 of 14
(5,351 Views)

I'll do this right tomorrow morning. I'm not at work anymore. It's 8 p.m. over here ;o)

Thx

0 Kudos
Message 5 of 14
(5,342 Views)

Here is the Vi (image Processor) including the subVI (ShiftFoldLinearizeImage.vi) used to Fold the Pic and the Globals.vi plus a sample acquisition. In fact our hardware (resonant mirror) is sinosuoidal on the borders with a non constant offset from one pic to another. So we have to find a certain shift value (best overlap of left over right half) then linearize and finally fold and display overlaid halves;

So hope this small explanation helps a little. And hope you get the same problem I do ;o) otherwise there is a problem with my IMAQ Vision... the error appears when trying to go throuogh IMAQ symmetry.

(Moreover I've got another problem when loading this VI there are OK pop ups everywhere, it would be interesting to know if the same happens on your desktop.There is another post "OK pop ups everywhere" on that problem. Keep me informed....) 

Thanks for all

0 Kudos
Message 6 of 14
(5,331 Views)

Well it looks to me that your program is messed up!  It displays an undefined error from the very first IMAQ Create so no idea what is going on.  I would suggest you send this one to technical support.  You shouldn't be getting an error on create and it should not be undefined.  Could be because I am using differnt driver versions than you are but I can't run the application.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 7 of 14
(5,320 Views)
I redid just the folded part on my lunch hour and seems to work.  I chunked out the fold code and put it into my own VI.  Take a look and see if this is what you are looking for.  The folded image is the one on the right side by itself.  The others are images as it processes the original image.
 
Matt

Message Edited by mfitzsimons on 12-09-2005 12:46 PM

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Download All
0 Kudos
Message 8 of 14
(5,312 Views)

It seems there is a problem from the very beginning on. So what you're telling me is that it works once I get rid of the IMAQ create problem. That's a bit what I expected but I don't really know how to fix the 'OK' problem I've got another post on that one with an NI technician. Maybe I just try to write a new labview 'frame' to put around all the rest of the program, with a working IMAQ create.

I'll wait for the anwser from NI and I'll tell you more about that or for anyone else, just look at the other post on this forum !

Thanks for all !

0 Kudos
Message 9 of 14
(5,302 Views)

What I am saying is if the final fold picture is what you expected then it should work.  You may have to rewrite portions of the code to make it work.

 

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 10 of 14
(5,294 Views)