The development of science related to image processing is increasingly popular these days. The availability of technology to capture images well is now not difficult to find. Digital cameras have developed better with the increase in pixel value that can be produced from the camera's capture. Thresholding is an algorithm proposed in this paper to segment digital images which will then be read as the resulting segmented image. The thresholding method works with several steps, namely converting the RGB image color space to Grayscale, segmenting the image using the thresholding method, carrying out complement operations so that the object has a value of 1 (white), while the background has a value of 0 (black) and performing morphological operations to perfect it. the shape of the object in the binary image resulting from segmentation. The morphological operations carried out are in the form of filling holes, area opening, and erosion. This research uses MATLAB r2014a in developing the model.
An author who publishes in Jurnal Media Infotama agrees to the following terms:The author holds the copyright and grants the journal the right of first publication of the work simultaneously licensed under the Creative Commons Attribution-Share Alike 4.0 License which allows others to share the work with acknowledgment of the work's authorship and initial publication in this journal.Submission of a manuscript implies that the submitted work has not been previously published (except as part of a thesis or report, or abstract); that it is not being considered for publication elsewhere; that its publication has been approved by all co-authors. If and when a manuscript is accepted for publication, the author retains the copyright and retains the publishing rights without limitation.
The function DataChromatix.m (version 1.0) assigns a color to each data point of a time series. The color is determined by the values of a normalized histogram (estimated probability density function) computed from a pre-selected segment of the data. The algorithm receives the time series as input and generates a video of its colorized version as it would look on a typical monitor display, as well as a static graph of the entire colorized signal.
At each step, a normalized histogram of the data points in the memory window is computed. Then, the interval [0,1] is divided into c adjacent intervals, and each interval is assigned a color. If the jet color-map is used, the interval [0,1/c) corresponds to dark red and the interval ((c-1)/c,1] corresponds to dark blue. Subsequently, each data point in the colorization window is assigned the color of the histogram bin into which it falls. Finally, the colorization window is advanced by the shift, s, and the memory window is either extended or advanced by the same amount (Fig. 2).
Along with the function, we provide two examples that employ a fetal heart rate time series from the CTU-UHB Intrapartum Cardiotocography Database on PhysioNet, one using a memory window starting from the beginning of the recording, the other using a moving memory window of fixed length. Please note that for loading the time series, the MATLAB version of the wfdb library ( -app-matlab/) must be installed.
7fc3f7cf58