今回はDICOM画像を表示する方法をやっていきます。 画像の表示 DICOM画像を表示する主な方法は2つあります。 matplotlibを使って表示 OpenCVを使って表示 個人的にお勧めは、matplotlibを使って表示する方法ですので、紹介させていただきます。 import pydicom from ...
今回はDICOM画像のピクセルデータを見てみたいと思います。 ピクセルデータを表示してみる ピクセルデータの表示からです。 まず、pydicomでDICOMデータを読み込みます。 その後、print関数を使って表示しています。 ついでに画像も表示してみましょう。
Community supportUsers in need of help.Users in need of help. I would like to achieve the left image (more vibrant colours for the higher values) with a more recent matplotlib version.
Plotting with matplotlib.pyplot.imshow and a defined matplotlib.colors.LogNorm as norm will produce different results if an equal torch.tensor and numpy.array are used. Clang version: 17.0.6 CMake ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する