path = ome.io.nio.Helper.getPixelsPath(pixels.getId());
path = new PixelsService(PixelsService.ROOT_DEFAULT).getPixelsPath(pixels.getId());
    private void createPlanes() throws IOException    {        planeCount = pixels.getSizeZ() * pixels.getSizeC() *                     pixels.getSizeT();        // FIXME: *Hack* right now we assume everything is 16-bits wide        planeSize  = pixels.getSizeX() * pixels.getSizeY() *                     2;        path = ome.io.nio.Helper.getPixelsPath(pixels.getId());        originalDigests = new byte[planeCount][];                FileOutputStream stream = new FileOutputStream(path);                for (int i = 0; i < planeCount; i++)        {            byte[] plane = createPlane(planeSize.intValue(), (byte)(i - 128));            originalDigests[i] = Helper.calculateMessageDigest(plane);            stream.write(plane);        }    }