MATLAB based image analysis with GUI