Image processing with the thresholding method using MATLAB R2014A.
Keywords:
Digital image, Thresholding, RGB, Grayscale, MATLAB r2014aAbstract
The development of image processing science has become increasingly popular. With the availability of advanced technology for capturing high-quality images, digital cameras have significantly improved, with higher pixel values generated by the camera. The thresholding algorithm, proposed in this paper, is used to segment digital images, which are then processed as segmented results. The thresholding method involves several steps: converting the RGB image into grayscale, segmenting the image using the thresholding technique, performing complement operations to make objects white (1) and the background black (0), and applying morphological operations to refine the shapes of the objects in the segmented binary image. The morphological operations include hole filling, area opening, and erosion. This study uses MATLAB R2014a to develop the model.