Until now, users were only allowed to use automatically-generated fields when performing image correlation using the DISCorrel and GPUCorrel Blocks. The fields were provided as strings, and converted into standard fields by the get_field function. Recently, a request was filed for further customization options of correlation fields in #97.
This PR enables users to provide their own correlation fields as numpy arrays, along with strings representing fields to automatically generate. A new example is added, demonstrating the simultaneous use of automatic and user-provided fields.
Until now, users were only allowed to use automatically-generated fields when performing image correlation using the
DISCorrel
andGPUCorrel
Blocks. The fields were provided as strings, and converted into standard fields by theget_field
function. Recently, a request was filed for further customization options of correlation fields in #97.This PR enables users to provide their own correlation fields as numpy arrays, along with strings representing fields to automatically generate. A new example is added, demonstrating the simultaneous use of automatic and user-provided fields.