PixelsService service = PixelsService.getInstance();
PixelsService service = new PixelsService(PixelsService.ROOT_DEFAULT);
    public void testAllPlanes()    throws IOException, DimensionsOutOfBoundsException    {        PixelsService service = PixelsService.getInstance();        PixelBuffer pixbuf = service.getPixelBuffer(pixels);                String newMessageDigest;        String oldMessageDigest;        int digestOffset;        for (int t = 0; t < pixels.getSizeT(); t++)        {            for (int c = 0; c < pixels.getSizeC(); c++)            {                for (int z = 0; z < pixels.getSizeZ(); z++)                {                    digestOffset = getDigestOffset(z, c, t);                    MappedByteBuffer plane = pixbuf.getPlane(z, c, t);                    newMessageDigest =                         Helper.bytesToHex(Helper.calculateMessageDigest(plane));                    oldMessageDigest =                        Helper.bytesToHex(originalDigests[digestOffset]);                                        assertEquals(getPlaneCheckErrStr(z, c, t),                                 oldMessageDigest, newMessageDigest);                }            }        }    }