tensoreflusso:: ops:: DecodificaBmp

#include <image_ops.h>

Decodifica il primo fotogramma di un'immagine codificata BMP in un tensore uint8.

Riepilogo

I channels attr indicano il numero desiderato di canali di colore per l'immagine decodificata.

I valori accettati sono:

  • 0: utilizza il numero di canali nell'immagine con codifica BMP.
  • 3: emette un'immagine RGB.
  • 4: emette un'immagine RGBA.

Argomenti:

  • scope: un oggetto Scope
  • contenuto: 0-D. L'immagine con codifica BMP.

Ritorna:

  • Output : 3-D con forma [height, width, channels] . Ordine RGB

Costruttori e distruttori

DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents)
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const DecodeBmp::Attrs & attrs)

Attributi pubblici

image
operation

Funzioni pubbliche

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Funzioni pubbliche statiche

Channels (int64 x)

Strutture

tensorflow:: ops:: DecodeBmp:: Attrs

Setter di attributi facoltativi per DecodeBmp .

Attributi pubblici

Immagine

::tensorflow::Output image

operazione

Operation operation

Funzioni pubbliche

DecodificaBmp

 DecodeBmp(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents
)

DecodificaBmp

 DecodeBmp(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents,
  const DecodeBmp::Attrs & attrs
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const 

Funzioni pubbliche statiche

Canali

Attrs Channels(
  int64 x
)