Escolar Documentos
Profissional Documentos
Cultura Documentos
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com Volume 2, Issue 4, July August 2013 ISSN 2278-6856
(b) Pre-processing The principle objective of the image enhancement is to process an image for a specific task so that the processed image is better viewed than the original image. Image enhancement methods basically fall into two domains, spatial and frequency domain. 1) Spatial domain: As the name suggests in this approach different methods are used, which will affect the manipulation of pixel values of an image 2) Frequency domain: In this method first a Fourier transform of the image is computed and then different operations are performed on them and finally results are obtained by getting the inverse Fourier transform of the image. Due to the simplicity and the easiness involved in the voxel values, different enhancement techniques implemented in ITK are in spatial domain. The technique of image pre-processing falls into image enhancement. Due to various limitations of the image extraction devices, images acquired by them are prone to many errors. Some of these limitations of these devices may include spatial and temporal limitations like patient moment during the acquisition. The effect of all these limitations includes noise (unwanted data), deformation, bad illumination and blur in the acquired images. Image analysis requires often pre-processing in which different filters are applied removing the noise by preserving clinically important structures. This helps to improve the performance of subsequent tasks. The images that are used for the segmentation process in our case are carefully chosen so that they are less prone to these errors. To perform the image processing certain filters are been used. These filters are used to perform the information extraction as well to perform the required changes over the image. As some operation is performed on an image, the foremost task is to convert the image to a normalized image. For this conversion, the filtration is required. The filtration is about to remove the different kind of noise from the image and to standardize the image physical features. Different methods used for the pre-processing of these images using ITK filters are briefly explained in the following paragraphs. 1.1 Region of Interest Image Filter (ROI) This filter allows the user to choose specific spatial area in an image. In case of image pre-processing, this filter is primarily used to isolate an area (volume in 3D) of an image for processing. MIP offers users to choose different Page 115
1. INTRODUCTION
The common aspects of the research consist of the image processing and different associated operations. Work includes the study of complete architecture to extract the information from the image and to perform the segmentation to extract the image features and to perform the classification. Here the detailed description of all the steps of image analysis and the extraction of infection from it are given. Digital image processing refers to the processing of digital images by means of digital computers. This process, whose inputs are images and outputs, can be images or extracted features of different attributes of images including reorganization of individual objects. Figure 1 show, basic steps involved in the processing of digital images.
Fig. 1: Basic steps involved in image processing (a) Image Acquisition The data collection is a major aspect in image processing. The same collection has been used in other studies of automatic scan images segmentation. Various image databases available world-wide along their name, description and applications. The image acquisition is required to collect the actual source image. Volume 2, Issue 4 July August 2013
Fig. 1.2(b): Median filter operation 1.3 Histogram Equalization The histogram in the context of image processing is the operation in which the occurrence of each intensity value in an image is shown. Normally histogram of an image is a graph showing the intensity values on x-axis to the number of occurrence same intensity value on y-axis. Histogram equalization is a technique in which the dynamic range of the histogram of an input image increased. This process assigns the intensity values of pixels in input image so that the output image contains uniformly distribution of intensity values. This process improves the contrast of the input image. 1.4 Scaling Filter In the image processing, normalization is a simple image enhancement technique that attempts to improve the contrast (difference in visual property that make an object) of an image by stretching the range of intensity values of the original image to span a desired range of values. This method is a linear process. The applications of this process may include stretching the poor contrast images, which have glare into the higher range so that they look better. For this reason the process of normalization is also called contrast stretching. It differs from other methods like histogram equalization in this it only applies a linear scaling function to the image pixel values. ITK offers four different filters for the purpose of casting the pixel values of an image. These filters only shift the range of the input image pixels so that the output image pixels are easier for different computation purposes. 1.4.1 Cast Image Filter This filter is a simple image filter that acts pixel-wise on an input image casting every pixel to the type of output image. For example the unsigned short input image pixel type can be converted into integer output image pixel type using this filter. The general formula used for this filter is provided below: Output pixel = static cast <output pixel type> (input pixel) Page 116
Fig. 1.2(a): Mean filter operation. Median Image Filter: This filter falls into the category of non-linear filters. In this filter, the response is based on ranking or ordering the pixels contained in an image area encompassed by the filter and then replacing the value of the centre pixel with the value determined by the ranking result. The median filter replaces the value of the pixel by the median of the grey levels in the neighbourhood of the pixel (the original value of the pixel is also included). The median filters are quite popular in removing certain type of random noise especially in removing the presence of impulse noise or salt-and-pepper noise. Impulse noise appears as the white and black dots superimposed on the original image. The advantage of the median filter over Volume 2, Issue 4 July August 2013
2. RELATED WORK
There is lot of work already done in the area of image segmentation as well as the object detection. There are number of algorithmic approaches proposed by different authors to perform the image and the video segmentation to perform the object detection. One of such object segmentation is proposed by Johannes Schels [1]. According to this approach a view point based analysis is performed to identify the multiple objects over an image. The author has defined the approach to detect an individual object as well as the object parts by performing the analysis from different viewpoints and finally combine the results taken from different viewpoints to generate the overall segmented object. The another work in same area was proposed by Ke Gao, the author uses the characteristics mapping based affine analysis along with sample expansion. The author had presented the characteristics mining to perform the object detection as well as to obtain the global and the local stability model to perform the object detection [2]. Author also purpose the feature based analysis to clear the object detection area. Another work on multiclass object detection was defined by LiMin Wang. The author has used the local feature and the context analysis to perform the object detection. The author has divided the complete image area in smaller segments and then this segmented image will be analyzed under the local patches and based on this patch based analysis the local appearance of the object analyzed and relatively the object area detection was performed[3]. In object detection many authors defined the feature based analysis and same kind of work was performed by Yuli Gao. Author has defined a function selection approach for the object detection. The author has defined a framework to identify the multiple object Page 117
3. THEORITICAL BACKGROUND
In the past, several background segmentation techniques have been used to identify the objects of interest in a scene. The object of interest can be defined as something that is different in a scene in comparison to previous scenes. This comparison is performed by comparing a scene with an object, to an ideal scene which just has the presence of the background. The regions which detect a considerable change between the current scene and the previous scenes are the areas of interest, as they may indicate the location of the new object. The term background segmentation refers to identifying the difference between an image and its background using any of the techniques mentioned in [4] and then thresholding the results to identify an object of interest. 3.1 Methods: Segmentation Techniques Volume 2, Issue 4 July August 2013
Page 118
Figure 3.2: Back plate Difference Observations:1. It correctly identifies an object. 2. But incorrectly keeps the complex background.
An algorithm can be judged based on the properties accuracy, speed and Memory requirements. The following table shows the properties for respective algorithms. From the previous table it is clear that frame differencing is chosen to be better than Gaussian mixture segmentation algorithm. Frame differencing is a very primitive technique that could be implemented very easily. In comparison Gaussian Mixture approach requires several resources for it to be effective. Hence, frame differencing is preferred and used for the analysis performed in this study. This will help us identify an approach that would be most suitable to a given systems unique requirements. 3.2 Frame Difference Vs Back plate difference: In contrast frame differencing is preferred over back plate difference segmentation technique due to the following reasons: (a) Back plate difference [15] was the fastest and produces the highest results in 4 out of 7 tests. (b) Frame difference was the ONLY algorithm to correctly remove the complex background, but could not correctly identify the foreground element The following images define the functioning of frame difference and back plate difference segmentation algorithms. Frame Difference:
Figure 4.1: Block diagram for implementation of Moving Object Detection Different phases caught up in the implementation of this project are as follows: 4.1 Phase I: Pre-processing Noise Removal The pre-processing performs some steps to improve the image quality. In this project, we have used median filter to remove noise in images. 4.2 Median Filter: The median filter is a classical noise elimination filter. Noise is removed by calculating the median from all its box elements and stores the value to the central element. If we consider an example of 3x3 matrix 1 2 9 4 3 8 5 6 7 The median filter sorts the elements in a given matrix and median value is assigned to the central pixel. Sorted Page 119
Figure 3.1: frame difference Observations:1. This algorithm Correctly Background in a video frame
Removes
Complex
Figure 4.2: Frame difference between 2 frames Volume 2, Issue 4 July August 2013
Figure 5.1.4 Input video screenshot 4 Figure 4.3: Proposed Work methodology
5. RESULTS
The proposed algorithm is tested with input video file consisting of Video Num Frames = 120 Video Frames per second = 30 Video Width = 360 Video Height = 288 5.1. Screenshots of Input video: The screenshots of the video that was used in this work are as given below Volume 2, Issue 4 July August 2013 Figure 5.1.5 Input video screenshot 5 5.2. Screenshots of the results: When the code is executed in MATLAB, first the video is displayed in the output window which contains the Page 121
7. Conclusion
In this presented work, implementation of the hybrid model to perform the detection of some object in some image or the video is done. The presented model used the mathematical approaches to perform the object detection over the image and the video. At the initial stage, as the image or the video is accepted from the user, the preprocessing is performed to identify the image or video format and to extract the frame from the video. Once the extraction is performed the next work is to remove the noise from image to improve the accuracy level. At the next stage the similarity analysis between the images is performed. Now based on this analysis the object and the object features are identified. The obtained results show that the presented work is effective enough to perform the detection of objects from the image or the video.
REFERENCES
Figure 5.2.5 Output screen 5 Volume 2, Issue 4 July August 2013 [1] Johannes Schels," Synthetically trained multi-view object class and viewpoint detection for advanced Page 122
Page 123