Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Pattern Matching

Hi Guys,

 

I am a novice Vision Module user and so I need help from image experts to guide me.

 

I have two image files (Jpeg format) namely Main Image.jpeg and Subset Image.jpeg. I want to locate 'Subset Image.Jpeg' file inthe 'Main Image.Jpeg' file. I tried with the Pattern matching.vi but could not succeed. Can anyone please help me with the best possible way to go about it. 

 

Attached are the two image files.

 

Thanks in advance for your time helping me.

 

Alifi

0 Kudos
Message 1 of 6
(3,872 Views)

Your "Subset Image" is not very similar to the "Main Image". That's why Pattern Matching will not work without any further image processing.
Easiest approach to get Pattern Match running: Create a subset image that is part of the main image.
Is this an option for you?

0 Kudos
Message 2 of 6
(3,860 Views)

Thanks for the response GuenterMueller. No, I cannot do what you have suggested. Because this how the images are going to be. Can you please suggest me any other way of doing it..

 

Thanks for your time.

0 Kudos
Message 3 of 6
(3,856 Views)

Hi alifi,

As GuenterMueller suggested you have to train your pattern match algorithm to find the subset.

 

The subset image is basically a png image which also have some information about the master pattern.  So its not possible to search this image and its very difficult to do this with any other algorithm.

---
Silver_Shaper | CLD
0 Kudos
Message 4 of 6
(3,852 Views)

Thanks for the response Sasi. 

0 Kudos
Message 5 of 6
(3,828 Views)

In the following we proceed to function block search pattern extracted in the previous process (the parameters as rotation angle and minimum score is inserted into SETTINGS control), extract the output of the search function to get the position values indicators that will be displayed on the front panel)

 

5.png

0 Kudos
Message 6 of 6
(3,621 Views)