sksurgeryimage.utilities.weisslogo module¶
A class for making a natty WEISS logo
-
class
sksurgeryimage.utilities.weisslogo.
WeissLogo
(image_size=331.0)[source]¶ Bases:
object
Creates a WEISS logo and passes a copy on request
-
sksurgeryimage.utilities.weisslogo.
circle
(img, center, radius, color[, thickness[, lineType[, shift]]]) → img¶ . @brief Draws a circle. . . The function cv::circle draws a simple or filled circle with a given center and radius. . @param img Image where the circle is drawn. . @param center Center of the circle. . @param radius Radius of the circle. . @param color Circle color. . @param thickness Thickness of the circle outline, if positive. Negative values, like #FILLED, . mean that a filled circle is to be drawn. . @param lineType Type of the circle boundary. See #LineTypes . @param shift Number of fractional bits in the coordinates of the center and in the radius value.
-
sksurgeryimage.utilities.weisslogo.
fillConvexPoly
(img, points, color[, lineType[, shift]]) → img¶ . @brief Fills a convex polygon. . . The function cv::fillConvexPoly draws a filled convex polygon. This function is much faster than the . function #fillPoly . It can fill not only convex polygons but any monotonic polygon without . self-intersections, that is, a polygon whose contour intersects every horizontal line (scan line) . twice at the most (though, its top-most and/or the bottom edge could be horizontal). . . @param img Image. . @param points Polygon vertices. . @param color Polygon color. . @param lineType Type of the polygon boundaries. See #LineTypes . @param shift Number of fractional bits in the vertex coordinates.