cutcutcodec.core.analysis.video.quality.vif¶
- cutcutcodec.core.analysis.video.quality.vif(dis: Tensor, ref: Tensor) Tensor[source]¶
Compute the visual information fidelity of 2 images.
Parameters¶
- dis, refarraylike
The 2 images to be compared, of shape ([*batch], height, width, channels=[1, 3]). The frames are assumed to be in Y or YUV (y’pbpr) in range [0, 1]. Only the y’ component is used.
Returns¶
- vifarraylike
The visual information fidelity of each image.
Notes¶
This metric isn’t symmetric, so make sure to place arguments in correct order.