Skip to content

Commit

Permalink
Use BlkAffineFusion instead of LazyAffineFusion
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Sep 27, 2024
1 parent af4912f commit ac01d15
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/main/java/net/preibisch/mvrecon/fiji/plugin/Image_Fusion.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
import net.preibisch.mvrecon.process.export.Calibrateable;
import net.preibisch.mvrecon.process.export.ImgExport;
import net.preibisch.mvrecon.process.fusion.FusionTools;
import net.preibisch.mvrecon.process.fusion.blk.BlkAffineFusion;
import net.preibisch.mvrecon.process.fusion.lazy.LazyAffineFusion;
import net.preibisch.mvrecon.process.fusion.lazy.LazyNonRigidFusion;
import net.preibisch.mvrecon.process.fusion.transformed.TransformVirtual;
Expand Down Expand Up @@ -245,7 +246,9 @@ else if ( fusion.getPixelType() == 1 )
}
else
{
lazy = LazyAffineFusion.init(
System.out.println( "Image_Fusion.fuse" );
// lazy = LazyAffineFusion.init(
lazy = BlkAffineFusion.init(
conv,
spimData.getSequenceDescription().getImgLoader(),
group.getViews(),
Expand All @@ -257,20 +260,6 @@ else if ( fusion.getPixelType() == 1 )
fusion.getBoundingBox(),
(RealType & NativeType)type,
blocksize );

// TODO: replace with LazyAffineFusion and varying blocksizes depending on the task
/*
virtual = FusionTools.fuseVirtual(
spimData.getSequenceDescription().getImgLoader(),
registrations,
spimData.getSequenceDescription().getViewDescriptions(),
group.getViews(),
fusion.useBlending(),
fusion.useContentBased(),
fusion.getInterpolation(),
fusion.getBoundingBox(),
fusion.adjustIntensities() ? spimData.getIntensityAdjustments().getIntensityAdjustments() : null );
*/
}

final String title = getTitle( fusion.getSplittingType(), group );
Expand Down

0 comments on commit ac01d15

Please sign in to comment.