I have done cattle image segmentation and edge detection of the cattle image attached here. I have equally obtained the boundary pixel along x and y axis where the pixel value equal to 1. I want to do shape recognition and description of the cattle image attached here. I need an explanation on the next step to take and the MATLAB code for the description and representation using 1-D Fourier descriptor and bounding box.