• Tidak ada hasil yang ditemukan

Adaptive binarization of legacy ionization chamber cosmic ray recordings

N/A
N/A
Protected

Academic year: 2023

Membagikan "Adaptive binarization of legacy ionization chamber cosmic ray recordings"

Copied!
43
0
0

Teks penuh

The threshold value of 200 is chosen to compensate for any shadows that may appear along the edge of the data strip in the image. The output of this method is the cropped image ICropped as well as the values ​​of the upper and lower bounds, T1 and B1 respectively. The row with the highest value within this set represents the center of the temperature data line.

In such cases, the possible position of the temperature data line is output. The output of this method is an integer value representing the position of the row within the image containing the center of the temperature data line. This method identifies the pixels that have the highest intensity values ​​in each column of the image matrix.

When the column is dark enough to require this step, most pixels in. All pixels in the scanned image are assumed to have a high probability of being part of the data lines in the image. The output of this method is a scanned imageIRemove without any vertical black lines spanning the height of the image.

The output of the Mark MM ark method is used as input to this method along with the output of the BlurIBlur method.

Clean

If a row is marked, then all pixels in the corresponding row in the blurred image have their intensity values ​​set to a fill value. This F-fill value is the average intensity of the image where the lines are being erased, in this case the blurred image. This F padding value is also applied to the upper and lower neighbor of each corresponding marked pixel, to compensate for the jagged edges of the lines in the image.

When the Scan Method is applied to the resulting image a second time, any detected horizontal high-intensity lines have been replaced by the average value of the image, ensuring that they are not detected again. This allows more of the actual data line pixels to be identified and sent to subsequent steps in the process. If the number of extracted pixels in the mask is less than five and there are no extracted pixels in the border surrounding the mask, the small set of pixels probably does not represent part of the data line and is removed (replaced with white pixels). with a value of 255).

The same process is applied to each individual pixel, and if a pixel is not connected to any neighbor, it is also removed. The purpose of this method is to reduce the number of pixels, in a rough estimate of the foreground of the image, that are not part of the data the process is trying to extract.

Target

The output of this method is a mask IT-arget containing highlighted areas that indicate areas that have a high probability of containing data in the original image.

Connect

Scrub

The number of pixels within each connected component is counted and the average pixel count of the connected components is calculated. All connected components that contain more pixels than the average number are passed to the next method. The average pixel count of the remaining connected components is calculated and 1.5 times that number is taken as the new cutoff value.

Any connected components containing more pixels than this value are passed to the next method, while the rest are discarded. This results in removing from the image all the small connected components that are unlikely to be part of a data line. The output of this method is a mask imageIScrub containing a set of large connected components that mostly represent lines of data.

Identify

Identify1

This method receives as input the output of the ScrubIScrub method along with an integer indicating the number of rows to use when calculating the mean row values, smoothing the row population plot in the process. The background of this input image has a value of 0 while the connected components in it have values ​​of 1 or more. The output of this method is an image IIdentif y1 containing only the connected components within the vertical area of ​​the image containing the data lines.

Identify2

Identify3

These discarded lines are cut from the image reducing the vertical size of the image. The output of this image is a reduced-height IIdentif y3 image that contains only lines that contain part of a line of data. The vertical lengths of the image parts that have been cropped, T2 and B2, are also output.

This smaller image serves as the new original data image for the second iteration of the data extraction process. Reducing the image size in this way reduces the processing time and eliminates the effect of unwanted image objects in the subsequent stages of the process.

Bind

Extract

Purify

This is done by searching for any pixels within the image that have 4 empty (white) neighbors. These single pixels are removed to prevent the following dilation from increasing the effect of noise. The image is then dilated, using a 4-neighbor filter, to thicken any lines extracted by the Scan method, as required by the Designate method.

The output of this method is a dilated version of the inputMP urif y, without any individual pixels that have no 4-connected neighbors.

Designate

Define

A search area of ​​50 pixels above, below, and to the right of each pixel is assigned throughout the process. A characteristic of the data is that it is spread over the entire width of the image and thus each column is expected to contain some data pixels in close proximity to the data pixels of the previous column. This is achieved by finding the first marked pixel in the image and labeling it as the main pixel being investigated.

A table is created that lists all the other marked pixels within the image, along with their X and Y coordinates and their distance from the main pixel. All pixels that are labeled as proximity pixels have their table entries required for the pixel with the shortest distance from the parent pixel. This pixel is then passed to the output image while all other pixels between the primary pixel and the newly called pixel are labeled in the list as removable pixels.

Those list entries marked for removal will not be considered during subsequent calculations and will not be passed to the output image. If there are no pixels in the vicinity of the primary pixel, then the remaining pixels outside the initial search area are probed to identify the set of pixels with the shortest horizontal distance between it and the primary pixel. The pixel in this array with the shortest vertical distance between it and the primary pixel is then passed to the output image and becomes the new primary.

Once again, all pixels between the starting primary pixel and the new primary pixel are marked for removal. By prioritizing the search for pixels in this way, rather than only searching for pixels outside the starting search area with the shortest distance from the primary pixel, you prevent the method from ignoring pixels at the ends of a data row and misidentifying the pixel in the middle of the next row as the starting point , thereby ignoring large segments of both data lines. When a pixel is sent to the output image and this newly sent pixel then becomes the primary pixel, the list of all remaining pixels is recomputed.

These calculations list the pixel distance from the primary pixel in the table and labels indicating whether each pixel is a close-proximity pixel or not. When a pixel is passed to the resulting image, all pixels with a smaller X coordinate (for the newly passed pixel) are marked as removed and will no longer be used in the method. By identifying the pixels that belong to the data row and removing all other pixels at the same time, all unwanted data is removed from the image.

Plot

Keeping the search area as small as possible also prevents pixels from unwanted image objects from being marked as the next primary pixel, which would render the output of the method useless. The output of this method is a binary image IDef ine that contains a relatively small number of pixels that make up part of data lines. The purpose of this method is to ensure that there is a marked pixel in each column of the image.

This is done by identifying all the marked pixels in the image, calculating the vertical and horizontal distance between them, and then precisely marking the pixels in the empty columns between each pair of pixels to create a plot that is easy to analyze visually rather than a set of random pixels throughout the image. If any unwanted data objects have made it through to this stage, these objects are likely to be pieces of horizontal lines with very high intensities in the original image. This method removes these lines by creating the plot image from the input image, identifying and removing all horizontal lines over a certain length and all pixels in them from the original input image, and finally recreating the plot image from the input without the influence of any pixels belonging to unwanted horizontal lines.

If any horizontal line segments remain at the end of this method, then these lines are part of a relatively straight data line. The output of this method is an imageIP lot with one pixel in each column.

Paste

Insert

Pre-processing

Rough data identification: Iteration 1

Rough data identification: Iteration 2

Rough data identification: Iteration 3

Rough data identification: Iteration 4

Rough data identification: Iteration 5

Rough data identification: Iteration 6

Rough data identification output

Rough data extraction

Rough data binarization

Accurate data identification

Accurate data extraction

Accurate data binarization

Post-processing

Gambar

Figure  B.1.2.:  Filled
Figure  B.2.2.:  Marked
Figure  B.2.1.:  Scanned and  Removed
Figure  B.3.3.:  Erased
+7

Referensi

Dokumen terkait

MATERIALS AND METHODS The effects of temperature on the duration and survival of egg, larval and pupal stages, adult female weight and fecundity, and reproductive potential were