container.py¶
-
class
pySphinx.src.container.
ContainerImages
(imageSide, imageTop)¶ Bases:
object
-
extBackgroundMask
(upperRibbon, image, xEnd, ifDebug)¶
-
extContainerImage
(image, dx, dy, cx, cy, angle)¶
-
getAngle
(image, x1, y1, x2, y2, dh, ifDebug)¶
-
getBoundingBoxSide
(ifDebug)¶
-
getBoundingBoxTop
(ifDebug)¶
-
getContainerImage
(image, xEnd1, dl, dh, cx, cy, angle, ifDebug)¶
-
getContainerImageSide
(ifDebug)¶
-
getContainerImageTop
(ifDebug)¶
-
getContainerMask
(image, dx, dy, cx, cy, angle)¶
-
getDh
(image, x2, y2)¶
-
getDw
(image, x2, y2, ifDebug)¶
-
getLeftEndRaw
(image, ifDebug)¶
-
getLefttopCorner2Raw
(image, x1, y1, xEnd1, xEnd2)¶
-
getLefttopCornerRaw
(image, band, ribbon)¶
-
getRighttopCornerRaw
(image, x1, y1)¶
-
getRotatedImage
(image, angle)¶
-
getTranslatedImage
(image, dx, dy)¶
-
preprocessImageSide
(ifDebug)¶
-
preprocessImageTop
(ifDebug)¶
-
trimImage
(image)¶
-