Geometric feature learning

From HandWiki
Revision as of 16:07, 6 February 2024 by WikiEditor (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Geometric feature learning is a technique combining machine learning and computer vision to solve visual tasks. The main goal of this method is to find a set of representative features of geometric form to represent an object by collecting geometric features from images and learning them using efficient machine learning methods. Humans solve visual tasks and can give fast response to the environment by extracting perceptual information from what they see. Researchers simulate humans' ability of recognizing objects to solve computer vision problems. For example, M. Mata et al.(2002) [1] applied feature learning techniques to the mobile robot navigation tasks in order to avoid obstacles. They used genetic algorithms for learning features and recognizing objects (figures). Geometric feature learning methods can not only solve recognition problems but also predict subsequent actions by analyzing a set of sequential input sensory images, usually some extracting features of images. Through learning, some hypothesis of the next action are given and according to the probability of each hypothesis give a most probable action. This technique is widely used in the area of artificial intelligence.

Introduction

Geometric feature learning methods extract distinctive geometric features from images. Geometric features are features of objects constructed by a set of geometric elements like points, lines, curves or surfaces. These features can be corner features, edge features, Blobs, Ridges, salient points image texture and so on, which can be detected by feature detection methods.

Geometric features

Primitive features
  • Corners: Corners are a very simple but significant feature of objects. Especially, Complex objects usually have different corner features with each other. Corners of an object can be extracted through Corner detection. Cho and Dunn [2] used a different way to define a corner by the distance and angle between two straight line segments. This is a new way by defining features as a parameterized composition of several components.
  • Edges: Edges are one-dimensional structure features of an image. They represent the boundary of different image regions. The outline of an object can be easily detected by finding the edge using the technique of edge detection.
  • Blobs: Blobs represent regions of images, which can be detected using blob detection method.
  • Ridges: From a practical viewpoint, a ridge can be thought of as a one-dimensional curve that represents an axis of symmetry. Ridges detection method-see ridge detection
  • salient points-see Kadir–Brady saliency detector
  • image texture
Compound features[3]
  • Geometric composition

Geometric component feature is a combination of several primitive features and it always consists more than 2 primitive features like edges, corners or blobs. Extracting geometric feature vector at location x can be computed according to the reference point, which is shown below:

[math]\displaystyle{ \textstyle\ x_{i}=x_{i-1}+\sigma _{i-1}d_{i}\begin{bmatrix} \cos (\theta _{i-1}+\phi _{i})\\ \sin (\theta _{i-1}+\phi _{i}) \end{bmatrix} }[/math]
[math]\displaystyle{ \textstyle\ \theta_{i}=\theta _{i-1}+\Delta \theta _{i} }[/math]
[math]\displaystyle{ \textstyle\ \sigma _{i}=\sigma _{i-1}\Delta \sigma _{i} }[/math]

x means the location of the location of features, [math]\displaystyle{ \textstyle \theta }[/math] means the orientation, [math]\displaystyle{ \textstyle\sigma }[/math] means the intrinsic scale.

  • Boolean Composition

Boolean compound feature consists of two sub-features which can be primitive features or compound features. There are two type of boolean features: conjunctive feature whose value is the product of two sub-features and disjunctive features whose value is the maximum of the two sub-features.

Feature space

Feature space was firstly considered in computer vision area by Segen.[4] He used multilevel graph to represent the geometric relations of local features.

Learning algorithms

There are many learning algorithms which can be applied to learn to find distinctive features of objects in an image. Learning can be incremental, meaning that the object classes can be added at any time.

Geometric feature extraction methods

Feature learning algorithm

1.Acquire a new training image "I".

2.According to the recognition algorithm, evaluate the result. If the result is true, new object classes are recognised.

  • recognition algorithm

The key point of recognition algorithm is to find the most distinctive features among all features of all classes. So using below equation to maximise the feature [math]\displaystyle{ \textstyle\ f_{max} }[/math]

[math]\displaystyle{ \textstyle\ I_{max}=\underset{f}{max}\underset{C}{max}I(C, F_{f}) }[/math]
[math]\displaystyle{ \textstyle\ I(C, F_{f})=-\underset{C}{\sum }\underset{F_{f}}{\sum }BEL(F_{f},C)\log \frac{BEL(C,F_{f})}{BEL(F_{f})BEL(C)} }[/math]

Measure the value of a feature in images, [math]\displaystyle{ \textstyle\ f_{max} }[/math] and [math]\displaystyle{ \textstyle\ f_{f_{max}} }[/math], and localise a feature:

[math]\displaystyle{ \textstyle\ f_{f_{(p)}}(I)=\underset{x\in I}{max}f_{f_{(p)}}(x) }[/math]

Where [math]\displaystyle{ \textstyle f_{f_{(p)}}(x) }[/math] is defined as [math]\displaystyle{ \textstyle f_{f_{(p)}}(I)=max\left \{ 0, \frac{f(p)^T)f(x)}{\left \| f(p) \right \|\left \| f(x) \right \|} \right \} }[/math]

  • evaluation

After recognise the features, the results should be evaluated to determine whether the classes can be recognised, There are five evaluation categories of recognition results: correct, wrong, ambiguous, confused and ignorant. When the evaluation is correct, add a new training image and train it. If the recognition failed, the feature nodes should be maximise their distinctive power which is defined by the Kolmogorov-Smirno distance (KSD).

[math]\displaystyle{ \textstyle KSD_{a,b}(X)=\underset{\alpha }{max}\left | cdf(\alpha |a) -cdf(\alpha |b)\right | }[/math]

3.Feature learning algorithm After a feature is recognised, it should be applied to Bayesian network to recognise the image, using the feature learning algorithm to test.

  • The main purpose of feature learning algorithm is to find a new feature from sample image to test whether the classes are recognised or not. Two cases should be consider: Searching for new feature of true class and wrong class from sample image respectively. If new feature of true class is detected and the wrong class is not recognised, then the class is recognised and the algorithm should terminate. If feature of true class is not detected and of false class is detected in the sample image, false class should be prevented from being recognised and the feature should be removed from Bayesian network.
  • Using Bayesian network to realise the test process

PAC model based feature learning algorithm

Learning framework

The probably approximately correct (PAC) model was applied by D. Roth (2002) to solve computer vision problem by developing a distribution-free learning theory based on this model.[5] This theory heavily relied on the development of feature-efficient learning approach. The goal of this algorithm is to learn an object represented by some geometric features in an image. The input is a feature vector and the output is 1 which means successfully detect the object or 0 otherwise. The main point of this learning approach is collecting representative elements which can represent the object through a function and testing by recognising an object from image to find the representation with high probability. The learning algorithm aims to predict whether the learned target concept [math]\displaystyle{ \textstyle f_{T}(X) }[/math] belongs to a class, where X is the instance space consists with parameters and then test whether the prediction is correct.

Evaluation framework

After learning features, there should be some evaluation algorithms to evaluate the learning algorithms. D. Roth applied two learning algorithms:

1.Sparse Network of Winnows(SNoW) system
  • SNoW-Train
    • Initial step: initial the set of features [math]\displaystyle{ \textstyle F_{t}=\phi }[/math] which linked to target t for all [math]\displaystyle{ \textstyle t\in T }[/math]. T is a set of object targets whose elements are [math]\displaystyle{ \textstyle t_{1} }[/math] to [math]\displaystyle{ \textstyle t_{k} }[/math]
    • If each target object in set T belongs to a list of active features, link feature to target and set initial weight at the same time.
    • Evaluate the targets : compare targets [math]\displaystyle{ \textstyle \underset{i\in e}{\sum }w_{i}^{t} }[/math] with [math]\displaystyle{ \textstyle \theta_{t} }[/math], where [math]\displaystyle{ \textstyle w_{i}^{t} }[/math] is the weight on one position connecting the features i to target t. \theta_{t} is the threshold for the target not t.
    • Update weight according to the result of evaluation. There are two cases: predicted positive on negative example ([math]\displaystyle{ \textstyle \underset{i\in e}{\sum }w_{i}^{t}\gt \theta_{t} }[/math] and targets are not in the list of active features) and predicted negative on positive example([math]\displaystyle{ \textstyle \underset{i\in e}{\sum }w_{i}^{t}\leq \theta_{t} }[/math] and targets are in the list of active features).
  • SNoW-Evaluation
    • Evaluate the each target using same function as introduced above
    • Prediction: Make a decision to select the dominant active target node.
2. support vector machines

The main purpose of SVM is to find a hyperplane to separate the set of samples [math]\displaystyle{ \textstyle (x_{i},y_{i}) }[/math] where [math]\displaystyle{ \textstyle x_{i} }[/math] is an input vector which is a selection of features [math]\displaystyle{ \textstyle x\in R^{N} }[/math] and [math]\displaystyle{ \textstyle y_{i} }[/math] is the label of [math]\displaystyle{ \textstyle x_{i} }[/math]. The hyperplane has the following form: [math]\displaystyle{ \textstyle f(x)=sgn\left ( \sum_{i=1}^{l}y_{i}\alpha _{i}\cdot k(x,x_{i})+b \right )=\left\{\begin{matrix} 1, positive\; inputs\\ -1, negative\; inputs \end{matrix}\right. }[/math]

[math]\displaystyle{ \textstyle k(x,x_{i})=\phi (x)\cdot \phi (x_{i}) }[/math] is a kernel function

Both algorithms separate training data by finding a linear function.

Applications

  • Landmarks learning for topological navigation[6]
  • Simulation of detecting object process of human vision behaviour[7]
  • Learning self-generated action [8]
  • Vehicle tracking[9]

References

  1. M. Mata and J. M. Armingol and A. De La Escalera and M. A. Salichs, "Learning visual landmarks for mobile robot navigation", In Proceedings of the 15th World congress of the International Federation of Automatic Control, 2002
  2. Cho, K., and Dunn, S.M "Learning shape classes". IEEE Transactions on Pattern Analysis and Machine Intelligence 16,9(1994), 882-888
  3. Justus H Piater, "Visual feature learning" (January 1, 2001). Electronic Doctoral Dissertations for UMass Amherst. Paper AAI3000331.
  4. Segen, J., Learning graph models of shape. In Proceedings of the 5th International Conference on Machine Learning(Ann Arbor, June 12–14, 1988), J. Larid, Ed., Morgan Kaufmann
  5. D. Roth, M-H. Yang, and N. Ahuja. Learning to recognise three-dimensional objects. Neural Computation, 14(5): 1071–1104, 2002.
  6. M. Mata, J. M. Armingol, Learning Visual Landmarks for Mobile Robot Navigation, Division of Systems Engineering and Automation, Madrid, Spain, 2002
  7. I. A. Rybak, BMV: Behavioral Model of Visual Perception and Recognition, Human Vision, Visual Processing, and Digital Display IV
  8. P. Fitzpatrick, G. Metta, L. Natale, S. Rao, and G. Sandini, “Learning About Objects Through Action - Initial Steps Towards Artificial Cognition,” in IEEE Int. Conf on Robotics and Automation, 2003, pp. 3140–3145.
  9. J.M. Ferryman, A.D. Worrall, and S.J. Maybank. Learning enhanced 3d models for vehicle tracking. In Proc. of the British Machine Vision Conference, 1998