Skip to content

Commit 83be3af

Browse files
committed
comment about setting resolutionS0
1 parent d633657 commit 83be3af

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/net/preibisch/mvrecon/process/export/ExportN5Api.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ else if ( storageType == StorageFormat.N5 || storageType == StorageFormat.ZARR )
245245
final Function<Integer, AffineTransform3D> levelToMipmapTransform =
246246
(level) -> MipmapTransforms.getMipmapTransformDefault( mrInfoZarr[level].absoluteDownsamplingDouble() );
247247

248+
// at this point the pixel size has already been set
249+
// - here we adjust the S0 resolution based on selected downsampling and anisotropy before exporting to N5
248250
double[] resolutionS0 = OMEZarrAttibutes.getResolutionS0( cal, anisoF, downsamplingF );
249251

250252
IOFunctions.println( "Calibration: " + Util.printCoordinates( cal ) + " micrometer; resolution at S0: " + Util.printCoordinates( resolutionS0 ) + " " + unit);

0 commit comments

Comments
 (0)