tifffile の API リファレンス
tifffile (cgohlke/tifffile) の公開 API 51 件 —— クラス 19、関数 16、メソッド 16。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: cgohlke/tifffile
| 種別 | 件数 |
|---|---|
| クラス | 19 |
| 関数 | 16 |
| メソッド | 16 |
API 一覧
func
tifffile._imagecodecs.float24_decode(data:bytes, *byteorder:Literal['>', '<'] | None=None, *out:Any=None) -> NDArray[Any]Return float32 array from float24.
func
tifffile._imagecodecs.lzma_decode(data:bytes, *out:Any=None) -> bytesDecompress LZMA.
func
tifffile._imagecodecs.lzma_encode(data:bytes | NDArray[Any], level:int | None=None, *check:int | None=None, *out:Any=None) -> bytesCompress LZMA.
func
tifffile._imagecodecs.packbits_decode(encoded:bytes, *out:Any=None) -> bytesDecompress PackBits encoded byte string.
func
tifffile._imagecodecs.packints_decode(data:bytes, dtype:DTypeLike | None, bitspersample:int, *bitorder:str | None=None, *runlen:int=0, *out:Any=None) -> NDArray[Any]Decompress bytes to array of integers.
func
tifffile._imagecodecs.packints_encode(data:ArrayLike, bitspersample:int, *bitorder:str | None=None, *runlen:int=0, *out:Any=None) -> bytes | bytearrayTightly pack integers.
func
tifffile._imagecodecs.zlib_decode(data:bytes, *out:Any=None) -> bytesDecompress Zlib DEFLATE.
func
tifffile._imagecodecs.zlib_encode(data:bytes | NDArray[Any], level:int | None=None, *out:Any=None) -> bytesCompress Zlib DEFLATE.
func
tifffile._imagecodecs.zstd_decode(data:bytes, *out:Any=None) -> bytesDecompress ZSTD.
func
tifffile._imagecodecs.zstd_encode(data:bytes | NDArray[Any], level:int | None=None, *out:Any=None) -> bytesCompress ZSTD.
class
tifffile.geodb.AngularAngular Units.
class
tifffile.geodb.CTCoordinate Transformation Codes.
class
tifffile.geodb.DatumGeodetic Datum Codes.
class
tifffile.geodb.DatumEEllipsoid-Only Geodetic Datum Codes.
class
tifffile.geodb.EllipseEllipsoid Codes.
class
tifffile.geodb.GCSGeographic CS Type Codes.
class
tifffile.geodb.GCSEUnspecified GCS based on ellipsoid.
class
tifffile.geodb.GeoKeysGeo keys.
class
tifffile.geodb.LinearLinear Units.
class
tifffile.geodb.ModelTypeModel Type Codes.
class
tifffile.geodb.PCSProjected CS Type Codes.
class
tifffile.geodb.PMPrime Meridian Codes.
class
tifffile.geodb.ProjProjection Codes.
class
tifffile.geodb.RasterPixelRaster Type Codes.
class
tifffile.geodb.VertCSVertical CS Type Codes.
func
tifffile.lsm2bin.main(argv:list[str] | None=None) -> intLsm2bin command line usage main function.
class
tifffile.numcodecs.TiffTIFF codec for Numcodecs.
method
tifffile.numcodecs.Tiff.decode(buf:Any, out:Any=None) -> AnyReturn decoded image as NumPy array.
method
tifffile.numcodecs.Tiff.encode(buf:Any) -> bytesReturn TIFF file as bytes.
func
tifffile.numcodecs.register_codec(cls:type[Codec]=Tiff, codec_id:str | None=None) -> NoneRegister :py:class:`Tiff` codec with Numcodecs.
func
tifffile.tiff2fsspec.main(argv:list[str] | None=None) -> intTiff2fsspec command line usage main function.
func
tifffile.tiffcomment.main(argv:list[str] | None=None) -> intTiffcomment command line usage main function.
class
tifffile.zarr.TiffTIFF codec for Zarr 3.
method
tifffile.zarr.Tiff.compute_encoded_size(input_byte_length:int, chunk_spec:ArraySpec) -> intCompute size of encoded chunk in bytes.
method
tifffile.zarr.Tiff.from_dict(data:dict[str, JSON]) -> SelfCreate instance of model from dictionary.
method
tifffile.zarr.Tiff.to_dict() -> dict[str, JSON]Convert instance of model to dictionary.
class
tifffile.zarr.ZarrFileSequenceStoreZarr 3 store interface to image array in FileSequence.
method
tifffile.zarr.ZarrFileSequenceStore.exists(key:str) -> boolReturn whether key exists in store.
method
tifffile.zarr.ZarrFileSequenceStore.get(key:str, prototype:BufferPrototype, byte_range:ByteRequest | None=None) -> Buffer | NoneReturn value associated with key.
class
tifffile.zarr.ZarrStoreZarr 3 store base class.
method
tifffile.zarr.ZarrStore.delete(key:str) -> NoneRemove key from store.
method
tifffile.zarr.ZarrStore.is_multiscales() -> boolReturn whether ZarrStore contains multiscales.
method
tifffile.zarr.ZarrStore.list() -> AsyncIterator[str]Return all keys in store.
method
tifffile.zarr.ZarrStore.list_dir(prefix:str) -> AsyncIterator[str]Return all keys and prefixes with prefix.
method
tifffile.zarr.ZarrStore.list_prefix(prefix:str) -> AsyncIterator[str]Return all keys in store that begin with prefix.
method
tifffile.zarr.ZarrStore.set(key:str, value:Buffer) -> NoneStore (key, value) pair.
method
tifffile.zarr.ZarrStore.supports_deletes() -> boolStore supports deletes.
method
tifffile.zarr.ZarrStore.supports_listing() -> boolStore supports listing.
method
tifffile.zarr.ZarrStore.supports_writes() -> boolStore supports writes.
func
tifffile.zarr.register_codec() -> NoneRegister zarr 3 tifffile codec.
func
tifffile.zarr.zarr_selection(store:ZarrStore, selection:BasicSelection, *groupindex:str | None=None, *close:bool=True, *out:OutputType=None) -> NDArray[Any]Return selection from Zarr store.
この情報について
掲載しているシグネチャは cgohlke/tifffile の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。