#include namespace rtengine { LabImage::LabImage (int w, int h) : fromImage(false), W(w), H(h) { L = new unsigned short*[H]; for (int i=0; iwidth; H = im->height; L = im->r; a = (short**) im->g; b = (short**) im->b; fromImage = true; } LabImage::~LabImage () { if (!fromImage) { for (int i=0; i