Commit 19cecbd
authored
Update ImagesToStack.java to retain all overlays when not all images are the same size
Previously it was not possible to combine multiple images of different sizes and overlays into a stack with this function.
All but the overlay of the first image was lost when doing this.
Now intuitive behaviour is implemented to retain all overlays when using the copy method (center or top-left).
Application: e.g. labelled cells (via overlay) in a temporal stack of stitched images that slightly vary in image dimensions over time.1 parent 05cbc4f commit 19cecbd
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
202 | 211 | | |
203 | 212 | | |
204 | 213 | | |
| |||
0 commit comments