Skip to content

Add match processor #119

@yuripourre

Description

@yuripourre

The goal of this algorithm is to find an imageSource inside another imageSource.

Mask may contain alpha pixels to be ignored (a = 255);

Return x,y position

int[] MatchProcessor.process(ImageSource mask);

int array is more general than specific Objects.

step can useful to skip pixels. Is easy to skip mask or image but is hard to do with both.
stepX requires you to check (0,0) and (1,0)
stepY requires you to check (0,0) and (0,1)

Maybe useful algorithm:
https://stackoverflow.com/a/297820

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions