Skip to content

real_to_vector_fieldRealToVectorFieldRealToVectorFieldreal_to_vector_fieldreal_to_vector_field🔗

Short description🔗

real_to_vector_fieldRealToVectorFieldRealToVectorFieldreal_to_vector_fieldreal_to_vector_field — Convert two real-valued images into a vector field image.

Signature🔗

real_to_vector_field( image Row, image Col, out image VectorField, string Type )void RealToVectorField( const HObject& Row, const HObject& Col, HObject* VectorField, const HTuple& Type )static void HOperatorSet.RealToVectorField( HObject row, HObject col, out HObject vectorField, HTuple type )def real_to_vector_field( row: HObject, col: HObject, type: str ) -> HObject

Herror real_to_vector_field( const Hobject Row, const Hobject Col, Hobject* VectorField, const char* Type )

Herror T_real_to_vector_field( const Hobject Row, const Hobject Col, Hobject* VectorField, const Htuple Type )

HImage HImage::RealToVectorField( const HImage& Col, const HString& Type ) const

HImage HImage::RealToVectorField( const HImage& Col, const char* Type ) const

HImage HImage::RealToVectorField( const HImage& Col, const wchar_t* Type ) const (Windows only)

HImage HImage.RealToVectorField( HImage col, string type )

Description🔗

real_to_vector_fieldRealToVectorField converts two real-valued images Rowrowrow and Colcolcol into a vector field image VectorFieldvectorFieldvector_field. The input images contain the vector components in the row and column direction, respectively. The semantic type of VectorFieldvectorFieldvector_field is set with Typetypetype.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

Parameters🔗

Rowrowrow (input_object) singlechannelimage(-array) → object (real)HObject (real)HImage (real)HObject (real)Hobject (real)

Vector component in the row direction.

Colcolcol (input_object) singlechannelimage(-array) → object (real)HObject (real)HImage (real)HObject (real)Hobject (real)

Vector component in the column direction.

VectorFieldvectorFieldvector_field (output_object) image(-array) → object (vector_field)HObject (vector_field)HImage (vector_field)HObject (vector_field)Hobject * (vector_field)

Displacement vector field.

Typetypetype (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Semantic kind of the vector field.

Default: 'vector_field_relative'"vector_field_relative"
List of values: 'vector_field_absolute', 'vector_field_relative'"vector_field_absolute", "vector_field_relative"

Combinations with other operators🔗

Combinations

Possible predecessors

vector_field_to_realVectorFieldToReal

Module🔗

Foundation