Class LegacyLightSheetZ1ImgLoader
java.lang.Object
net.preibisch.mvrecon.fiji.spimdata.imgloaders.AbstractImgLoader
net.preibisch.mvrecon.fiji.spimdata.imgloaders.AbstractImgFactoryImgLoader
net.preibisch.mvrecon.fiji.spimdata.imgloaders.LegacyLightSheetZ1ImgLoader
- All Implemented Interfaces:
mpicbg.spim.data.legacy.LegacyBasicImgLoader<net.imglib2.type.numeric.integer.UnsignedShortType>,mpicbg.spim.data.legacy.LegacyImgLoader<net.imglib2.type.numeric.integer.UnsignedShortType>
-
Field Summary
Fields inherited from class net.preibisch.mvrecon.fiji.spimdata.imgloaders.AbstractImgFactoryImgLoader
imgFactory1 -
Constructor Summary
ConstructorsConstructorDescriptionLegacyLightSheetZ1ImgLoader(File cziFile, net.imglib2.img.ImgFactory<? extends net.imglib2.type.NativeType<?>> imgFactory, mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<?, ?, ?> sequenceDescription) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanvoidfinalize()protected static mpicbg.spim.data.sequence.AnglegetAngle(mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<?, ?, ?> seqDesc, mpicbg.spim.data.sequence.ViewId view) protected static mpicbg.spim.data.sequence.Angleprotected static mpicbg.spim.data.sequence.ChannelgetFloatImage(mpicbg.spim.data.sequence.ViewId view, boolean normalize) protected static mpicbg.spim.data.sequence.Illuminationprotected static mpicbg.spim.data.sequence.Tilestatic loci.formats.IFormatReaderprotected voidLoads only the metadata from the image, should call updateMetaDataCache( ... )protected <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
net.imglib2.img.Img<T> openCZI(T type, mpicbg.spim.data.sequence.ViewId view) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadBytes(byte[] b, net.imglib2.Cursor<T> cursor, int width) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadBytesArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadFloats(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadFloatsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadSignedShorts(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadSignedShortsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadUnsignedInts(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadUnsignedIntsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadUnsignedShorts(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) static final <T extends net.imglib2.type.numeric.RealType<T>>
voidreadUnsignedShortsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) toString()Methods inherited from class net.preibisch.mvrecon.fiji.spimdata.imgloaders.AbstractImgFactoryImgLoader
getImgFactory, setImgFactoryMethods inherited from class net.preibisch.mvrecon.fiji.spimdata.imgloaders.AbstractImgLoader
getImageSize, getImageType, getVoxelSize, updateMetaDataCache, updateXMLMetaData, updateXMLMetaData, updateXMLMetaData
-
Constructor Details
-
LegacyLightSheetZ1ImgLoader
public LegacyLightSheetZ1ImgLoader(File cziFile, net.imglib2.img.ImgFactory<? extends net.imglib2.type.NativeType<?>> imgFactory, mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<?, ?, ?> sequenceDescription)
-
-
Method Details
-
getCZIFile
-
getFloatImage
public net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> getFloatImage(mpicbg.spim.data.sequence.ViewId view, boolean normalize) -
getImage
-
loadMetaData
Description copied from class:AbstractImgLoaderLoads only the metadata from the image, should call updateMetaDataCache( ... )- Specified by:
loadMetaDatain classAbstractImgLoader- Parameters:
view- - the view to load metadata for
-
finalize
public void finalize() -
openCZI
protected <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> net.imglib2.img.Img<T> openCZI(T type, mpicbg.spim.data.sequence.ViewId view) throws Exception - Throws:
Exception
-
readBytes
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readBytes(byte[] b, net.imglib2.Cursor<T> cursor, int width) -
readBytesArray
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readBytesArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx) -
readUnsignedShorts
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readUnsignedShorts(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) -
readUnsignedShortsArray
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readUnsignedShortsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) -
readSignedShorts
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readSignedShorts(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) -
readSignedShortsArray
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readSignedShortsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) -
readUnsignedInts
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readUnsignedInts(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) -
readUnsignedIntsArray
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readUnsignedIntsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) -
readFloats
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readFloats(byte[] b, net.imglib2.Cursor<T> cursor, int width, boolean isLittleEndian) -
readFloatsArray
public static final <T extends net.imglib2.type.numeric.RealType<T>> void readFloatsArray(byte[] b, net.imglib2.Cursor<T> cursor, int numPx, boolean isLittleEndian) -
instantiateImageReader
-
createOMEXMLMetadata
-
getAngle
protected static mpicbg.spim.data.sequence.Angle getAngle(mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<?, ?, ?> seqDesc, mpicbg.spim.data.sequence.ViewId view) -
getAngle
protected static mpicbg.spim.data.sequence.Angle getAngle(mpicbg.spim.data.generic.sequence.BasicViewDescription<?> vd) -
getChannel
protected static mpicbg.spim.data.sequence.Channel getChannel(mpicbg.spim.data.generic.sequence.BasicViewDescription<?> vd) -
getIllumination
protected static mpicbg.spim.data.sequence.Illumination getIllumination(mpicbg.spim.data.generic.sequence.BasicViewDescription<?> vd) -
getTile
protected static mpicbg.spim.data.sequence.Tile getTile(mpicbg.spim.data.generic.sequence.BasicViewDescription<?> vd) -
toString
-