<< Click to Display Table of Contents >> Navigation: 3. Script Language > Image/Pixel-Color Operations > ANA. - Imageworks > Debug & Show IR's > Image/Pixel-Color Operations |
MiniRobotLanguage (MRL)
ANA.ShowHits
Display Result from Find-Operation
Intention
This Command will paint the found Hits in the given IR. Just like the "Show Hits" Button in the HE-Recorder.
'***********************************
' ANA.ShowHits-Sample
'***********************************
ANA.Load|0|?pattern\HelpM.png
' P1 - Target, P2 - Pattern, P3 - Color-Tolerance, P4 - min. Hits (Pixel) maximum Number:512 . We use -10%, P5 - Debugmode 0/1
ANA.Load|1|?pattern\Big_Ana.bmp
ANA.fpa|0|1|0|46|0
DMP.6
ANA.ShowHits|0!
ENR.
Lower picture: This is the Stack after the call to ANA.fpa Command.
Upper Picture: This is the IR with the found Results painted.
Syntax
ANA.ShowHits[|P1][|P2][|P3][!][!]
Parameter Explanation
P1 - Target IR
P2 - X-Size of Circles to paint
P3 - Y-Size of Circles to paint
If you specify the "!" then a Messagebox will appear and prevent the Script from Continue running.
If you specify the "!!" then a Messagebox will appear and prevent the Script from Continue running also the picture will be prefiltered for noise like its done with the internal search
Example
'***********************************
' ANA.ShowHits-Sample
'***********************************
ANA.Load|0|?pattern\HelpM.png
' P1 - Target, P2 - Pattern, P3 - Color-Tolerance, P4 - min. Hits (Pixel) maximum Number:512 . We use -10%, P5 - Debugmode 0/1
ANA.Load|1|?pattern\Big_Ana.bmp
ANA.fpa|0|1|0|46|0
DMP.6
ANA.ShowHits|0!
ENR.
Remarks
-
Limitations:
-
See also:
•