tensorflow::ops::DecodeBmp
#include <image_ops.h>Decodifica il primo fotogramma di un'immagine codificata in BMP in un tensore uint8.
Riepilogo
Il parametro attr channels indica il numero desiderato di canali di colore per l'immagine decodificata.
I valori accettati sono:
- 0: Utilizzare il numero di canali nell'immagine codificata in BMP.
- 3: generare un'immagine RGB.
- 4: generare un'immagine RGBA.
Argomentazioni:
- ambito: un oggetto Scope
- Contenuto: 0-D. L'immagine codificata in BMP.
Resi:
-
Output: 3D 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 statiche pubbliche | |
|---|---|
Channels (int64 x) | |
Strutture | |
|---|---|
| tensorflow::ops::DecodeBmp::Attrs | Impostatori di attributi opzionali 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::tensoreflusso::output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
Canali
Attrs Channels( int64 x )