Skip to content

Commit

Permalink
Adds Demo BigWarp 2D
Browse files Browse the repository at this point in the history
Adds RealViews.simplify in ResampledSource
  • Loading branch information
NicoKiaru committed Mar 25, 2024
1 parent 7ef6649 commit 53d75ab
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 74 deletions.
2 changes: 1 addition & 1 deletion src/main/java/bdv/util/ResampledSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public RandomAccessibleInterval<T> buildSource(int t, int level) {
AffineTransform3D atOrigin = new AffineTransform3D();
origin.getSourceTransform(t, getModelToOriginMipMapLevel(level), atOrigin);
at.concatenate(atOrigin);
RandomAccessible<T> ra = RealViews.affine(ipimg, at); // Gets the view
RandomAccessible<T> ra = RealViews.simplify(RealViews.affine(ipimg, at)); // Gets the view

// ... interval
RandomAccessibleInterval<T> view = Views.interval(ra, new long[] { 0, 0,
Expand Down
Loading

0 comments on commit 53d75ab

Please sign in to comment.