Class: TencentCloud::Ie::V20200304::Denoising

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200304/models.rb

Overview

去噪参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, templstrength = nil, spatialstrength = nil) ⇒ Denoising

Returns a new instance of Denoising.



741
742
743
744
745
# File 'lib/v20200304/models.rb', line 741

def initialize(type=nil, templstrength=nil, spatialstrength=nil)
  @Type = type
  @TemplStrength = templstrength
  @SpatialStrength = spatialstrength
end

Instance Attribute Details

#SpatialStrengthObject

templ:时域降噪;spatial:空域降噪, fast-spatial:快速空域降噪。注意:可选择组合方式:1.type:“templ,spatial” ; 2.type:“templ,fast-spatial”。

Parameters:

  • Type:

    去噪方式,可选项:

  • TemplStrength:

    时域去噪强度,可选值:0.0-1.0 。小于0.0的默认为0.0,大于1.0的默认为1.0。

  • SpatialStrength:

    空域去噪强度,可选值:0.0-1.0 。小于0.0的默认为0.0,大于1.0的默认为1.0。



739
740
741
# File 'lib/v20200304/models.rb', line 739

def SpatialStrength
  @SpatialStrength
end

#TemplStrengthObject

templ:时域降噪;spatial:空域降噪, fast-spatial:快速空域降噪。注意:可选择组合方式:1.type:“templ,spatial” ; 2.type:“templ,fast-spatial”。

Parameters:

  • Type:

    去噪方式,可选项:

  • TemplStrength:

    时域去噪强度,可选值:0.0-1.0 。小于0.0的默认为0.0,大于1.0的默认为1.0。

  • SpatialStrength:

    空域去噪强度,可选值:0.0-1.0 。小于0.0的默认为0.0,大于1.0的默认为1.0。



739
740
741
# File 'lib/v20200304/models.rb', line 739

def TemplStrength
  @TemplStrength
end

#TypeObject

templ:时域降噪;spatial:空域降噪, fast-spatial:快速空域降噪。注意:可选择组合方式:1.type:“templ,spatial” ; 2.type:“templ,fast-spatial”。

Parameters:

  • Type:

    去噪方式,可选项:

  • TemplStrength:

    时域去噪强度,可选值:0.0-1.0 。小于0.0的默认为0.0,大于1.0的默认为1.0。

  • SpatialStrength:

    空域去噪强度,可选值:0.0-1.0 。小于0.0的默认为0.0,大于1.0的默认为1.0。



739
740
741
# File 'lib/v20200304/models.rb', line 739

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



747
748
749
750
751
# File 'lib/v20200304/models.rb', line 747

def deserialize(params)
  @Type = params['Type']
  @TemplStrength = params['TemplStrength']
  @SpatialStrength = params['SpatialStrength']
end