Code covered by the BSD License  

Highlights from
Basic PCA based log-Likelihood Classifier

5.0

5.0 | 2 ratings Rate this file 85 Downloads (last 30 days) File Size: 1.27 MB File ID: #24817
image thumbnail

Basic PCA based log-Likelihood Classifier

by Dirk-Jan Kroon

 

22 Jul 2009 (Updated 11 Feb 2010)

PCA algorithm suitable for detection / recognition of 2D image "objects"

| Watch this File

File Information
Description

Introduction:
Many image problems require some kind of detection of objects, in which there is a natural variation in appearance of the objects between the images. For instance, face recognition, lesion detection, nerve channel segmentation.

These image problems can be solved by manually annotating of image objects to train a model which recognize normal object appearance. This can be done with a PCA based maximum likelihood classifier.

Software Description:
We provide here a basic PCA classifier for a two class classification problem. Two class is the most common, is an pixel a brain lesion or not?, is this face of the home owner or not?

Multiple Sclerosis example:
An example is given, with some multimodal MRI scans from Multiple Sclerosis patients, in which the brain lesions of two patients are annotated and in the third are detected by the PCA model. This example uses the gray-value regions and gray-value derivatives as feature vectors. But by using more or other features this example can be easily extended to your own recognition / detection example.

This example uses some c-code to get the image regions for speed improvement.

Literature:
- Kroon, D.J. and van Oort, E.S.B. and Slump, C.H. "Multiple Sclerosis Detection in Multispectral Magnetic Resonance Images with Principal Components Analysis"
- Kauffman et al. "Grip-pattern recognition for smart guns"

Final:
Try/study and than extend the example to your own application.

Please report bugs, success and suggestions.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
11 Sep 2009 ana meen

very good work

07 Dec 2009 ban hongliang  
26 Dec 2009 vimal

i need your help in this field. need algorithm of face recognition by PCA

Please login to add a comment or rating.
Updates
01 Oct 2009

Linux Ubuntu Tested

11 Feb 2010

Changed (I'm not entirely sure if it is correct) :
[U,S] = svd(G);
Geigenvalue=diag(S).^2
to
Geigenvalue=diag(S);

Tag Activity for this File
Tag Applied By Date/Time
pca Dirk-Jan Kroon 22 Jul 2009 10:03:39
classifier Dirk-Jan Kroon 22 Jul 2009 10:03:39
likelihood Dirk-Jan Kroon 22 Jul 2009 10:03:39
loglikelihood Dirk-Jan Kroon 22 Jul 2009 10:03:39
maximum likelihood Dirk-Jan Kroon 22 Jul 2009 10:03:39
detection Dirk-Jan Kroon 22 Jul 2009 10:03:39
face recognition Dirk-Jan Kroon 22 Jul 2009 10:03:39
recognition Dirk-Jan Kroon 22 Jul 2009 10:03:39
lesion detection Dirk-Jan Kroon 22 Jul 2009 10:03:39
multiple sclerosis Dirk-Jan Kroon 22 Jul 2009 10:03:39
classification Dirk-Jan Kroon 22 Jul 2009 10:03:39
images Dirk-Jan Kroon 22 Jul 2009 10:03:39
pictures Dirk-Jan Kroon 22 Jul 2009 10:03:39
object detection Dirk-Jan Kroon 22 Jul 2009 10:03:39

Contact us at files@mathworks.com