bugs in the correlate of the IMAQ

So, I have identified two major bugs in correlate IMAQ that make it unusable for my application (see post to the http://forums.ni.com/ni/board/message?board.id=170&message.id=401078#M401078 for more details about the bugs in IMAQ correlate). Does anyone have a dll or a C++ source code correlation standardized cross that I could use instead?

-root

Sorry, I misunderstood.  I did not need CC standard in the past, but I had a quick look at what might be required.  The best reference I found was Lewis (1995) "Fast normalized cross-correlation" (PDF link), which implements using tables of the sum.  If I'm lucky, I'll see if I can code it up (don't look too hard) - but probably using tables instead of the images to be reusable for 3D images.  It seems that the numerator of the NormCC can always be calculated in the frequency domain, and the tables of money speed up the calculation of the denominator.

Cheers ~ Greg

Tags: NI Hardware

Similar Questions

  • There seems to be a bug in the Pages.  I imported a text in my document to a different font.

    I imported a text in my document Pages.  The two texts were different.  Then I selected all the text and selected in Times New Roman for everything.  I saved and you leave.  I have then opened the document, and the types of two texts are still there.  How can I get everything to be Times New Roman?  That's why I think there is a bug in the Pages.

    Probably, you have two versions of the document and opened a bad.

    Peter

  • Are you aware of a possible bug in the version 3.6.23? In the browser, for example, "two /" appears with the slash through the 'o'. Is this a known bug? Thank you

    Are you aware of a possible bug in the version 3.6.23? In the browser, for example, "two /" appears with the slash through the 'o'. Is this a known bug?

    When the same text is seen in another browser, it is displayed correctly as "two."

    The same question is displayed on another computer.

    Thank you.

    Sounds that you use a font that supports ligatures (Palatino?).

  • IOS 9.3 there bugs for the iphone 6?

    Hi guys I have an iPhone 6 currently running in iOS 9.2.1 asked if it is wise to update the iOS to 9.3. Are they bugs in the new iPhone OS 6? Should I update the OS or not?

    just do the update via iTunes by keeping your connected phone. so far no bugs recorded

  • When I updated my iPhone 6 more iOS 9.3 my camera will not be to the point and seems blurred by far. I already reset my iPhone and my mother worked... Anything other ideas, might be a bug in the iOS update?

    When I updated my iPhone 6 more iOS 9.3 my camera will not be to the point and seems blurred by far. I already reset my iPhone and my mother worked... Anything other ideas, might be a bug in the iOS update?

    I would say "try and do a restore as new iPhone" like everyone else but I'm having a similar problem and nothing works! I've restored all the possible ways and nothing. I got my screen replaced and I still have the same home button but my phone updated with error 53 (makes the phone unusable) but the camera did work before the update. and Apple has released iOS 9.1.2 (13D 20) to correct the error 53 (mainly for other reasons) but when I go to use the camera, it is only black! If someone could help 'discovered' and I would be great!

  • First bug in the new HP update (7820)

    There is a bug in the application 2-var statistics.

    SHIFT + TRACE SETTINGS - see the image:

    Now look at the calculator after upgrade:

    Where the top menu of the page?

    In 7820, the brand is on the SYMB screen next to his color choices on the right (2nd line S1 config).  Line color selection is on the left (3rd line S1 config).

  • Satellite U200 163: a bug in the bios with linux

    on my u200 163 (with the new bios 1.3 works well on XP), linux (2.6.17) as Mandrvia 2007 or Ubuntu Edgy new distributions does not start ok. After grub starts, two lines talking about the bios bug and memory address not E820 reserved and not using MMC...?
    Y at - it a bug in the bios? Can I change something in my bios?
    These linux distributions work very well on other PC...

    Thank you!

    Hi ft

    Unfortunately I have no explanation for what is happening exactly to your device, but don t forget that your device is not supported under Linux and also designed for Windows XP.

    Satellite U200 is more recent and it is possible that in a month next someone will do some Linux experience on this unit and reported it here.

    Good bye

  • x 64 (64-bit) bug in the C API

    I try to get the C API of 64-bit running.  I have the 32-bit running API, and it is not working properly.  It seems that no API call in the 64-bit environment, which returns more than a single data type replaces a box of memory it does not.

    I work in VB.NET and enveloping with a marshaling calls.  The simplest example of a call that is not working properly is querying the active channels on the scope:

    C header:

    niVB_Status NIVB_DECL (niVB_MSO_QueryEnabledAnalogChannels)
    niVB_MSO_InstrumentHandle instrumentHandle,
    char * channels.
    size_t channelsSize,
    size_t * channelsSizeOut);

    There are several different ways to encode a managed, unmanaged for this translation.  First is to use an allocation to build a pointer on a buffer zone:

    Pointer = Marshal.AllocHGlobal (MAX_CSTRING_LENGTH)

    Then, the declaration looks like this:

    _
    Public Shared Function niVB_MSO_QueryEnabledAnalogChannels_64 (ByVal instrumentHandle As Integer, ByVal channel As Integer, ByVal channelsSize As UInteger, ByRef channelsSizeOut As UInteger) as niVB_Status
    End Function

    When the call is made, the call to channelsSizeOut returns 23 characters (which is correct).  Channels IntPtr is however cancelled (this should never happen, he suggests that the battery is getting damaged.)  If I put a very wide range locally around the pointer, sometimes it is not damaged.

    Or you can call the function by using a call to stringbuilder.  Basically, it replaces the IntPtr parameter with a string generator using marshaling for a pointer:

    Dim bufChannels As New StringBuilder (MAX_CSTRING_LENGTH)

    then the call looks like this:

    _
    Public Shared Function niVB_MSO_QueryEnabledAnalogChannels_64 (ByVal instrumentHandle As IntPtr, ByVal channel As StringBuilder, ByVal channelsSize As UInteger, ByRef channelsSizeOut As UInteger) as niVB_Status
    End Function

    Yet once, calling this function causes the stringbuilder class being together (Nothing), which is essentially showing that stack space where is the pointer to the StringBuilder is getting damaged.

    It is important to note that this code works perfectly with the 32-bit version of the DLL (with a programming construct).

    I don't think it's a bug in the C API; I can do the following for both x 86 and x 64 without triggering of MSVC stack Canaries. (Note that for brevity, it does no checking error in this code snippet.)

    #include
    #include
    #include ' nivirtualbench/nivirtualbench.h '.

    int main (int argc, char * argv)

    {

    niVB_LibraryHandle libHandle = NULL;

    niVB_MSO_InstrumentHandle msoHandle = NULL;

    size_t channelsSizeOut = 0;

    char * enabledChannels = NULL;

    niVB_Initialize (NIVB_LIBRARY_VERSION & libHandle);

    niVB_MSO_Initialize (libHandle, "brandonbench", false, & msoHandle);

    niVB_MSO_QueryEnabledAnalogChannels (msoHandle, NULL, 0, & channelsSizeOut);

    enabledChannels = (char *) calloc (channelsSizeOut, sizeof;

    niVB_MSO_QueryEnabledAnalogChannels (msoHandle, enabledChannels, channelsSizeOut, & channelsSizeOut);

    printf ("permit to channels: %s\n", enabledChannels);

    Free (enabledChannels);

    niVB_MSO_Close (msoHandle);

    niVB_Finalize (libHandle);

    }

    I suspect that the problem is in your marshaling. Size_t parameters are probably better represented using System.UIntPtr and not the type UInteger; size_t is 32-bit on 32-bit platform and 64 bits on 64-bit platforms, but UIntegers are 32-bit at a time. Try to write channelsSizeOut, it's probably what is triggering the corruption of the stack.

  • My integrated Webcam is recognized by MAX but not as the IMAQ device

    Hello

    I use with 2014 LabVIEW IMAQ 14 and IMAQdx14.

    I am able to use my webcame MAX both in the Vision Assistant, but when I am trying to generate vi, in the wizard, IEEE1394 Imaging is grayed out.

    When I am using triggered image acquisition and select cam0 as the name of the interface (name of my camera to the MAX), I get the error code:-1074397163 (NOR-IMAQ: the session or the interface passed is not valid.)

    In MAX, I can see and use my camera, but it appears directly in the devices and Interfaces (and not under devices NOR-IMAQ)

    I can't find out if it is compatible live show... Is this to say that my camera is not supported by IMAQ? Is there a way to check whether LabVIEW?

    Thank you

    Karol

    Hi Karol,

    Since you are able to use the camera in MAX, it is DirectShow compatible. The reason why you get this error, it is that your device is not compatible with the IMAQ driver. Instead, you should be using the driver IMAQdx and corresponding IMAQdx live. Once you use those, you should be able to control in LabVIEW. It isn't an IEEE 1394 device either, so I think that it is expected that all options for this would be grayed out. Hopefully that should get you going in the right direction, but please post again if you have problems with the generation of VI you.

    Thank you

    Katie

  • Bug in the conditional for loop with an array empty

    There seems to be a bug in the loop with a conditional terminal.

    If an empty array is connected to an indexed table auto entry tunnel, a tunnel of output array has an element instead of zero.

    The constant matrix is left empty.

    High loop without the conditional Terminal produces an empty array.

    Conditional down with a terminal loop never true generates an array containing a single element

    Thanks to LabVIEW version 8.5


  • queues the IMAQ image data type

    I'm trying to run multiple queues in the same loop entering IMAQdx images from several cameras, and then save to AVI. After reading the site nor a little, I discovered that the reason why I get only the last image of each bucket, repeated on all frames in the AVI file, is that the IMAQ image data type stores only the memory location for the image, not the image itself data. However, I don't see a better solution for the queues of the actual image data. What conversion could be the fastest / are in charge of the processor the lowest?

    For each image you must initial Image space.

    You can use something like this:

    You need to add initialization camera (s) and AVI. You must add the multicamera feature. Stop recording is missing.

    !!! Don't forget to throw lines and Images!

  • I think that there is a bug in the function RT Set CPU pool assignments (SMP)

    I'm trying to configure Symmetric multi Processing on a PXI controller which has 2 CPUs.  I check the number of processors using RT get number of processors (it gives me 2).  I have a constant matrix of wire to the RT Set CPU pool allocations function and create an array of 2 elements with system and reserved as the two values (to assign a single processor for my timed loop and the other for "everything else").

    It works, which means it seems to do the assignment.  But if I look at the assignments of Pool Set CPU error line, it returns-2231, "invalid CPU pool settings. Each pool must contain at least 1 CPU. »

    I do not know what that means, or why I am getting the error (I might just "ignore it", but if the error is 'real', which is not supposed to do).  The entrance to the Pool Set CPU assignment is described in the documentation as "an array of enumerations, with an entry for each CPU.  For me, this means 2 entries, which is what I have.

    Does anyone have a rational explanation of what's going on?  Is this a bug?  The documentation is the problem?  I have attached the front (showing the number of processors and the error output) and the (very simple) block diagram.

    Bob Schor

    Thank you, Bobby.

    I reread carefully the Note help "Specifies the Set of processors available for automatic load balancing".  Now that I know the 'right answer', I can interpret what is written as planned, but it's not easy!

    It is also curious that, although the previous example has generated error-2231, if we deleted the error (or wired never error line), function has, in fact, affect the system and Timed Structures pool to CPU0 (I have a few 'real' testing code that shows CPU0 with Structures Timed cycles).  Given that the function "does the right thing" even if you specify parameters of 'bad', perhaps it should be treated as a warning, not an error (or otherwise make a mistake of 'real' not assigned to a pool - it also wouldn't hurt to have a less obscure the Error Message, or more explicit "be sure to have at least a CPU explicitly assigned to each system and Timed Structures pools") , maybe in "BOLD".

    This code has no error:

    Hereby I give you credit for the 'Solution', but I'll mark my answer as the Solution because it has a photo to help readers who are intrigued by the question and our responses.

  • bug with the news of the spectrum

    Hello

    I have a problem with the FRF vi, which calculates the frequency response. The cluster 'info of the spectrum', the channel name is not changed when the FRF vi is looped. It seems that this problem is when the vi Polymorph selection is set to "1 stimulus, 1 reply.

    The attached vi shows my problem for a better understanding of the "bug".

    The channelname (and perhaps other properties of the spectrum) are not changed. I want to store the result of the FRF vi to a TDMS with polymorphic VI 'Write in TDMS' file available in the Toolbox for sound & Vibration. The Spectra must be registered with all of the properties and the channelname should change...

    Someone has an idea to fix this? Maybe I do not use the bandwidth as it should be, but it seems that there is a bug in the vi.

    Thanks for your help.

    Mathieu

    Hello

    I found what was wrong in my code.

    In order to have the good 'spectrum info', I put the entry "reboot on average" to true on the frequency response of vi.

    Mathieu

  • Photo of RGB of treatment with the functions of the IMAQ

    Hello!

    I have a CMUcam. I take a picture and I try to use the IMAQ functions to process the image, but they do not accept the image as input. :'(

    How these functions can see the image?

    Thanks for your help!

    You get a wire cut when wiring a photo to a VI IMAQ as data types are not compatible.  Unfortunately, LabVIEW does not come with a VI that makes this work.  Here is an example that should help you.

  • A BUG IN THE CALCULATOR

    Separated from this thread.

    A BUG IN THE CALCULATOR. HOW TO REPORT?

    Please go to http://answers.microsoft.com/en-us/windows , and then select your version of Windows, then (items Windows) > programs. After the issue of the calculator that you've discovered to see if anyone can post a solution or additional information.

    Don

  • Xbox will not connect to xbox live and said "Uh Oh, seems to have found a bug in the system.

    So I went to a game on my xbox and it froze, I so stop my xbox 360 and turned it. When it was turned on it says not connected to xbox live, so I did the steps and plugged but it got to the last step where it connects to xbox live, and it said unable to connect to live. So I went on the xbox website and I registered and it says "Uh Oh, seems to have found a bug in the system and it tells me I have no friends and it does not display my photo on the site...» It happened once in October, but has not occurred again until now. I need help please to find what's wrong.

    Try Xbox support:
    http://support.Xbox.com/en-us/

Maybe you are looking for