2015-09-15 Leica/Nikon image format lif Leica Nikon Leicaの拡張子はlif(こちら) pythonで Nikonの拡張子nef(こちら) pythonで NikonによるLive cell imaging nefファイルをnumpyへ(こちら) こちらの'_DSC4175.NEF'ファイルをダウンロードし import numpy import rawpy path = '_DSC4175.NEF' raw = rawpy.imread(path) raw_arr = raw.dcraw_make_mem_image() raw_arr.shape とすれば、3次元アレイになっていることがわかる(参考1,参考2) NIKONのNIS elements(ソフトウェア)の作るファイル形式nd2を変換するpythonモジュール(nd2reader) nd2のリーダー(C++)はこちら