Eidolon
|
Classes | |
class | ImageSceneObject |
class | ImageSceneObjectRepr |
class | ImageSeriesRepr |
class | ImageVolumeRepr |
class | SharedImage |
Functions | |
def | isImageVolume (images, err=1e-3) |
def | sortImageStack (images) |
def | calculateStackClipSqRange (process, imgs, threshold) |
def | calculateStackClipSq (imgs, threshold, margin=2, task=None) |
def eidolon.ImageObject.calculateStackClipSq | ( | imgs, | |
threshold, | |||
margin = 2 , |
|||
task = None |
|||
) |
Calculates the (minx,miny,maxx,maxy) square in image space which encloses all values for the given images which are greater than or equal to `threshold'. The list `imgs' must contain only SharedImage objects.
def eidolon.ImageObject.calculateStackClipSqRange | ( | process, | |
imgs, | |||
threshold | |||
) |
def eidolon.ImageObject.isImageVolume | ( | images, | |
err = 1e-3 |
|||
) |
Returns True if the list of ShareImage objects `images' defines a single image volume, that is the positions of all the images fall on a single common line and the images have a common orientation. The margin of error for calculating these criteria is `err', which is a rather large value to account for Dicom inaccurracy.
def eidolon.ImageObject.sortImageStack | ( | images | ) |
Returns an indices list indexing the images in list `images' in bottom-up order.