def ShowImage(imKey, chMap, parent=None, brightness=1.0, scale=1.0, contrast=None):
    from imageviewer import ImageViewer
    imgs = FetchImage(imKey)
    frame = ImageViewer(imgs=imgs, chMap=chMap, img_key=imKey, 
                        parent=parent, title=str(imKey),
                        brightness=brightness, scale=scale,
                        contrast=contrast)
    frame.Show(True)
    return frame
 def launch_image_viewer(self, evt=None):
     imviewer = ImageViewer(parent=self)
     imviewer.Show(True)