package mpicbg.spim.data.sequence;

import mpicbg.spim.data.generic.sequence.BasicImgLoader;
import net.imglib2.Dimensions;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.type.numeric.real.FloatType;

public interface ImgLoader< T > extends BasicImgLoader< T >
{
	/**
	 * Get {@link FloatType} image. If requested, the image is normalized to the
	 * range [0,1].
	 *
	 * @param view
	 *            timepoint and setup for which to retrieve the image.
	 * @param normalize
	 *            whether the image should be normalized to [0,1].
	 * @return {@link FloatType} image
	 */
	public RandomAccessibleInterval< FloatType > getFloatImage( ViewId view, boolean normalize );

	/**
	 * Get the size of an image. If possible, load only the meta-data for the
	 * specified view. Note, that this should <em>not</em> get the meta-data from
	 * the {@link SequenceDescription} but pull it from the image file
	 *
	 * @param view
	 *            timepoint and setup for which to retrieve the image size.
	 * @return the image size, or null if it could not be determined.
	 */
	public Dimensions getImageSize( ViewId view );

	/**
	 * Get the voxel size of an image. If possible, load only the meta-data for the
	 * specified view.
	 *
	 * @param view
	 *            timepoint and setup for which to retrieve the image size.
	 * @return the image size, or null if it could not be determined.
	 */
	public VoxelDimensions getVoxelSize( ViewId view );
}

@@ -909,16 +909,17 @@
 age file
+.
 %0A%09 *%0A%09 *
@@ -1202,32 +1202,32 @@
 eta-data for
- the
 %0A%09 *
+ the
  specified v
@@ -1230,16 +1230,144 @@
 ed view.
+ Note, that this should %3Cem%3Enot%3C/em%3E get the meta-data%0A%09 * from the %7B@link SequenceDescription%7D but pull it from the image file.
 %0A%09 *%0A%09 *
@@ -1432,37 +1432,37 @@
 to retrieve the 
-image
+voxel
  size.%0A%09 * @retu
@@ -1460,37 +1460,37 @@
 %09 * @return the 
-image
+voxel
  size, or null i

fix javadoc