1 package mhr.appcore.image.layers.lut;
3 import org.w3c.dom.Document;
4 import org.w3c.dom.Element;
6 import mhr.appcore.bitmap.NBitmap;
7 import mhr.appcore.bitmap.exceptions.BitmapAllocationException;
8 import mhr.appcore.bitmap.exceptions.UnsupportedBitmapException;
9 import mhr.appcore.exceptions.AlreadyDisposedException;
10 import mhr.appcore.image.Image;
11 import mhr.appcore.image.exceptions.InvalidLayerSpecificPresentationSuppliedException;
12 import mhr.appcore.image.exceptions.LayerCreationException;
13 import mhr.appcore.image.layers.Layer;
14 import mhr.appcore.image.layers.LayerPDInfo;
15 import mhr.appcore.image.layers.LayerType;
16 import mhr.appcore.interfaces.ImageFile;
17 import mhr.appcore.pointops.LUT;
18 import mhr.appcore.pointops.LUTAllocationException;
19 import mhr.appcore.utils.Rect;
65 gamma = Double.parseDouble(i.getElementsByTagName(
"Gamma").item(0).getTextContent());
66 }
catch (Exception e) {
120 GammaLUTLayerSpecificPresentation p = (GammaLUTLayerSpecificPresentation) presentation.
extra;