Blobs.uc#

property Blobs.uc: Any#

u-coordinate of the blob centroid

Returns:

u-coordinate (horizontal)

Return type:

float

Example:

>>> from machinevisiontoolbox import Image
>>> im = Image.Read('shark2.png')
>>> blobs = im.blobs()
>>> blobs[0].uc
371.2073205542015
>>> blobs.uc
array([371.2073, 171.2073])
Seealso:

vc centroid