crop image in given size imagej

you can use physical units in the Edit>Selection>Specify… dialog.
Here is how you would do this in a macro:

run("Specify...", "width=500 height=500 centered scaled");
run("Crop");

猜你喜欢

转载自blog.csdn.net/colddie/article/details/81125339