mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
add note about Python's dsize to doc
This commit is contained in:
parent
732cb6c45c
commit
25cd7c7c50
@ -2223,7 +2223,7 @@ enlarge an image, it will generally look best with c#INTER_CUBIC (slow) or #INTE
|
|||||||
@param src input image.
|
@param src input image.
|
||||||
@param dst output image; it has the size dsize (when it is non-zero) or the size computed from
|
@param dst output image; it has the size dsize (when it is non-zero) or the size computed from
|
||||||
src.size(), fx, and fy; the type of dst is the same as of src.
|
src.size(), fx, and fy; the type of dst is the same as of src.
|
||||||
@param dsize output image size; if it equals zero, it is computed as:
|
@param dsize output image size; if it equals zero (`None` in Python), it is computed as:
|
||||||
\f[\texttt{dsize = Size(round(fx*src.cols), round(fy*src.rows))}\f]
|
\f[\texttt{dsize = Size(round(fx*src.cols), round(fy*src.rows))}\f]
|
||||||
Either dsize or both fx and fy must be non-zero.
|
Either dsize or both fx and fy must be non-zero.
|
||||||
@param fx scale factor along the horizontal axis; when it equals 0, it is computed as
|
@param fx scale factor along the horizontal axis; when it equals 0, it is computed as
|
||||||
|
Loading…
Reference in New Issue
Block a user