Click or drag to resize

HDRCommand Class

Creates the High Dynamic Range image from a set of the images.
Inheritance Hierarchy
SystemObject
  MediaCy.IQL.ApplicationMcCommand
    MediaCy.IQL.ApplicationMcCommandExtended
      MediaCy.CommandsBaseCommand
        MediaCy.CommandsOneInputOneOutputCommandIList, McImage
          MediaCy.CommandsHDRCommand

Namespace:  MediaCy.Commands
Assembly:  MediaCy.Commands (in MediaCy.Commands.dll) Version: 3.1.0.0
Syntax
VB
Public Class HDRCommand
	Inherits OneInputOneOutputCommand(Of IList, McImage)

The HDRCommand type exposes the following members.

Constructors
  NameDescription
Public methodHDRCommand
Initializes a new instance of the HDRCommand class
Public methodHDRCommand(McCommand)
Initializes a new instance of the HDRCommand class
Top
Properties
  NameDescription
Public propertyFilterSize
Defines the size of the filter used in mchdrLocalToneMappingXXX methods.
Public propertyKeyValue
Tone mapping KeyValue.
Public propertyMethod
HDR tone mapping method.
Public propertySaturation
Saturation value of output tone mapping.
Public propertyStrength
Defines the strength of local contrast filter used in mchdrLocalToneMappingXXX methods.
Public propertyVisible
Top
Methods
Remarks
The function uses "CaptureExposure" frame properties to estimate intensity scale of the images. When this property is absent, the scale is calculated based on the images.
Examples
The following macro shows how to set Exposure time to frames if it has to be done manually:
VB
Public Sub DemoSetExposureTimes()
    Dim im As MediaCy.IQL.Engine.McImage = ThisApplication.ActiveImage
    If im Is Nothing Then Exit Sub
    Dim expTime As Double = 5 ' initial time
    For Each fr As MediaCy.IQL.Engine.McFrame In im.Frames
        fr.Properties("CaptureExposure")=expTime
        expTime*=2'double for next frame
    Next
End Sub
See Also