Pixel values on freefem

Hello , i have an image where i have created internal borders, now i want to loop over the image and assign parameter values according to pixel values. Is there any way to do this on Freefem?