Skip to content
Snippets Groups Projects
Commit 196e9921 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

fix compile errors

parent 6a1574bd
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ public class ExportImagePlusPlugIn implements PlugIn
final int w = imp.getWidth();
final int h = imp.getHeight();
final int d = imp.getNSlices();
final FinalDimensions size = new FinalDimensions( w, h, d );
final FinalDimensions size = new FinalDimensions( new int[] { w, h, d } );
// propose reasonable mipmap settings
final ExportMipmapInfo autoMipmapSettings = ProposeMipmaps.proposeMipmaps( new BasicViewSetup( 0, "", size, voxelSize ) );
......
......@@ -773,7 +773,7 @@ public class ExportSpimFusionPlugIn implements PlugIn
final int width = imp.getWidth();
final int height = imp.getHeight();
imp.close();
final Dimensions size = new FinalDimensions( width, height, numSlices );
final Dimensions size = new FinalDimensions( new int[] { width, height, numSlices } );
final VoxelDimensions voxelSize = new FinalVoxelDimensions( "px", 1, 1, 1 );
final ExportMipmapInfo info = ProposeMipmaps.proposeMipmaps( new BasicViewSetup( 0, "", size, voxelSize ) );
autoSubsampling = ProposeMipmaps.getArrayString( info.getExportResolutions() );
......
......@@ -279,10 +279,10 @@ public class CellVoyagerDataExporter
for ( final ChannelInfo channelInfo : channelInfos )
{
final Channel channel = new Channel( channelInfo.channelNumber );
final Dimensions size = new FinalDimensions(
final Dimensions size = new FinalDimensions( new int[] {
channelInfo.width,
channelInfo.height,
channelInfo.nZSlices );
channelInfo.nZSlices } );
final VoxelDimensions voxelSize = new FinalVoxelDimensions(
channelInfo.spaceUnits,
channelInfo.pixelWidth,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment