If you have a 951 wide image with 1 mm per pixel, then the field of view is 951 mm. Now if you reduce this to 512 pixels, the field of view is still the same - 951 mm - so the resolution is now 951 mm / 512 pixels = 1.86 mm per pixel.
If you want 250 mm, then you need to crop out a 250x250 mm chunk from the 951x951 image. So use imcrop to extract a rectangle of that size from the desired location. Once you've done that, you can resize from 250 by 250 pixels to 512 x 512 pixels. Your field of view will stay 250 mm since you are still looking at the same stuff, but it will just have a different image matrix size (512x512). The image may look softer since you are more than doubling the size of a fixed 250x250 mm subimage.
Best Answer