Esempio n. 1
0
    def __init__(self, *args, **kwds):
        Module.__init__(self, *args, **kwds)
        SnapshotPanel2.__init__(self, *args, **kwds)

        self.pics = self._panel['snapshot'].pics
        self._panel['snapshot'].image_listW = self.image_list
        self.image_list.AssignImageList(self._panel['snapshot'].list,
                                        wx.IMAGE_LIST_NORMAL)
        self.video_device = self._config.get('webcam', 'port')
        self.webcam = WebcamControl(self, self.video_device[-1])
        self.ds = dicom_rxbox.RDicom()
        self.dicom_filelist = []
        self.patientpanel = self._panel['patientinfo']
        self.dicom_filename = ''

        self.load_image = self._panel['snapshot'].load_image
        self.remove_image = self._panel['snapshot'].remove_image