![]() |
![]() ![]() |
convert an AVS/Express Field_Unif to an ip_Image
IPfldToROI converts an AVS/Express Field_Unif into an ip_Roi so that it can be used in IP image processing macros.
IPfldToROI is currently written to assume that the input field is the AVS/Express analog of an AVS ARGB image. Thus, the input AVS/Express field must have a single component. By default, IPfldToROI will extract the second subcomponent (veclen=1) of this scalar component. (I.e., it will extract the "red" channel of the input AVS ARGB image.) You can extract a different subcomponent by manually setting the value of the component subobject. You do this by using the Network Editor to Maximize the IPfldToImage icon; then Open the scalarData icon, then Open its component subobject and type in a new value.
![]() |
![]() ![]() |