org.bigml.mimir.image.ImageReader.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mimir Show documentation
Show all versions of mimir Show documentation
Java/Clojure Prediction Code for BigML
???? 7 ?
# V " W " X " Y " Z " [ " \
" ]
^ _
^ `
^ a
^ b
c d
c e
c f
" g
c h
i j
" k
c l
m n
" o p
V I q J r J s c t I u
c v
c w
" x
" y z { |
_maxDimension I _shape [I _meanImageArray [[[D _meanImageVector [F _centerCrop Z _useRGB serialVersionUID J
ConstantValue ([IIZ)V Code LineNumberTable ()V ([I)V (I)V 9(Lorg/bigml/mimir/deepnet/network/ImageNetworkMetadata;)V scale >(Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;
StackMapTable } objectTo3DArray (Ljava/lang/Object;)[[[D * objectTo1DArray (Ljava/lang/Object;)[F , objectsToTensor 1(Ljava/util/List;)Lorg/tensorflow/types/TFloat32; ~ Signature E(Ljava/util/List;)Lorg/tensorflow/types/TFloat32; readAndScale 2(Ljava/lang/Object;)Ljava/awt/image/BufferedImage;
preprocess
([[[D)[[[D ([F)[F convert (DI)D
SourceFile ImageReader.java 5 9 ' ( % & - . / . ) * + , 5 6 ? ? ? ? ? ? ? ? ? ? ? ? = ? = ? M N ? ? ? ? ? O P ? ? ? ? ? O Q java/util/ArrayList ? ? ? ? ? ? ? ? ? ? ? ? ? N = > R S !org/bigml/mimir/image/ImageReader java/lang/Object java/io/Serializable java/awt/image/BufferedImage java/util/List java/util/Iterator 4org/bigml/mimir/deepnet/network/ImageNetworkMetadata getShape ()[I isPretrained ()Z getMeanImageArray ()[[[D getMeanImageVector ()[F org/bigml/mimir/image/IO scaleAndCrop @(Ljava/awt/image/BufferedImage;[I)Ljava/awt/image/BufferedImage; ?(Ljava/awt/image/BufferedImage;I)Ljava/awt/image/BufferedImage; toArray %(Ljava/awt/image/BufferedImage;Z)[[[D org/bigml/mimir/math/Matrices subtractInPlace ([[[D[[[D)[[[D
toFourChannel #(Ljava/awt/image/BufferedImage;Z)[F org/bigml/mimir/math/Vectors ([F[F)[F iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; EMPTY_IMAGE Ljava/awt/image/BufferedImage; add (Ljava/lang/Object;)Z toTensor 2(Ljava/util/List;Z)Lorg/tensorflow/types/TFloat32; readImage! " # $ % &