Skip to content

ajwad-shaikh/CloudNine

Repository files navigation

CloudNine

Search for the clouds!

A Python Implementation for Satellite Cloud Image Processing and Information Retrieval System

Content

Installation Steps

  • git clone https://github.com/ajwad-shaikh/CloudNine.git
  • cd CloudNine
  • virtualenv env
  • "env/scripts/activate"
  • pip install -r requirements.txt

This will install the necessary dependencies for the function scripts.

Dataset

The Dataset was ordered from MOSDAC (Meteorological and Oceanographic Satellite Data Archival Centre) maintained and sourced from Indian Space Research Organization (ISRO) Kalpana Satellite's VHF Sensor. We have 603 satellite images in HDF5 format but due to the bulk size of the dataset, it has not been included in the repository.

To get the project to work, you need the complete or at least part of the database -

1. Full Fledged Installation

  • Download the complete dataset from here -> dataset.zip (890 MB)
  • You can then unpack the archive in <project_root>/dataset
  • This will help you run the project full-fledged with the similar images displayed alongside query image from the validation set

2. MVP Installation

  • Download the validation set of images from here -> validation_set.zip (78 MB)
  • You can then unpack the archive in <project_root>/dataset/validation_set
  • This will help you run the project as MVP, but will only return image names of the matched images from train set instead of actual images.

Scripts in the Module

The module contains different python programs that are interdependent for use in the project

  • base_functions.py

    • Contains basic file I/O functions, especially to deal with h5 type images as received from ISRO Database
  • analysis.py

    • Contains analysis functions such as histogram processing, shape and texture analysis to derive the required feature lists that we want to store
  • process.py

    • Contains a function to process a single image as per algorithm in the paper and generate a feature object
  • upload.py

    • Contains script to calculate features of train set and upload the results to Firebase Realtime Database
  • search.py

    • Contains search and compare functionality to query with validation images and get matching image from training set (feature database)

Feature Database

We have computed and uploaded features of all images in the training set (550 images) to a Firebase Realtime Database. You can view the feature database here -> Link to Database

Results

The primary objective of the project was to evaluate features of cloud formation from a satellite image and then retrieve a similar cloud formation image from the training database. We have followed the implementation of feature retrieval algorithm as mentioned in Satellite Cloud Image Processing and Retrieval System (2012 World Congress on Information and Communication Technologies)

The Algorithm

Algorithm Workflow

Algorithm Results

Algorithm Results

Improvement to the Algorithm

The Algorithm works very well as it takes into account three aspects of the image - Grey-level, Shape and Texture. However, in order to calculate similarity between the two images the formula given in the original image is as follows -

Original Similarity Formula

We have improved the formula to remove bias of the formula towards feature sets that have more number of values and also larger values. The new improved formula to calculate image similarity is as follows -

Improved Similarity Formula

Improved Results

  • Case 1

    • Result with Original Algorithm Original Image 9
    • Result with Improved Matching Algorithm Improved Image 9
  • Case 2

    • Result with Original Algorithm Original Image 24
    • Result with Improved Matching Algorithm Improved Image 24

Project Details

  • Mentor - Dr. Pritee Khanna
  • Team - Ajwad Shaikh and Kaushal Sharma
  • Course - CS313a - Image Processing - Spring 2020
  • Institute - Indian Institute of Information Technology, Design and Manufacturing, Jabalpur
  • Project Licensed under The MIT License

About

Search for the clouds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages