If I understand this correctly, you would like to extract features from segmented images i.e. cows. Then you may have a look at our recent publication:
C.P. Loizou, C. Theofanous, M. Pantziaris, T. Kasparis, “Despeckle filtering software toolbox for ultrasound imaging of the common carotid artery”, Comput. Meth. & Progr. Biomed., vol. 114, pp. 109-124, 2014. Best paper, editor’s choice.
We proposed a software toolbox, that can also be downloaded as an executable file and you can perform texture analysis and image quality evaluation on images. You can extract up to 65 different texture features and 16 quality metrics from the images. It is baseed on a user friendly GUI.