cvpy.biomedimage.BiomedImageTable.BiomedImageTable¶
- class cvpy.biomedimage.BiomedImageTable.BiomedImageTable(table: CASTable | None = None, image: str | None = None, dimension: str | None = None, resolution: str | None = None, imageFormat: str | None = None, path: str | None = None, label: str | None = None, id: str | None = None, size: str | None = None, type: str | None = None)¶
Implement biomedical image processing functions.
- Parameters:
- table:
Specifies the input table that contains image data.
- image:
Specifies the name of the column that contains image binaries.
- dimension:
Specifies the name of the column that contains dimensions of images.
- resolution:
Specifies the name of the column that contains resolutions of images.
- imageFormat:
Specifies the name of the column that contains formats of image binaries.
- path:
Specifies the name of the column that contains file paths.
- label:
Specifies the name of the column that contains labels of images.
- id:
Specifies the name of the variable that identifies each image.
- size:
Specifies the name of the column that contains byte lengths of image binaries.
- type:
Specifies the name of the column that contains the image type.
- Returns:
- :class:’BiomedImageTable’
- __init__(table: CASTable | None = None, image: str | None = None, dimension: str | None = None, resolution: str | None = None, imageFormat: str | None = None, path: str | None = None, label: str | None = None, id: str | None = None, size: str | None = None, type: str | None = None) None ¶
Methods
__init__([table, image, dimension, ...])
as_dict()
Create a dictionary representation of this object.
fetch_geometry_info([n, qry, posCol, ...])
Fetch geometry information from this BiomedImageTable.
fetch_image_array([n, qry, image, dim, res, ...])
Fetch image array from this BiomedImageTable.
from_table(cas_table[, image_type, image, ...])
Creates an ImageTable from a CASTable.
Check if this table contains decoded images or encoded images.
load(connection, path[, load_parms, ...])
Loads images in an ImageTable.
morphological_gradient([kernel_width, ...])
Compute the morphological gradient for each 3D grayscale image in this BiomedImageTable.
sphericity(use_spacing, input_background, ...)
Quantify the sphericity for the given component from this BiomedImageTable.
validate_set_column(column, column_name, ...)
Attributes
BIOMED_IMAGE_FORMATS
CHAR_TYPE
DIMENSION_COL
FORMAT_COL
ID_COL
IMAGE_COL
INT64_TYPE
LABEL_COL
PATH_COL
RESOLUTION_COL
SIZE_COL
TYPE_COL
VARBINARY_IMAGE_TYPE
VARBINARY_TYPE
VARCHAR_TYPE
connection
dimension
id
image
imageFormat
label
path
resolution
size
table
type