tensorflow::ops::AdjustContrast

#include <image_ops.h>

Bir veya daha fazla görüntünün kontrastını ayarlayın.

Özet

images en az 3 boyutlu bir tensördür. Son 3 boyut [height, width, channels] olarak yorumlanır. Diğer boyutlar ise yalnızca [batch, height, width, channels].

Kontrast, her bir görüntünün her kanalı için bağımsız olarak ayarlanır.

Her kanal için, Op öncelikle kanaldaki görüntü piksellerinin ortalamasını hesaplar ve ardından her pikselin her bileşenini (x - mean) * contrast_factor + mean göre ayarlar.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • Görseller: Ayarlanacak görseller. En az 3 boyutlu.
  • contrast_factor: Kontrastı ayarlamak için kullanılan ondalık sayı çarpanı.

İadeler:

  • Output : Kontrastı ayarlanmış görüntü veya görüntüler.

Yapıcılar ve Yıkıcılar

AdjustContrast (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input contrast_factor)

Genel özellikler

operation
output

Kamusal işlevler

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

Kontrastı Ayarla

 AdjustContrast(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input contrast_factor
)

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const