ImageGear21.Processing.Advanced Assembly > ImageGear.FreqIP Namespace > ImGearComplexObject Class > ImGearComplexObject Constructor : ImGearComplexObject Constructor(ImGearPage,ImGearPage) |
'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 )
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.