ImageGear .NET v25.2 - Updated
ImageGear.Processing.Advanced Assembly / ImageGear.FreqIP Namespace / ImGearComplexObject Class / ImGearComplexObject Constructor / ImGearComplexObject Constructor(ImGearPage,ImGearPage)
ImageGear.Core.ImGearPage class object to to be used as the real part of the newly created object.
ImageGear.Core.ImGearPage class object to to be used as the imaginary part of the newly created object.




In This Topic
    ImGearComplexObject Constructor(ImGearPage,ImGearPage)
    In This Topic
    Initializes a new instance of the ImGearComplexObject class based on the given realPage and imaginaryPage.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal realPage As ImGearPage, _
       ByVal imaginaryPage As ImGearPage _
    )
    'Usage
     
    Dim realPage As ImGearPage
    Dim imaginaryPage As ImGearPage
     
    Dim instance As New ImGearComplexObject(realPage, imaginaryPage)
    public ImGearComplexObject( 
       ImGearPage realPage,
       ImGearPage imaginaryPage
    )
    public: ImGearComplexObject( 
       ImGearPage* realPage,
       ImGearPage* imaginaryPage
    )
    public:
    ImGearComplexObject( 
       ImGearPage^ realPage,
       ImGearPage^ imaginaryPage
    )

    Parameters

    realPage
    ImageGear.Core.ImGearPage class object to to be used as the real part of the newly created object.
    imaginaryPage
    ImageGear.Core.ImGearPage class object to to be used as the imaginary part of the newly created object.

    Return Value

    New ImGearComplexObject class object.
    Remarks
    This constructor creates a new object based on the given realPage and imaginaryPage.

    The dimension of the newly created object is determined by the width and height of realPage and imaginaryPage. If imaginaryPage is not null, this constructor requires realPage and imaginaryPage to have the same width and height; otherwise, the width and height of realPage is used.

    Data from realPage and imaginaryPage is then used respectively to populate the real and imaginary buffer in the newly created object.

    Note that realPage and imaginaryPage should only have one channel with bit depth being 8, 16 or 32.

    See Also