One of the essential preprocessing operations implemented in any effective image processing algorithm is image segmentation or background elimination. In this study, all raw depth images were processed using the following procedure. First, image background removal was applied to the raw depth image data obtained using the image subtraction technique to remove the carcass background during image acquisition, as presented in Equation 1 (Li et al., 2002).
Where is the resultant image after it has been separated from its background, the original image is , the background image is he threshold is T. Second, after establishing minimum and maximum thresholds, distance thresholding was performed based on depth image distance intensities to obtain the region of interest (ROI) according to Equation 2 (Jana, 2012; Okinda et al., 2018b).
Where is the resulting image following the removal of its background, is the minimum depth distance threshold, and is the maximum depth distance threshold. Third, Smoothening was performed on the using the Gaussian kernel filter (15 × 15 pixels zero mean) (Equation 3), then morphological opening by a disk structural element of size 9 pixels to remove small holes and obtain a clear depth image (Equation 4).
Where is the resultant filtered image, and is the Gaussian filter kernel.
Where is the resultant image after morphological opening, is the structural element, is the translation of by a point p.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.