Evaluation of Spanish cooked ham by NIR