Package com.io7m.calino.imageproc.api
Interface CLNImageViewFactoryType
- All Known Implementing Classes:
CLNImageViews
public interface CLNImageViewFactoryType
A factory of image views.
-
Method Summary
Modifier and TypeMethodDescriptioncreateImageView2D
(CLNImageInfo imageInfo, CLNImage2DDescription image2DDescription, byte[] data) Create a new view of the given data.createImageViewArray
(CLNImageInfo imageInfo, CLNImageArrayDescription imageArrayDescription, byte[] data) Create a new view of the given data.createImageViewCube
(CLNImageInfo imageInfo, CLNImageCubeDescription imageCubeDescription, byte[] data) Create a new view of the given data.
-
Method Details
-
createImageView2D
CLNImageView2DType createImageView2D(CLNImageInfo imageInfo, CLNImage2DDescription image2DDescription, byte[] data) Create a new view of the given data.- Parameters:
imageInfo
- The image infoimage2DDescription
- The particular 2D image descriptiondata
- The raw image bytes- Returns:
- A new image view
-
createImageViewArray
CLNImageView2DType createImageViewArray(CLNImageInfo imageInfo, CLNImageArrayDescription imageArrayDescription, byte[] data) Create a new view of the given data.- Parameters:
imageInfo
- The image infoimageArrayDescription
- The particular array image descriptiondata
- The raw image bytes- Returns:
- A new image view
-
createImageViewCube
CLNImageView2DType createImageViewCube(CLNImageInfo imageInfo, CLNImageCubeDescription imageCubeDescription, byte[] data) Create a new view of the given data.- Parameters:
imageInfo
- The image infoimageCubeDescription
- The particular cube image descriptiondata
- The raw image bytes- Returns:
- A new image view
-