Error imaq color pattern

hi, I'm trying to do a draft color pattern recognition, but labview gives me this error, I hope you can help me, let the files, thank you very much
Error -1074395384 occurred at IMAQ Match Color Pattern
Possible reason(s):
IMAQ Vision: Invalid color template image.
Attachments:
pastillas1.png ‏55 KB
pastillas2.jpg ‏42 KB
Parámetros de Búsqueda Color.vi ‏78 KB

Hello,
the general idea is:
Best regards,
K
https://decibel.ni.com/content/blogs/kl3m3n
"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

Similar Messages

  • Error -1074395395 occurred at IMAQ Match Color Pattern after merge programs

    Dear all
    I  have 2 separate programs that use same source image (red01a1.jpg). The first find location of color particles (color location 01.vi) and second find location of particles after threshold  color image (particle location 01.vi).  Both of them run good.  
    But when  2 programs were merged  into one program (color sorter 01i.vi), that happened error . The error message is “Error -1074395395 occurred at IMAQ Match Color Pattern”. How can I fix it ?
    Thanks  
    Solved!
    Go to Solution.
    Attachments:
    color sorter 01i.vi ‏126 KB
    Color -particle location.zip ‏86 KB
    red01a1.zip ‏86 KB

    Hi Xuan
    Check it out the attached vi
    Sasi.
    Certified LabVIEW Associate Developer
    If you can DREAM it, You can DO it - Walt Disney
    Attachments:
    color sorter 01i.vi ‏120 KB

  • IMAQ Learn Color Pattern hangs

    Running Labview 2012 SP1 and Vision Development Module 12.1.0.  IMAQ Learn Color Pattern appears to hang if you call it without defining an ROI.  See attached program - it is intended that user define an ROI then click "Define ROI" button.  If you click the button without first defining an ROI, Learn Color Pattern hangs for over a minute then returns OK.  I found a workaround for this by checking for a valid ROI before calling the VI, but it seems unusual behavior for Labview.
    Attachments:
    learn color pattern hangs.zip ‏74 KB

    Hi Bucky,
    I took a look at your program, and if I run it with highlight execution, I can see that the program is waiting on the Learn Color Pattern function as you said. However, I don't think this would be considered hanging. The front panel is still responsive, and if you add other processes to the program, they continue running while the Learn Color Pattern function is executing.
    I believe the long execution time is because when no ROI is specified, the function acts on the entire image, which takes a fair amount of time. You can confirm this by selecting a ROI that is almost the size of the entire image. The program takes a similarly long time to execute. The best way to cut down on execution time would be to select a smaller ROI. I hope this helps!
    David S.

  • IMAQ Learn Pattern 2.vi -1074395247 error

    Hi,
    Development Environment:
    LabVIEW 2012 32-bit (12.0f3)
    Vision 2012
    Description:
    Can anyone please shed some light on what ROI Descriptors types are allowed for IMAQ Learn Pattern 2?. Are only certain ROI types allowed for this VI, or can you use any type? I am attempting to create a template image with a mask - The ROI Descriptors type is set to polygon - is this valid or possible?
    I get the -1074395247 error: "Invalid template descriptor".
    However, just by simply changing the ROI type to Rectangle (and the coordinates to suit), I do not get this error (although this does not correctly mask out the pixels I don't need)
    Thanks!
    Christopher Farmer
    Certified LabVIEW Architect
    Certified TestStand Developer
    http://wiredinsoftware.com.au
    Solved!
    Go to Solution.

    Hi Chris,
    I would consult this KnowledgeBase article which points out why the error is occurring: http://digital.ni.com/public.nsf/allkb/F05924D50AD6472B86256F320075CDBF
    Further there should be an example available for this particular VI and its usages with this directory: 
    LabVIEW\examples\Vision\2. Functions\Pattern Matching\Pattern Matching Example.llb 
    Thanks!
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • Slowness of color pattern matching vi

    Hi,
    We're trying to implement a SLAM (simultaneous localization and mapping) algorithm in Labview based on kinect. In order to do so, the mapping robot should spot landmarks in real-time from the kinect image. We found the color pattern matching VI which does exactly what we need but the problem is that it's very slow (about 1.5 seconds for each image and total of 3 images each iteration). Is this the normal time for detecting landmarks in a kinect image? The robot can't map accurately when the iteration is so slow.
    Thanks,
    Rap Master
    Attachments:
    detect landmarks.vi ‏61 KB

    Given that the pattern matching VI is an IMAQ (Image Acquisition) VI, this question will be best served by posting in our Machine Vision forums.
    Blake C.
    Applications Engineer
    National Instruments
    www.ni.com/support

  • IMAQ Match Pattern

    I just cant get my program to work. If I define the structure I'm
    looking for with a ROI it works very nicely, but when I try to load an
    image to look for it just crashes with the following error code:
    -1074396160
    IMAQ Learn Pattern
    System error.
    Do anyone hava a clue what that means?
    thanx

    A couple of things to look at-
    If you are loading an image from disk and trying to use that image directly as the source for the IMAQ Match Pattern 2.vi, you will need to have the image "learned" previously, and then save it as a PNG. The PNG file type can save the extra information associated with a pattern to match.
    If you are loading an image and learning it in your program, you will need to make sure that the image to learn is 8 bit, and that all other settings for the IMAQ Learn pattern are connected.

  • Error: Suite Color Management is not enabled | Bridge CS6

    When i go to Edit > Creative Suite Colour Settings in Adobe Bridge, I am receiving the following error:  "Suite Colour Management is not enabled. Suite Colour Management requires that a qualifying product has been launched at least once to enable this feature. Then I searched this issue in Google and I got a solution from the link http://helpx.adobe.com/creative-suite/kb/error-suite-color-management-enabled.html . I did all instructions one by one but my issue still not resolved. i purchased this license very recently From Al suwaidi computers
    Photoshop version is : Photoshop CS6 .kindly help me to resolve this issue

    Hi Curt ,
    I have already purchased adobe Photoshop cs6 13.0 MLP AOO License and illustrator CS6 13.0 MLP AOO License (i have selected to install all packages along with this ). i did all set up as per the instructions that post by adobe  http://helpx.adobe.com/creative-suite/kb/error-suite-color-management- enabled.html but still i cannot access creative suite color settings it says the same message ..
    "   Suite Color Management is not enabled. Suite Color Management requires that a qualifying product has been launched at least once to enable this feature "
    Info:-
    I am using a Z820 workstation with NVidia graphics but it not showing any hardware related errors
    Regards,
    Sangeeth Sagar,

  • Color pattern match in consumer producer architecture

    The way I currently have my code is as follows:
    If the number of matches in a color pattern match is greater than 0, it sends the information to the consumer loop.
    If it is not greater than 0, it doesn't send anything.
    What I was wondering is, if it finds a match the first time and it sends the information to the consumer loop, will the number of matches in the color pattern match return to 0 or will it be greater than 0 after the first match? If the number of matches in the color pattern match will be greater than 0 after the first match, and it will still be greater than 0, even though it doesn't find a match in the following scenarios, how can I make the number of matches in the color pattern match return to 0?

    Fernan1988 wrote:
    ... will the number of matches in the color pattern match return to 0 or will it be greater than 0 after the first match?...
    it's hard to say unless you can post your code....have you tried probing tool,retain wire value,highlight execution,single stepping into and out, breakpoints?

  • Color pattern matching is very slow

    Hi
    I tried this code creating one vi application.
    After the testing with USB webcam I have realized that the color pattern matching is very slow. How to increase the speed and to work smoothly in real time.
    Thank you

    Hello tiho,
    the color pattern matching is not as fast as 8-bit matching, but should still be fast.
    For example, I am attaching a VI for color pattern matching where you load the image, create the template and search do the matching.
    In my example I tried color pattern matching on color image of size 4288x2848 pixels and the matching is performed in ~140 ms (~7Hz). So, for a smaller image, I think the real-time processing is quite achievable (I consider real-time 20 Hz or more). The only problem is the template learning, which in my case takes around 10 seconds. But you should learn the template only once in the initialization stage.
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
    Attachments:
    color matching.zip ‏49 KB

  • Color Pattern?

    In Diagnostic mode, I can see under LCD an option to change the color pattern, but I can't seem to. How do I do this?

    There is no way to change the color pattern. What you are seeing is simply a line of code from Apple. Perhaps they were testing a few different color patterns during development.

  • Color Pattern Calibration

    Does FIOS or a channel on FIOS provide a color pattern to calibrate the video on one's TV and Projector?  Thanks.

    william1 wrote:
    Does FIOS or a channel on FIOS provide a color pattern to calibrate the video on one's TV and Projector?  Thanks.
    No. You'll have to use calibration discs such as Disney WOW, DVE, Spears and Munsil, etc.

  • Error, "check color cartridge". black sludge in well below cartridges.

     I refilled my cartridges from costco a while back.I was getting error, "check color cartridge" so I refilled the color cartridge, but am still getting the same error. I removed both cartridges and see black sludge in the cartridge well. I used a wet paper towel to wipe it (inserted by narrow nosed pliers) and it was black.I have had it for 6 years and is too expensive to repair. Can I fix it myself?Any help appreciated.  

    If cleaning the cartridge and printer contacts does not resolve the issue then check the spring as shown in this page.   It may also help to remove the black cartrdige and compare the springs on the black cartrdige side with the color cartridge spring.  If the spring is dislodged (1) you will need to have the printer serviced.  If the spring is dislodged but has not damaged the flex circuitry (2) then some have reported success epoxying the spring back in position.  

  • Weird colored patterns in RGB mode document with Illustrator CC

    Hi guys,
    I'm having weird glitches in Illustrator CC: when I open a new document with RGB mode, the artboard displays colored patterns :
    These patterns change when I move inside the artboard, when I zoom in ...
    I don't have this behavior when I work with a CMYK.
    It seems to be a graphic card issue but I don't have problem with other software (Photoshop, InDesign, Premiere ...) and my computer is brand new.
    I have a Lenovo ThinkPad W540 (http://shop.lenovo.com/us/en/laptops/thinkpad/w-series/w540/ with Windows 7 64 bits.
    Thank you !

    What are the Photoshop > Preferences > Transparency & Gamut > Transparency Settings?
    Boilerplate-text:
    Does turning off OpenGL in the Performance Preferences and restarting Photoshop have any bearing on the issue?
    Other than that are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop, 3rd party plug-ins deactivation, system maintenance, font validation, etc.)?

  • Infopath throws error "only specific pattern allowed" when use regular expression for validation in schema

    This is MS info path question, I could not find specific forum for Info-Path So asking my question here
    I am creating Info-Path form from schema. In the schema, the filename has restriction that it can only have extension .pdf or .PDF. But while filling out the form even if I type filename with extension ".pdf", I still see error "only
    specific pattern allowed".
    Below is my schema I used to create form
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="Document">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FileName" type="FileNameType"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:simpleType name ="FileNameType">
    <xs:restriction base="xs:string">
    <xs:pattern value="^.*\.(pdf|PDF)$"/>
    <xs:minLength value="1" />
    <xs:maxLength value="128" />
    </xs:restriction>
    </xs:simpleType>
    </xs:schema>

    Hi
    This is the forum to discuss questions about Microsoft Office development. For your question, I recommend you post the question to the Answers forum for Infopath
    Microsoft Community for​ InfoPath​
    By the way, you can get support from here.  Support for Microsoft InfoPath
    Thank you for your understanding.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem while using color pattern matching

    Currently we are doing projects on real time object tracking where we found one doubt that irrespective of the object size whether this color pattern match works or not . My questions are as follows:
    1. Whether it is applicable for objects moving far . Because as it moves far, the size of the object decreases such that the color pattern matching is not working what will be solution since we must use color image
    2. What is the difference in using scale and  rotate invarient in color pattern matching
    3. How we can effectively decrease the ROI depending upon the object position as per below attached screen shots .
    we have removed boundary box values of X and Y coordinates at the four corner but we can't track as the object moves far away or we can't decrease the ROI as the object moves far.
    4. whether it is possible to see the value of particular pixel  in LABVIEW vision development module as we seen only the coordinate position . whether it is applicable to see particular pixel value. Guide us
    please, see the below screen shots and provide the solution how effectively decrease or increase  the ROI depending on objects position using color pattern match
    Attachments:
    problem in matching while object moves far.png ‏515 KB

    Hello,
    I have not been using the color pattern matching a lot (especially not in real-time). But since the pattern matching considers only small scale changes, you could try updating the color template every n-th iteration (depending on your setup and requirements). The major problem is the template size, since the color pattern matching tends to take quite a lot of time in learning the template. You would of course need to come up with some idea on how to change the subimage size, where the new template will be learned.
    This is the part of coarse (rough) object detection as was suggested by MoviJOHN. For example, if your object is distinctly red, you can extract the green channel from your rgb image and use threshold to roughly find the object and apply the new ROI - template.
    So:
    1. learn the template,
    2. use pattern matching with bounding rectangle (ROI) for the next couple of frames (you would need to experiment here where the detection fails -> how fast can you move the object away so that the detection fails),
    3. Before the detection fails -> rough object detection with some padded bounding rectangle (new ROI),
    4. Re-learn te template of new ROI and go back to 2.
    Again, the biggest issue is the template learning time - if you have a high resolution camera and the template is large, this won't satisfy your real-time application.
    You should set up the appropriate illumination first. The resolution is also important, since your object is moved back and forth (but the resolution will have a direct impact on the template learning time).
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

Maybe you are looking for