## 1. Introduction

In the present chapter the authors have ventured to explain the process of recognition of physiological and behavioural traits of human-gait and human-face images, where a trait signifies a character on a feature of the human subject. Recognizing physiological and behavioural traits is a knowledge intensive process, which must take into account all variable information of about human gait and human face patterns. Here the trained data consists of a vast corpus of human gait and human face images of subjects of varying ages. Recognition must be done in parallel with both test and trained data sets. The process of recognition of physiological and behavioural traits involves two basic processes: *modelling* and *understanding*. Recognition of human-gait images and human-face images has been done separately. Modelling involves formation of a noise-free artificial human gait model (AHGM) of human-gait images and formation of artificial human-face model (AHFM) of human-face images. Understanding involves utilization of the hence formed models for recognition of physiological and behavioural traits. Physiological traits of the subject are the measurement of the physical features of the subject for observation of characteristics. The observable characters may be categorized into four factors: *built, height, complexion* and *hair*. Behavioural traits of the subject involve the measurement of the characteristic behaviour of the subject with relevant to four factors: *dominance, extroversion, patience* and *conformity*. Recognition in this chapter has been done in two environments: *open-air space* and *clear-under-water space.* The current chapter presents a well defined application of high-end computing techniques like soft-computing, utility computing and also some concepts of cloud computing.

## 2. Modelling of AHGM and AHFM

### 2.1. Illustration of an Artificial Human-Gait Model (AHGM)

Human-gait analysis is a systematic study and analysis of human walking. It is used for diagnosis and the planning of treatment in people with medical conditions that affect the way they walk. Biometrics such as automatic face and voice recognition continue to be a subject of great interest. Human-Gait is a new biometric aimed to recognize subjects by the way they walk (Cunado et al. 1997). However, functional assessment, or outcome measurement is one small role that quantitative human-gait analysis can play in the science of rehabilitation. If the expansion on human-gait analysis is made, then ultimate complex relationships between normal and abnormal human-gait can be easily understood (Huang et al. 1999; Huang et al. 1999). The use of quantitative human-gait analysis in the rehabilitation setting has increased only in recent times. Since past five decades, the work has been carried out for human-gait abnormality treatment. Many medical practitioners along with the help of scientists and engineers (Scholhorn et al. 2002) have carried out more experimental work in this area. It has been found from the literature that two major factors: *time* and *effort*, play a vital role. In the present chapter, a unique strategy has been adopted for further analysis of human-gait using above two factors for the recognition of physiological and behavioral traits of the subject. Many researchers from engineering field till 1980 have not carried out the work onhuman-gait analysis. In the year 1983, Garrett and Luckwill, carried the work for maintaining the style of walking through electromyography and human-gait analysis. In the year 1984, Berger and his colleagues, detected angle movement and disturbances during walking. In the year 1990, Yang and his colleagues, further carried the experimental work for the detection of short and long steps during walking. In the year 1993 Grabiner and his colleagues investigated that when an obstacle is placed in the path of a subject, how much time is taken by the subject to recover its normal walking after hitting an obstacle. In the year 1994, Eng and his colleagues, with little modifications and detection of angles, have carried out the same work. In the year 1996 again Schillings and his colleagues investigated similar type of work with little bit modifications in the mechanism as adopted by Grabiner and Eng in the year 1993 and 1994 respectively. In the year 1999 Schillings and his colleagues further carried the work that was done in the year 1996 with little modifications. In the year 2001 Smeesters and his colleagues calculated the trip duration and its threshold value by using human-gait analysis. From the literature, it has been also observed that very little amount of work has been carried out using high-end computing approach for the biometrical study through human-gait. The schematic diagram for the formation of knowledge-based model, that is, AHGM has been shown in figure 1.

Figure 1 gives an outline of the process of formation of AHGM. In this process a known human-gait image has to be fed as input. Then it has to be pre-processed for enhancement and segmentation. The enhancement is done for filtering any noise present in the image. Later on it is segmented using connected component method (Yang 1989; Lumia 1983). Discrete Cosine Transform (DCT) is employed for loss-less compression, because it has a strong energy compaction property. Another advantage in using DCT is that it considers real-values and provides better approximation of an image with fewer coefficients. Segmentation is carried out for the detection of the boundaries of the objects present in the image and also used in detecting the connected components between pixels. Hence the Region of Interest (ROI) is detected and the relevant human-gait features are extracted. The relevant features that have to be selected and extracted in the present chapter are based on the physical characteristics of human-gait of the subject. The physical characteristics that must be extracted are: foot-angle, step-length, knee-to-ankle (K-A) distance, foot-length and shank-width. These features are calculated using Euclidean distance measures. The speed of the human-gait can be calculated using Manhattan distance measures. Based on these features relevant parameters have to be extracted. The relevant parameters based on aforesaid geometrical features are: mean, median, standard deviation, range of parameter (lower and upper bound parameter), power spectral density (psd), auto-correlation and discrete wavelet transform (DWT) coefficient, eigen-vector and eigen-value. In this chapter of the book, the above parameters have been experimentally extracted after analyzing 10 frames of human-gait image of 100 different subjects of varying age groups. As the subject walks, the configuration of its motion repeats periodically. For this reason, images in a human-gait sequence tend to be similar to other images in the sequence when separated in time by the period of the human-gait. With a cyclic motion such as a human-gait, the self-similarity image has a repeating texture. The frequency of the human-gait determines the rate at which the texture repeats. Initially the subject is standing at standstill position. During this instance the features that have to be extracted are the foot-length, symmetrical measures of the knee- length, curvature measurement of the shank, maximum-shank-width and minimum-shank-width. Through the measurement of the foot-length of both the legs of the subject, the difference in the length of two feet can be detected. From the symmetrical measurement of the knee-length, the disparity in length of legs, if any, can be measured. Through curvature measurement of the shank, any departure from normal posture can be detected. Measurement of shank-width helps in predicting probable anomalies of the subject and also will show any history of injury or illness in the past. The relevant feature based parameters that have to be extracted are fed as input to an Artificial Neuron (AN) as depicted in figure 2. Each neuron has an input and output characteristics and performs a computation or function of the form, given in equation (1):

where X = (x_{1},x_{2},x_{3},….,x_{m}) is the vector input to the neuron and W is the weight matrix with w_{ij} being the weight (connection strength) of the connection between the j^{th} element of the input vector and i^{th} neuron. W^{T} means the transpose of the weight matrix. The f (.) is an activation or nonlinear function (usually a sigmoid), O_{i} is the output of the i^{th} neuron and S_{i} is the weighted sum of the inputs.

A single artificial neuron, as shown in figure 2, by itself is not a very useful tool for AHGM formation. The real power comes when a single neuron is combined into a multi-layer structure called artificial neural networks. The neuron has a set of nodes that connect it to the inputs, output or other neurons called synapses. A linear combiner is a function that takes all inputs and produces a single value. Let the input sequence be {X_{1},X_{2},…,X_{N}} and the synaptic weight be {W_{1},W_{2},W_{3},….,W_{N}}, so the output of the linear combiner, Y, yields to equation (2),

An activation function will take any input from minus infinity to infinity and squeeze it into the range –1 to +1 or between 0 to 1 intervals. Usually an activation function being treated as a sigmoid function that relates as given in equation (3), below:

The threshold defines the internal activity of the neuron, which is fixed to –1. In general, for the neuron to fire or activate, the sum should be greater than the threshold value.

In the present chapter, feed-forward network has to be used as a topology and back propagation as a learning rule for the formation of corpus or knowledge-based model called AHGM. This model has to be optimized for the best match of features using genetic algorithm. The matching has to be done for the recognition of behavioural features of the subject, not only in open-air-space but also in under-water-space. The reason for adopting genetic algorithm is that, it is the best search algorithm based on the mechanics of natural selection, mutation, crossover, and reproduction. They combine survival of the fittest features with a randomized information exchange. In every generation, new sets of artificial features are created and are then tried for a new measure after best-fit matching. In other words, genetic algorithms are theoretically and computationally simple on fitness values. The crossover operation has to be performed by combining the information of the selected chromosomes (human-gait features) and generates the offspring. The mutation and reproduction operation has to be utilized by modifying the offspring values after selection and crossover for the optimal solution. Here in the present chapter, an AHGM signifies the population of genes or human-gait parameters.

#### 2.1.1. Mathematical formulation for extraction of physiological traits from human-gait

Based on the assumption that the original image is additive with noise. To compute the approximate shape of the wavelet (that is, any real valued function of time, possessing a specific structure), in a noisy image and also to estimate its time of occurrence, two methods are generally used. The first one is simple-structural-analysis method and the second one is the template-matching method.Mathematically, for the detection of wavelets in noisy image, assume a class of wavelets, S_{i}(t), I = 0,...N-1, all possess certain common structural features. Based on this assumption that noise is additive, then the corrupted image has to be modeled by the equation,

where i(m,n) is the clean image, d(m,n) is the noise and G is the term for signal-to-noise ratio control. Next windowing the image and assuming G = 1, equation (4) becomes:

Fourier transform of both sides of equation (5), yields:

Where X_{w}(e^{jω1},e^{jw2}), I_{w}(e^{jω1},e^{jw2}) and D_{w}(e^{jω1},e^{jw2}) are the Fourier transforms of windowed noisy, original-image and noisy-image respectively.

To de-noise this image, wavelet transform has to be applied. Let the mother wavelet or basic wavelet be ψ(t), which yields to,

Further as per the definition of Continuous Wavelet Transform CWT (a,τ), the relation yields to,

The parameters obtained in equation (8) have to be discretized, using Discrete Parameter Wavelet Transform (DPWT).

This DPWT (m, n) is to be obtained by substituting a =_{0}

where ‘m’ and ‘n’ are the integers, a_{0} and τ_{0} are the sampling intervals for ‘a’ and ‘τ’, x(k,l) is the enhanced image. The wavelet coefficient has to be computed from equation (9) by substituting a_{0} = 2 and τ_{0} = 1.

Further the enhanced image has to be sampled at regular time interval ‘T’ to produce a sample sequence {i (mT, nT)}, for m = 0,1,2, M-1 and n=0,1,2,…N-1 of size M x N image. After employing Discrete Fourier Transformation (DFT) method, it yields to the equation of the form,

for u=0,1,2,…,M-1 and v = 0, 1, 2, ……..,N-1

In order to compute the magnitude and power spectrum along with phase-angle, conversion from time-domain to frequency-domain has to be done. Mathematically, this can be formulated as, let R(u,v) and A(u,v) represent the real and imaginary components of I(u,v) respectively.

The Fourier or magnitude spectrum, yields to,

The phase-angle of the transform is defined as,

The power-spectrum is defined as the square of the magnitude spectrum. Thus squaring equation (11) yields to,

Due to squaring, the dynamic range of the values in the spectrum becomes very large. Thus to normalize this, logarithmic transformation has to be applied in equation (11). Thus it, yields,

The expectation value of the enhanced image has to be computed and it yields to the relation as,

where ‘E’ denotes expectation. The variance of the enhanced image has to be computed by using the relation given in equation (16),

The auto-covariance of an enhanced image has to be also computed using the relation given in equation (17),

Also the powerspectrumdensity has to be computed from equation (17),

where C_{xx}(m,n) is the auto-covariance function with ‘m’ and ‘n’ samples and W(m,n) is the Blackman-window function with ‘m’ and ‘n’ samples.

The datacompression has to be performed using Discrete Cosine Transform (DCT). The equation (19) is being used for the data compression.

Further for the computation of principal components (that is, eigen-values and the corresponding eigen-vectors), a pattern vector

where

and

Taking the covariance of equation (20), it yields, the corresponding eigen-vector, given in equation (21),

and thus

where ‘λ_{i}’are the corresponding eigen-values.

Segmentation of an image has to be performed using connected-component method. For mathematical formulation, let ‘pix’ at coordinates (x,y) has two horizontal and two vertical neighbours, whose coordinates are (x+1,y), (x-1,y), (x,y+1) and (x,y-1). This forms a set of 4-neighbors of ‘pix’, denoted as N_{4}(pix). The four diagonal neighbours of ‘pix’ have coordinates (x+1,y+1),(x+1,y-1),(x-1,y+1) and (x-1,y-1), denoted as N_{D}(pix). The union of N_{4}(pix) and N_{D}(pix), yields 8-neighbours of ‘pix’. Thus,

A path between pixels ‘pix_{1}’ and ‘pix_{n}’ is a sequence of pixels pix_{1}, pix_{2}, pix_{3},…..,pix_{n-1},pix_{n}, such that pix_{k} is adjacent to p_{k+1}, for 1 ≤ k < n. Thus connected-component is defined, which has to be obtained from the path defined from a set of pixels and which in return depends upon the adjacency position of the pixel in that path.

From this the speed of walking has to be calculated. Mathematically, it has to be formulated as, let the source be ‘S’ and the destination be ‘D’. Also assume that normally this distance is to achieve in ‘T’ steps. So ‘T’ frames or samples of images are required.

Considering the first frame, with left-foot (F_{L}) at the back and right-foot (F_{R}) at the front, the coordinates with (x,y) for first frame, such that F_{L}(x_{1},y_{1}) and F_{R}(x_{2},y_{2}). Thus applying the Manhattan distance measures, the step-length has to be computed as,

Let normally, T_{act} steps are required to achieve the destination. From equation (24), T_{1} has to be calculated for the first frame. Similarly, for ‘nth’ frame, T_{n} has to be calculated. Thus total steps, calculated are,

Thus walking-speed or walking-rate has to be calculated as,

#### 2.1.2. Mathematical formulation for extraction of behavioral traits from human-gait

Next to compute the net input to the output units, the delta rule for pattern association has to be employed, which yields to the relation,

where ‘y_{-inj}’ is the output pattern for the input pattern ‘x_{i}’ and j = 1 to n.

Thus the weight matrix for the hetero-associative memory neural network has to be calculated from equation (27). For this, the activation of the output units has to be made conditional.

The output vector ‘y’ gives the pattern associated with the input vector ‘x’. The other activation function may also be used in the case where the target response of the net is binary. Thus a suitable activation function has been proposed by,

Considering two measures, Accuracy and Precision has been derived to access the performance of the system, which may be formulated as,

where TPR = True positive recognition and FPR = False positive recognition.

Further the analysis has to be done for the recognition of behavioral traits with two target classes (normal and abnormal). It can be further illustrated that AHGM has various states, each of which corresponds to a segmental feature vector. In one state, the segmental feature vector is characterized by eleven parameters. Considering only three parameters: the step_length: distance, mean, and the standard deviation, the AHGM is composed of the following parameters

where AHGM_{1} means an artificial human-gait model of the first feature vector, D_{s1} means the distance, μ_{s1} means the mean and σ_{s1} means the standard deviation based on step_length. Let w_{norm} and w_{abnorm} be the two target classes representing normal foot and abnormal foot respectively. The clusters of features have been estimated by taking the probability distribution of these features. This has been achieved by employing Bayes decision theory. Let P(w_{i}) be the probabilities of the classes, such that, i = 1,2,….M also let p(β/w_{i}) be the conditional probability density. Assume an unknown gait image represented by the features, β. So, the conditional probability p(w_{j}/β), which belongs to j^{th} class, is given by Bayes rule as,

So, for the class j = 1 to 2, the probability density function p(β), yields,

Equation (33) gives a posteriori probability in terms of a priori probability P(w_{j}). Hence it is quite logical to classify the signal, β, as follows,

If P(w_{norm}/ β) > P(w_{abnorm}/ β), then the decision yields β Є w_{norm} means ‘normal behaviour’ else the decision yields β Є w_{abnorm} means ‘abnormal behaviour’. If P(w_{norm}/ β) = P(w_{abnorm}/ β), then it remains undecided or there may be 50% chance of being right decision making. The solution methodology with developed algorithm has been given below for the complete analysis through human-gait, made so far in the present chapter of the book.

Next for the formation of an artificial human-face model (AHFM) the illustration has been thoroughly done in the next subsequent section of this chapter of the book.

### 2.2. Illustration of an Artificial Human-Face Model (AHFM)

In the recent times, frontal portion of the human-face images have been used for the biometrical authentication. The present section of the chapter incorporates the frontal-human-face images only for the formation of corpus. But for the recognition of physiological and behavioural traits of the subject (human-being), side-view of the human-face has to be analysed using hybrid approach, which means the combination of artificial neural network (ANN) and genetic algorithm (GA). The work has to be carried out in two stages. In the first stage, formation of the AHFM, as a corpus using frontal-human-face images of the different subjects have to be done. In the second stage, the model or the corpus has to be utilized at the back-end for the recognition of physiological and behavioural traits of the subject. An algorithm has to be developed that performs the above specified objective using neuro-genetic approach. The algorithm will be also helpful for the biometrical authentication. The algorithm has been called as HABBCR (Hybrid Approach Based Behavioural Characteristics Recognition). The recognition process has to be carried out with the help of test image of human-face captured at an angle of ninety-degree, such that the human-face is parallel to the surface of the image. Hence relevant geometrical features with reducing orientation in image from ninety-degree to lower degree with five-degree change have to be matched with the features stored in a database. The classification process of acceptance and rejection has to be done after best-fit matching process. The developed algorithm has to be tested with 100 subjects of varying age groups. The result has been found very satisfactory with the data sets and will be helpful in bridging the gap between computer and authorized subject for more system security. More illustrations through human-face are explained in the next subsection of this chapter of the book.

#### 2.2.1. Mathematical formulation for extraction of physiological traits from human-face

The relevant physiological traits have to be extracted from the frontal-human-face images and the template matching has to be employed for the recognition of behavioural traits of the subject. Little work has been done in the area of human-face recognition by extracting features from the side-view of the human-face. When frontal images are tested for its recognition with minimum orientation in the face or the image boundaries, the performance of the recognition system degrades. In the present chapter, side-view of the face has to be considered with 90-degree orientation. After enhancement and segmentation of the image relevant physiological features have to be extracted. These features have to be matched using an evolutionary algorithm called genetic algorithm. Many researchers like Zhao and Chellappa, in the year 2000, proposed a shape from shading (SFS) method for pre-processing of 2D images. In the same year, that is, 2000, Hu et al. have modified the same work by proposing 3D model approach and creating synthetic images under different poses. In the same year, Lee et al. also has proposed a similar idea and given a method where edge model and colour region are combined for face recognition after synthetic image were created by a deformable 3D model. In the year 2004, Xu et al. proposed a surface based approach that uses Gaussian moments. A new strategy has been proposed (Chua et al. 1997 and Chua et al. 2000), with two zones of the frontal-face. They are forehead portion, nose and eyes portion. In the present work, the training of the system has to be carried out using frontal portion of the face, considering four zones of human-face for the recognition of physiological characteristics or traits or features. They are:

First head portion, second fore-head portion, third eyes and nose portion and fourth mouth and chin portion. From the literature survey it has been observed that still there is a scope in face recognition using ANN and GA (Hybrid approach). For the above discussion the mathematical formulation is same as done for the human-gait analysis.

#### 2.2.2. Mathematical formulation for extraction of behavioral traits from human-face

A path between pixels ‘pix_{1}’ and ‘pix_{n}’ is a sequence of pixels pix_{1}, pix_{2}, pix_{3},…..,pix_{n-1},pix_{n}, such that pix_{k} is adjacent to p_{k+1}, for 1 ≤ k < n. Thus connected component is defined, which has to be obtained from the path defined from a set of pixels and which in return depends upon the adjacency position of the pixel in that path. In order to compute the orientation using reducing strategy, phase-angle must be calculated first for an original image. Hence considering equation (12), it yields, to considerable mathematical modelling.

Let I_{k} be the side-view of an image with orientation ‘k’. If k = 90, then I_{90} is the image with actual side-view.If the real and imaginary component of this oriented image is R_{k} and A_{k}. For k = 90 degree orientation,

For k = 90

Thus phase angle of image with k = 90 orientations is

If k = k-5, (applying reducing strategy), equation (37) yields,

From equation (37) and (38) there will be lot of variation in the output. Hence it has to be normalized, by imposing logarithmic to both equations (37) and (38)

Taking the covariance of (39), it yields to perfect orientation between two side-view of the images, that is, I

The distances between the connected-components have to be computed using Euclidean distance method. A perfect matching has to be done with the corpus with best-fit measures using genetic algorithm. If the matching fails, then the orientation is to be reduced further by 5^{0}, that is k = k-5 and the process is repeated till k = 45^{0}.

The developed algorithm for the recognition of behavioural traits through human-face has been postulated below.

The understanding of the two formed models with mathematical analysis has been illustrated in the subsequent sections of this chapter of the book.

### 2.3. Understanding of AHGM and AHFM with mathematical analysis

The recognition of physiological and behavioral traits of the subject (human-being), a test image has to be fed as input. This has been shown in figure 3 below.

From figure 3, first the test image has to be captured and hence to be filtered using DCT after proper conversion of original image to grayscale image. Later on it has to be segmented for further processing and hence to be normalized. Relevant physiological and behavioral features have to be extracted and proper matching has to be done using the developed algorithms named as NGBBCR and HABBCR. In the present chapter two environments: *open-air* space and *under-water* space have been considered.

#### 2.3.1. How open-air space environment has been considered for recognition?

Simply a test image in an open-air space (either a human-gait or human-face) has to be captured. It has to be converted into a grayscale image. Later on it has to be filtered using DCT. Hence normalized and then localized for the region of interests (ROI) with object of interests (OOI). Hence a segmentation process has to be completed. Sufficient number of physiological and behavioral traits or features or characteristics has to be extracted from the test image and a template (say OATEMPLATE has to be formed. Using Euclidean distance measures, the differences have to be calculated from that stored in the corpus (AHGM and AHFM). This has to be carried out using lifting-scheme of wavelet transform (LSWT). The details can be explained through the figure 4, as shown below.

Figure 4, shows that the enhanced and segmented part of the test image, x(m, n) has to be split into two components: detail component and coarser component. Considering both the obtained components, additional parameters have to be computed using mathematical approximations. These parameters (referred as prediction (P) and updation(U) coefficients) have to be used for an optimal and robust recognition process.

With reference to figure 4, first the enhanced and segmented part of the test image x(m, n), has to be separated into disjoint subsets f sample, say xe(m, n) and xo(m, n). From these the detail value, d(m, n), has to be generated along with a prediction operator, P. Similarly, the coarser value, c(m, n), has also to be generated along with an updation operator, U, which has to be multiplied with the detail signal and added with the even components of the enhanced and segmented part of the test image. These lifting-scheme parameters have to be computed using Polar method or Box-Muller method.

Let us assume X(m, n) be the digitized speech signal after enhancement. Split this speech signal into two disjoint subsets of samples. Thus dividing the signal into even and odd component: X_{e}(m, n) and X_{o}(m, n) respectively. It simplifies to X_{e}(m, n) = X(2m, 2n) and X_{o}(m, n) = X(2m+1, 2n+1). From this simplification two new values have to be generated called detail value d(m, n) and coarser value c(m, n).

The detail value d(m, n) has to be generated using the prediction operator P, as depicted in figure 4. Thus it yields,

Similarly, the coarser value c(m, n) has to be generated using the updation operator U and hence applied to d(m, n) and adding the result to X_{e}(m, n), it yields,

After substituting equation (41) in equation (42), it yields,

The lifting – scheme parameters, P and U, has to be computed initially using simple iterative method of numerical computation, but it took lot of time to display the result. Hence to overcome such difficulty polar method or Box-Muller method has to be applied. The algorithm 3 has been depicted below for such computations.

As per the polar or Box-Muller method, rescaling of the un-standardized random variables can be standardized using the mean and variance of the test image. This can be more clearly expressed as follows: let Q be an un-standardized variable or parameter and Q’ be its standardized form. Thus Q’ = (Q – μ)/σ relation rescales the un-standardized parameters to standardized form Q = σ Q’ + μ, where μ is the mean and σ is the standard deviation.

Further the computed values of U and P has to be utilized for the application of inverse mechanism of lifting scheme of wavelet transform. Further for crosschecking the computed values of the lifting scheme parameters, inverse mechanism of lifting-scheme of wavelet transform (IALS-WT) has to be employed, that has been depicted in figure 5.

With reference to figure 5, the coarser and detail values have to be utilized along with the values of lifting scheme parameters. Later the resultant form has to be merged and the output, y(m, n) has to be obtained. Further a comparison has to be made with the output y(m, n) and the enhanced and segmented part of the image x(m, n). If this gets unmatched then using feedback mechanism the lifting – scheme parameters have to be calibrated and again the whole scenario has to be repeated till the values of x(m, n) and y(m, n) are matched or close-to-matching scores are generated.

From figure 5, further analysis has to be carried out by merging or adding the two signals c”(m, n) and d”(m, n) for the output signal Y(m, n). Thus it yields,

where c”(m, n) is the inverse of the coarser value c(m, n), and d”(m, n) is the inverse of the detail value d(m, n).From figure 5, it yields:

and

On substituting equation (45) in equation (46), it gives:

On adding equations (46) and (47), it yields,

To form a robust pattern matching model, assume the inputs to the node are the values x_{1}, x_{2},…,x_{n}, which typically takes the values of –1, 0, 1 or real values within the range (-1, 1). The weights w_{1}, w_{2},…,w_{n}, correspond to the synaptic strengths of the neuron. They serve to increase or decrease the effects of the corresponding ‘x_{i}’ input values. The sum of the products x_{i} * w_{i}, i = 1 to n, serve as the total combined input to the node. So to perform the computation of the weights, assume the training input vector be ‘G_{i}’ and the testing vector be ‘H_{i}’ for i = 1 to n. The weights of the network have to be re-calculated iteratively comparing both the training and testing data sets so that the error is minimized.

If there results to zero errors a robust pattern matching model is formed. The process for the formation of this model is given in algorithm-4.

Depending upon the distances, the best test-matching scores are mapped using unidirectional-temporary associated memory of artificial neural network (UTAM). The term unidirectional has to be used because each input component is mapped with the output component forming one-to-one relationship. Each component has to be designated with a unique codeword. The set of codewords is called a codebook. The concept of UTAM has to be employed in the present work, as mapping-function for two different cases:

Distortion measure between unknown and known images

Locating codeword between unknown and known image feature

To illustrate these cases mathematically, Let K_{in} = {I_{1},I_{2},….,I_{n}} and K_{out} = {O_{1},O_{2},……,O_{m}} consisting of ‘n’ and ‘m’ input and output codeword respectively. The values of ‘n’ and ‘m’ are the maximum size of the corpus. In the recognition stage, a test image, represented by a sequence of feature vector, U = {U_{1},U_{2},….,U_{u}}, has to be compared with a trained image stored in the form of model (AHGM and AHFM), represented by a sequence of feature vector, K_{database} = {K_{1},K_{2},….,K_{q}}. Hence to satisfy the unidirectional associatively condition, that is, K_{out} = K_{in}, AHGM and AHFM has to be utilized for proper matching of features. The matching of features, have to be performed on computing the distortion measure. The value with lowest distortion has to be chosen. This yield to, the relation,

The distortion measure has to be computed by taking the average of the Euclidean distance

where

Dividing equation (50) by equation (51), it yields,

The procedure for computing the weights, has been depicted in an algorithm – 5 below:

Next for locating the codeword, hybrid approach of soft computing has to be applied in the well-defined way in the present chapter.The hybrid approach of soft computing techniques utilizes some bit of concepts from forward-backward dynamic programming and some bit of neural-networks. From the literature it has been observed that, for an optimal solution, genetic algorithm is the best search algorithm based on the mechanics of natural selection, crossover, mutation and reproduction. It combines survival of the fittest among string structures with a structured yet randomized information exchange. In every generation, new sets of artificial strings are created and hence tried for a new measure. It efficiently exploits historical information to speculate on new search points with expected improved performance. In other words genetic algorithms are theoretically and computationally simple and thus provide robust and optimized search methods in complex spaces. The selection operation has to be performed by selecting the physiological and behavioral features of the human-gait and face images, as chromosomes from the population with respect to some probability distribution based on fitness values. The crossover operation has to be performed by combining the information of the selected chromosomes (human-gait and human-face image) and generates the offspring. The mutation operation has to be utilized by modifying the offspring values after selection and crossover for the optimal solution. Here in the present chapter, a robust pattern matching model signifies the population of genes or physiological and behavioral features. Using neuro-genetic approach a similar type of work has been done by TilendraShishir Sinha et al. (2010) for the recognition of anomalous in foot using a proposed algorithm NGBAFR (neuro-genetic based abnormal foot recognition). The methodology adopted was different in classification and recognition process and the work has been further modified by them and has been highlighted in the present part of the book using soft computing techniques of genetic and artificial neural network. Hence the classification and decision process are to be carried as per the algorithm discussed earlier in this chapter of the book.

#### 2.3.2. How an underwater space environment has to be considered for recognition?

Simply a test image of a subject (either walking or swimming in water), has to be captured, keeping the camera in an open-air space at a ninety-degree angle to the surface of the water. It has to be converted into a grayscale image. Later on it has to be filtered using DCT. Hence normalized and then localized for the region of interests (ROI) with object of interests (OOI). Later on segmentation process has to be done using structural analysis method. Sufficient number of physiological and behavioral traits or features or characteristics has to be extracted from the test image and a template (say UWTEMPLATE) has to be formed. Using Euclidean distance measures, the differences between the test-data-set and the trained-data-set has to be calculated. Depending upon the distances obtained, the best test-matching scores are generated using genetic algorithm for an optimal classification process and finally the decision process are to be carried out.

### 2.4. Experimental results and discussions through case studies

In the present chapter, human-gait and human-face have been captured in an open-air space. The testing of the physiological and behavioural characteristics or features or traits of the subject is not only done in an open-air space but also in under-water space.

#### 2.4.1. Case study: In an open-air space

In an open-air space, first a human-gait image has to be captured and fed as input. Next it has to be enhanced. Later on it is compressed for distortion removal with loss less information. Next it has to be segmented for contour detection and the relevant physiological features have to be extracted. All the features of the human-gait image are stored in a corpus called AHGM. Similarly, in an open-air space, human-face image has also to be captured and fed as input. Next it is enhanced, compressed, segmented and relevant physiological features are extracted. The extracted physiological features are stored in a corpus called AHFM. For the recognition of physiological and behavioural traits, test images of human-gait and human-face (from side-view) are fed as input. Both the images are enhanced and compressed for distortion removal. Then both are segmented for the extraction of relevant physiological and behavioural features. By using the computer algorithm’s(depicted in algorithm-2 and algorithm-3) the extracted features have to be compared with that stored in the corpus (AHGM and AHFM). Depending upon the result of comparison the classification has to be made. Relevant testing with necessary test data considering 10 frames of 100 different subjects of varying ages proves the developed algorithm. The efficiency of recognizing the physiological and behavioural traits have been kept at a threshold range of 90% to 100% and verified from the trained-data-set. Using genetic algorithm the best-fit scores have been achieved. Figure 6, shows the original image of one subject along with the segmented portion of the human-gait in standing mode.

After segmentation of human-gait image in walking mode, extraction of physiological features using relevant mathematical analysis has to be done. Some of the distance measures of subject #1 with right leg at the front have been shown in figure 8. Similarly, distance measures of subject #1 with left leg at the front have been shown in figure 9.

The relevant physiological feature, that is, step-length and knee-to-ankle distance has been also extracted that has been shown in figure 11.

As per the developed algorithm called NGBBCR, for most of the test cases, ‘NORMAL BEHAVIOUR’ has been achieved. Very few test cases for ‘ABNORMAL BEHAVIOUR’ have been achieved. Table 1, depicted below describes the physiological features extracted in standing and walking mode of subject #1.

From table 1, it has been observed that minimum variations have been found from one frame to other. This has been plotted in figure 11, below, for the graphical analysis. The extracted parameters with respect to physiological features that have been verified for best-fit scores using NGBBCR has been shown in table 2a and in table 2b. The graphical representation of table 2a and table 2b has been depicted in figure 12.

From figure 12, it has been observed that the energy values (on Y-axis) are lying in between -10 to +15, for all the parameters. The parameters power spectral density (psd) and standard deviation (SD) have been found constant for any frame of the subject. The eigenvector and eigenvalues are also satisfying their mathematical properties. For the rest of the extracted parameters in the work, minimum variations have been observed.

Next the frontal part of human-face has been captured, with four zones that have been depicted in figure 13, below.

The relevant physiological features measured from side-view have been shown in table 3 below.

#### 2.4.2. Case study: In under-water space

In under-water space, first a human-gait image has to be captured and fed as input. Next it has to be enhanced. Later on it is compressed for distortion removal with loss less information. Next it has to be segmented for contour detection and the relevant physiological features have to be extracted. All the features of the human-gait image are stored in a corpus called UWHGM (under water human-gait model). Similarly, in under-water space, human-face image has also to be captured and fed as input. Next it is enhanced, compressed, segmented and relevant physiological features are extracted. The extracted physiological features are stored in a corpus called UWHFM (under water human-face model). For the recognition of physiological and behavioural traits, test images of human-gait and human-face are fed as input. Both the images are enhanced and compressed for distortion removal. Then both are segmented for the extraction of relevant physiological and behavioural features. By using the computer algorithm’s(depicted in algorithm-2 and algorithm-3) the extracted features have to be compared with that stored in the corpus (AHGM and AHFM). Depending upon the result of comparison the classification has to be made. Relevant testing with necessary test data considering 10 frames of 100 different subjects of varying ages proves the developed algorithm. The efficiency of recognizing the physiological and behavioural traits have been kept at a threshold range of 90% to 100% and verified from the trained-data-set. Using genetic algorithm the best-fit scores have been achieved. Figure 14, shows the original image of one subject along with the segmented portion of the human-gait in walking-mode in under-water space.

## 3. Conclusion and further scope

This chapter includes in-depth discussion of an algorithm developed for the formation of a noise-free AHGM and AHFM using relevant physiological and behavioural features or traits or characteristics of the subject using human-gait and human-face image. The algorithm has been named NGBBCR and HABBCR. It may be noted that the algorithms have been tested on a vast amount of data and have been found subject independent and environment independent. The algorithms have been tested not only in an open-air space but also in under-water space. A thorough case study has been also done. The trained-data set is matched with the test-data set for the best fit and this involves the application of artificial neural network, fuzzy set rules and genetic algorithm (GA). At every step in the chapter thorough mathematical formulations and derivations have been explained.

Human-gait analysis may be of immense use in medical field for recognition of anomalies and also to track the prosodic features like mood, age, gender of the subject. It may also be used to track the recovery of a patient from injury and operation. Further it will prove to be handy to spot and track individuals in a crowd and hence help investigation department.

Human-face analysis also will help in medical field to treat various diseases like squint, facial distortions and other problems which show their symptoms through facial anomalies. It will be of great help for plastic surgeons to rectify features and enhance the beauty of the subjects.

Underwater object recognition itself is a vast and challenging area and is proving to be of great help in fields of environmental-biology, geology, defence, oceanography and agriculture. Understanding the life and possible dangers of deep water animals, tracking submarines and destructive materials like explosives and harmful wastes are some areas of interest in this field.