Package org.datavec.image.transform
Class FilterImageTransform
- java.lang.Object
-
- org.datavec.image.transform.BaseImageTransform
-
- org.datavec.image.transform.FilterImageTransform
-
- All Implemented Interfaces:
Operation,ImageTransform
public class FilterImageTransform extends BaseImageTransform
-
-
Field Summary
-
Fields inherited from class org.datavec.image.transform.BaseImageTransform
converter, currentImage, random
-
-
Constructor Summary
Constructors Constructor Description FilterImageTransform(String filters, int width, int height)Callsthis(filters, width, height, 3).FilterImageTransform(String filters, int width, int height, int channels)Constructs a filtergraph out of the filter specification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImageWritabledoTransform(ImageWritable image, Random random)-
Methods inherited from class org.datavec.image.transform.BaseImageTransform
getCurrentImage, query, transform, transform
-
-
-
-
Constructor Detail
-
FilterImageTransform
public FilterImageTransform(String filters, int width, int height)
Callsthis(filters, width, height, 3).
-
FilterImageTransform
public FilterImageTransform(String filters, int width, int height, int channels)
Constructs a filtergraph out of the filter specification.- Parameters:
filters- to usewidth- of the input imagesheight- of the input imageschannels- of the input images
-
-
Method Detail
-
doTransform
protected ImageWritable doTransform(ImageWritable image, Random random)
- Specified by:
doTransformin classBaseImageTransform
-
-