moving objects removal
play

Moving Objects Removal PROCESAMIENTO DE IMAGENES DIGITALES Group - PowerPoint PPT Presentation

Moving Objects Removal PROCESAMIENTO DE IMAGENES DIGITALES Group Project Andrea Migotto Fabio Falcioni Giacomo Santoni INTRODUCTION Be able to get a photo of a landscape or a monument or PROBLEM: anything else without people or vehicles


  1. Moving Objects Removal PROCESAMIENTO DE IMÂGENES DIGITALES Group Project Andrea Migotto Fabio Falcioni Giacomo Santoni

  2. INTRODUCTION Be able to get a photo of a landscape or a monument or PROBLEM: anything else without people or vehicles ruining the photo Take multiple photos with a static background and IDEA: process them to obtain a picture without unwanted objects

  3. RESOLUTION These are the main steps of our program. In the next slide they have been schematically sketched for a better understanding. 1. Images acquisition 6. Connected components identification 2. Difference between images 7. Correlation computation and comparison 3. Canny detector 8. Final image updating 4. Binarization of the difference 9. Second execution 5. Elaboration of the binarized image

  4. RESOLUTION

  5. Images acquisition Two or more images can be selected for being processed using a normal pop-up dialog window. The more images are used, the easier it is to get a good final result. This is because a portion of the image is less probable to be covered in all photos by some moving object.

  6. Difference between images The difference between two images is calculated to detect movements within the same scene. The regions that do not change between the images are black while all the moving objects are highlighted, in this way it’s possible to find what should be removed.

  7. Edge detection The Canny filter is used to detect the edges of each moving object. An image processed by the Canny algorithm makes easier to search for individual objects in the image database. Searching for colour matching could lead to wrong results as the difference in absolute value has been used.

  8. Binarization of the difference The difference is transformed into a black and white image thanks to the binarization. It consists in a reduction of the information on it, as you move to a representation formed only by true and false (1 and 0 respectively). A low threshold is used on the difference image to bring to 0 the background and to 1 all the differences.

  9. Elaboration of the binarized image Through some different morphological operations and filters, the binarized image is processed to remove isolated white spots and to highlight moving objects. More precisely, a median filter, erosion, expansion and filling have been used to not consider small difference like those caused by small variation in the angle or in the brightness between the two images elaborated.

  10. Connected components identification The connected components of the mask are extracted and their bounding boxes are identified in order to isolate and locate each moving object and store the information about its position in the image. Each component thus contains an object that now has to be recodgnize in one of the two initial images.

  11. Correlation comparison For each connected component, in the corresponding region the correlation between the difference image and both the initial one and the provisional final one is computed and then compared. The object is then located in the image showing the higher correlation, while the other will contain the background of that part.

  12. Final image The final image is then updated by replacing the unwanted objects with the corresponding background of the other image. Clearly having fewer background differences between the various images lead to a better result. Background differences, for example, include changes in light, shadow or small frame variations between shots

  13. Second execution The result may be improved by choosing a “good” initial image. To do so each image of the set is compared with the final one that we just obtained and the set is sorted in order of descending correlation, then the algorithm is executed again. In practice this means choosing the image with fewer moving objects to make as few changes as possible to the image.

  14. EXPERIMENTATION The resolution was done with a set of only two images to better explain the program. The script can also work with a larger datastore formed by many initial images in which there are numerous moving objects. In the following there are some examples with shots taken in Seville: - Municipio - Paseo del Rio - Plaza de España - Real Alcazar - Prado de San Sebastián - Campus Reina Mercedes

  15. Municipio – Initial images

  16. Municipio – Final image

  17. Plaza de España – Initial images

  18. Plaza de España – Final image

  19. Prado de San Sebastián – Initial image

  20. Prado de San Sebastián – Final images

  21. Paseo del Rio – Initial Images

  22. Paseo del Rio – Final Images

  23. Real Alcazar – Initial images

  24. Real Alcazar – Final image

  25. Campus Reina Mercedes – Initial images

  26. Campus Reina Mercedes – Final image

  27. CONCLUSIONS After an exhaustive test phase with sets of pictures shot in different conditions, we can affirm that our method works well in real world situations and it’s rather versatile and can be implemented in a light and performing software. The vast majority of the moving objects, in particular we are interested in people, are correctly removed and the appearance of artifacts in the final image is minimal, if not inexistent. In conclusion, we can see that our method has its strengths and weaknesses, and presents interesting possibilities of improvement while it can already be used as a fully functional tool.

  28. POSSIBLE IMPROVEMENTS Using more sophisticated and refined techniques during the processing of the images and the correlation computation will allow to achieve better results The code can be optimized to achieve better computational speed and use less resources Implement the possibility of using multiple shots even if they are not aligned using the SURF algorithm for features detection and matching

  29. Moving Objects Removal PROCESAMIENTO DE IMÂGENES DIGITALES THANKS FOR YOUR ATTENTION

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend