Python PyQt5 DICOM 8bit Pixel Load(PyQt5로 DICOM Pixel 데이터 로드)
import os, sys import numpy as np import pydicom from pydicom.data import get_testdata_files from PyQt5.QtCore import Qt from PyQt5.QtGui import QPixmap, QImage from PyQt5.QtWidgets import QApplication, QLabel, QVBoxLayout, QWidget class MyApp(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): ds = pydicom.dcmread('H:/dicom/US-RGB-8-epicard', force = True) cvImg = d..
Python/PyQt5
2019. 9. 30. 23:22
Blog is powered by
Tistory / Designed by
Tistory
Contact: j0n9m1n1@gmail.com
Contact: j0n9m1n1@gmail.com