Patent ID: 8548231

Claim:
A method for a detection of a pattern having one or more features from image data of a scene, comprising: defining a set of rules to detect the pattern based on the one or more features using a plurality of first order logic bilattice predicates; obtaining the image data related to the scene; a processor processing the image data with one or more detectors to detect the one or more features; the processor executing the set of rules to detect the pattern based on a presence or an absence of each of the one or more features; the processor generating data related to: a justification that the set of rules detected the pattern; a location in the scene where the pattern occurs, and a measure of uncertainty related to the detection of the pattern; wherein the set of rules is implemented as a knowledge-based artificial neural network; wherein the measure of uncertainty related to the rule is expressed as a link weight in the knowledge-based artificial neural network; and wherein the link weight is optimized by applying a change being expressed as: Δ ⁢ ⁢ w ji + = ηδ j [ ∏ l ⁢ ⁢ ϕ ⁡ ( o il ) ] [ 1 - ⊎ k ≠ m ⁢ w jm + ⁢ ∏ l ⁢ ⁢ ϕ ⁡ ( o ml ) ] and Δ ⁢ ⁢ w ji - = - ηδ j [ ∏ l ⁢ ⁢ ϕ ⁡ ( o il ) ] [ 1 - ⊎ k ≠ m ⁢ w jm - ⁢ ∏ l ⁢ ⁢ ϕ ⁡ ( o ml ) ] with Δw ji + is a change in link weight related to a propositional rule j for grounded atoms o ji , in a rule body, Δw ji − is a change in link weight related to the propositional rule j against grounded atoms o ji , in the rule body, φ(j) is an evidence for component of truth assignment to a propositional rule j corresponding to a node in the knowledge-based artificial neural network, is a probabilistic sum operator, η is a constant, and δ j is a difference between an output of node j and a ground truth of node j.