Class ChipServiceImpl
java.lang.Object
org.codice.alliance.imaging.chip.service.impl.ChipServiceImpl
- All Implemented Interfaces:
org.codice.alliance.imaging.chip.service.api.ChipService
public class ChipServiceImpl
extends Object
implements org.codice.alliance.imaging.chip.service.api.ChipService
An implementation of ChipService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchip(BufferedImage inputImage, org.locationtech.jts.geom.Polygon inputImagePolygon, org.locationtech.jts.geom.Polygon chipPolygon) crop(BufferedImage inputImage, int x, int y, int w, int h)
-
Constructor Details
-
ChipServiceImpl
public ChipServiceImpl() -
ChipServiceImpl
-
-
Method Details
-
chip
public BufferedImage chip(BufferedImage inputImage, org.locationtech.jts.geom.Polygon inputImagePolygon, org.locationtech.jts.geom.Polygon chipPolygon) throws org.codice.alliance.imaging.chip.service.api.ChipOutOfBoundsException - Specified by:
chipin interfaceorg.codice.alliance.imaging.chip.service.api.ChipService- Throws:
org.codice.alliance.imaging.chip.service.api.ChipOutOfBoundsException
-
crop
public BufferedImage crop(BufferedImage inputImage, int x, int y, int w, int h) throws org.codice.alliance.imaging.chip.service.api.ChipOutOfBoundsException - Specified by:
cropin interfaceorg.codice.alliance.imaging.chip.service.api.ChipService- Throws:
org.codice.alliance.imaging.chip.service.api.ChipOutOfBoundsException
-