Skip to content

Commit

Permalink
test: BigWarpApplyTests don't show
Browse files Browse the repository at this point in the history
  • Loading branch information
bogovicj committed Oct 9, 2024
1 parent c02824a commit 7a656d9
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/test/java/bigwarp/apply/BigWarpApplyTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -326,19 +326,30 @@ private static List<ImagePlus> transformToPtsSpec(final ImagePlus mvg,
private static List<ImagePlus> transformMvgWarped(final ImagePlus mvg,
final LandmarkTableModel ltm) {

return ApplyBigwarpPlugin.apply(mvg, null,
ImagePlus tgt = null;
final BigWarpData<?> bwData = BigWarpInit.createBigWarpDataFromImages(mvg, tgt);
bwData.wrapMovingSources();
final BoundingBoxEstimation bboxEst = new BoundingBoxEstimation(BoundingBoxEstimation.Method.CORNERS);
final InvertibleRealTransform invXfm = new BigWarpTransform( ltm, BigWarpTransform.AFFINE ).getTransformation();

return ApplyBigwarpPlugin.apply(
bwData,
ltm,
invXfm,
BigWarpTransform.AFFINE,
ApplyBigwarpPlugin.MOVING_WARPED,
"", // fov pt filter
bboxEst,
ApplyBigwarpPlugin.MOVING,
null, // res option
null, // fov spec
null, // offset spac
Interpolation.NEARESTNEIGHBOR,
false, // virtual
true, // wait
1); // nThreads
1, // nThreads
true,
null, // writeOpts
false);
}

}

0 comments on commit 7a656d9

Please sign in to comment.