Returns the base image stack.
()
| 1914 | |
| 1915 | /** Returns the base image stack. */ |
| 1916 | public ImageStack getImageStack() { |
| 1917 | if (stack==null) |
| 1918 | return getStack(); |
| 1919 | else { |
| 1920 | stack.update(ip); |
| 1921 | return stack; |
| 1922 | } |
| 1923 | } |
| 1924 | |
| 1925 | /** Returns the current stack index (one-based) or 1 if this is a single image. */ |
| 1926 | public int getCurrentSlice() { |