Segmentation using Fuzzy Logic-based methods
This page shows the operation of the Fuzzy Logic based methods, as well as the arguments of each method.
Base object
def __init__(self, image: numpy.ndarray, class_representation: Dict):
"""
Initializes the base object for the segmentation using the membership functions of fuzzy sets.
Args:
image: A three-dimensional numpy array, representing the image to be segmented which entries are in 0...255
range and the channels are BGR.
class_representation: A dictionary with the representation colour of each class. Each entry in the dictionary
must be an integer as the key, and a RGB tuple as value.
"""def segment(self, **kwargs) -> SegmentationResult:
"""
A generic method to compute the colour segmentation of an RGB image.
"""AmanteTrapezoidalSegmentator object
AmanteTrapezoidalSegmentator objectChamorroTrapezoidalSegmentator object
ChamorroTrapezoidalSegmentator objectLiuWangTrapezoidalSegmentator object
LiuWangTrapezoidalSegmentator objectShamirTriangularSegmentator object
ShamirTriangularSegmentator objectLast updated