OpenCV does not support complex data types, but we still want to test them. This PR checks for complex datasets and does the comparisons on the imaginary and real components, separately - i.e. complex_ds.real and complex_ds.imag which are both np.float32.
OpenCV does not support complex data types, but we still want to test them. This PR checks for complex datasets and does the comparisons on the imaginary and real components, separately - i.e. complex_ds.real and complex_ds.imag which are both np.float32.