type PtrOfQualityPSNR = Ptr<QualityPSNR>;
Clears the algorithm state
Stores algorithm parameters in a file storage
simplified API for language bindings Stores algorithm parameters in a file storage Read more
Reads algorithm parameters from a file storage
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores ## Parameters * img: comparison image, or image to evalute for no-reference quality algorithms Read more
Returns output quality map that was generated during computation, if supported by the algorithm
Implements Algorithm::clear()
Implements Algorithm::empty()
Compute the PSNR ## Parameters * cmp: Comparison image ## Returns Per-channel PSNR value, or std::numeric_limits::infinity() if the MSE between the two images == 0 Read more
Implements Algorithm::empty()
Implements Algorithm::clear()
return the maximum pixel value used for PSNR computation
sets the maximum pixel value used for PSNR computation ## Parameters * val: Maximum pixel value Read more