Package org.mycore.iview.tests.image.api
Class Selection
java.lang.Object
org.mycore.iview.tests.image.api.Selection
- Direct Known Subclasses:
FilterSelection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Selection
fromBufferedImage
(BufferedImage bufferedImage) Creates a selection of all Pixel of a Buffered imagegetPixel()
-
Constructor Details
-
Selection
public Selection()
-
-
Method Details
-
getPixel
- Returns:
- a List of all Pixel wich contains this selection
-
getPositionPixelMap
- Returns:
- returns a hashmap wich contains the position as key and the pixel as value
-
fromBufferedImage
Creates a selection of all Pixel of a Buffered image- Parameters:
bufferedImage
- the buffered image from wich the selection should be created- Returns:
- the selection
-
getUpperLeft
-
getLowerRight
-
toBufferedImage
-