How can I align a face according to another face using eyes\' landmark in matlab? Solution Matlab is a high performance language for technical computing . It intergates computation , visualisation and programming in an easy -to-use way where problems and solutions are expressed in common mathematical notation. Matlab is an interactive system whose basic data type is the array . Matlab has extensive facilities for displaying vectors and matrices in graphs. It includes high-level functions for two and three dimensional data visualisation, image processing , animation and presentation graphics. Face recognition is the process of matching faces to determine if the person shown in one image is same as the person shown in another image. Face recognition has broad use in security technology, social networking, etc. Landmarking defines as the detection and localization of certain characteristic points on the face, is an important step for many subsequent face processing opeartions. Landmarking alogorthims categorize their progress and show comparative performance. Landmarks sucha as eye corners or nose tip are known to be little affected by facial experssions , hence they are more reliable and are referred as fiducial points. Fiducial points in imaging systems refer to marks deliberately placed in the scene to function as a point of reference. By extension , relatively stable facial landmarks such as eye corners are also called as fiducial landmarks in the face processing literature. Types of landmarks: Facial landmarks are of two groups , denoted as fiducial and ancillary landmarks (or) primary and secondary landmarks. For example, the corners of the eyes, of the mouth, the nose tip, and sometimes the eyebrows can be detected relatively easily using low-level image features such as gradient information, cornerness or local information extracted, e.g., with scale invariant feature transform , histogram of gradients , and generic information on the face morphology. These directly detected landmarks are referred to as the primary or fiducial ones, and they play a more determining role in facial identity and face tracking. The landmarks in the secondary category such as nostrils, chin, nasion, cheek contours, non- extremity points on lips or eyebrow midpoints, eyelids etc. often present scant image evidence, and the search for them is often guided by the primary landmarks. The secondary group of landmarks take more prominent roles in facial expressions, although the demarcation between these two tasks is not always clear-cut. Extracts the face region from an image based on provided eye coordinates: eyes.x(1)=160; eyes.y(1)=184; eyes.x(2)=193; eyes.y(2)=177; x= imread(\'sample_image.bmp\'); y= register_face_based_on_eyes(x,eyes,[128,100]); Description: The function extracts the facial region from the given image x based on the coordinates given in the structure \'eyes\'.primary landmarkssecondary landmarksnumberdefinitonnumberdefinition16left eyebrow out.