(ImagePlus imp, int n)
| 425 | } |
| 426 | |
| 427 | private void setSlice(ImagePlus imp, int n) { |
| 428 | if (imp.isLocked()) { |
| 429 | IJ.beep(); |
| 430 | IJ.showStatus("Image is locked"); |
| 431 | } else |
| 432 | imp.setSlice(n); |
| 433 | } |
| 434 | |
| 435 | public boolean validDimensions() { |
| 436 | int c = imp.getNChannels(); |
no test coverage detected