I'm trying to understand the syntax on the OpenCV documentation... For example, any function shows the Python implementation in a similar form, such as:
dst = cv.boxFilter( src, ddepth, ksize[, dst[, anchor[, normalize[, borderType]]]] )
Is ksize, dst, anchor, etc optional parameters? Why are they all nested? (e.g. why is borderType inside the normalize brackets, normalize inside the anchor brackets, etc.?) What is that supposed to imply?