Skip to content

aajinkya1203/Oil-Spill-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Oil-Spill-Classification on SAR Images using Image Segmentation techniques


Introduction


Oil pollution in the water and its effects on the marine ecology are caused by an increase in daily ship traffic and some normal ship operations including tank cleaning and engine effluent discharge. The Synthetic Aperture Radar (SAR) sensors are not affected by nighttime or adverse weather circumstances, and they are able to distinguish features between oil spills and the surrounding sea with more clarity than optical satellite sensors. A combination of image processing techniques can be used to classify the Oil Spills in these images and get an approximation on the intensity and extent of the spill. This will aid the authorities in the mitigation of the spill.

SAR images are shaped by the constant interaction of the transmitted high-frequency radar waves with target areas. This constant interaction causes random constructive and destructive noisiness that result in salt and pepper noise all over image. Our processing techniques improve the quality of image up to the mark where a oil spill can be marked distinctly on the image. Different combinations of techniques have been implemented which work the best together.

Methodology


For the dataset, Oil Spill pictures captured by the SENTINEL-1 satellite were used. We selected 3 images which showed the most variations from each other and hence each required a different set of methods for the spill to be classified.

  1. Image Type 1: Noisy with saturated Oil Spill
    • The image had a lot of salt and pepper noise, hence median filter was used to reduce it. Salt and pepper noise is basically black and white noise where black would be least and white would be the L – 1.
    • Median filter eliminates the min & max values by taking the median value which results into the removal of salt and pepper noise without blurring the images much.
    • Histogram was plotted and compared after and before using median filter and marginal difference was seen.
    • Next, as the oil spill was darker than the surrounding (sea) which was lighter, the image was inverted i.e., black to white and vice versa. This was done for further morphological operations.
    • From the plotted histogram the threshold was identified for basic segmentation i.e., prominently separating the oil spill from the sea (spill is white whereas sea is black).
    • After completing thresholding, the image had a lot of small objects surrounding the actual spill. To get rid of these objects opening morphological operation was used.
    • Opening is useful for removing small objects and thin lines from an image while preserving the shape and size of larger objects in the image.
    • Opening operation erodes an image and then dilates the eroded image, using the same structuring element for both operations.
    • Now to properly mark the edges for easy identification vertical and horizontal edge detection was used. This gave a marked oil spill on the image.
  2. Image Type 2: Smooth image with distributed spills
    • This image was used as a variation test case for the operations used on image 1. The same operations gave a good result even when the spill was distributed, and the image was smoother.
  3. Image Type 3: Low contrast with no marginal difference between spill and sea.
    • This image had very low contrast and the spill was hardly distinguishable from the sea. After plotting the histogram skewness was noticed to the left.
    • To combat this issue, histogram equalization method was used to increase the contrast.
    • Histogram equalization improves contrast by effectively spreading out the most frequent intensity values i.e. stretching out the intensity range of the image.
    • This method usually increases the global contrast of the images when its usable data is represented by close contrast values.
    • This allows for areas of lower local contrast to gain a higher contrast.
    • After equalization and plotting the histogram again, the threshold was identified to be 40. Using this threshold, thresholding was done which gave us a black and white image of the sea and the spill.
    • Thresholding basically converts all values below threshold to black and above threshold to white.
    • Some small objects were still present outside the spill which were cleared using opening morphological operation.
    • Finally both vertical and horizontal edge detection was done to mark the spill.

Result & Analysis


  • Image Type 1

    image

    image

    image

  • Image Type 2

    image

    image

    image

  • Image Type 3

    image

    image

    image

    image

    image

Conclusion


A combination of techniques were implemented on 3 types of SAR images which have oil spills using the following techniques:

  • Median Filtering
  • Average Filtering
  • Histogram Equalization
  • Intensity Thresholding
  • Edge Detection
  • Opening Morphological Operation

We were able to successfully classify the oil spills in these images.

About

Image Segmentation techniques used for Oil Spill Classification on SAR Images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors