Giter Club home page Giter Club logo

project-iris-dataset's Introduction

Infrared Image Dataset (IRIS) Preprocessing

This is a collection of infrared image dataset (IRIS) preprocessing Python code.

Introduction

Infrared thermography provides a non-contact technique to analyze the built environment in various aspects. While most studies focus on a city and building scale, rooftop observatorys provide high resolution with dynamical interactions on a neighborhood scale. The first rooftop thermal observatory with a multi-modal platform capable of assessing a wide range of dynamical processes in urban systems was deployed in Singapore. The thermal observatory was placed on the top of a building that overlooks several educational buildings on the campus of the National University of Singapore. The platform collects remote sensing data from tropical areas on a temporal scale, allowing users to determine the temperature trend of individual features such as buildings, roads, and vegetation. To manage and analyze the obtained raw data and allow scientific users to utilize the data as they saw fit, demonstration code with data preprocessing such as segmentation was provided.

In this repository, we use several examples which can be downloaded from zenodo (File path: S16_dataset_1.zip/2022-08-03.zip) to show the process of data preprocessing, including file convert, data visualization and basic data analysis. We hope this can provide a basic idea to those who want to explore more on this dataset. If you have further contributions to this repository, welcome to contact us.

Environment

  • Softwares: Python, Labelme;

  • Python Packages: numpy, pandas, flirextractor, matplotlib, PIL;

Structure

.
├── data/
│   ├── original/
│   │   ├── 2022-08-03
│   │   └── ...
│   ├── convert/
│   │   ├── snap-2022-08-03
│   │   └── ...
│   ├── processed/
│   │   ├── 2022-08-03
│   │   └── ...
│   └── README.md
├── notebook/
│   ├── 01_file_convert.ipynb
│   ├── 02_visualization.ipynb
│   └── 03_analysis.ipynb
├── src/
│   └── imageconvert.py
└── README.md
  • data: all the original data and converted/processed data are here, for more details you may refer to the readme file under this folder data/README.md;
  • notebook: three notebooks contain preprocess steps;
  • src: runable preprocessing scripts are here;

Quick Start

Before you start to do the preprocessing, pleaser refer to data/README.md to prepare the original data, including downloading the data and organizing the data in a proper structure.

Step 1. Check the notebook/01_file_convert.ipynb, this notebook contain the process of converting the original data file (in .jpg format) to .csv files, for better analysis in the following steps. This process can also be done by the script src/imageconvert.py, but before running please double check the prepared original data files structure.

Step 2. If you want to see the visualizaiton of the data, you can check the notebook/02_visualization.ipynb;

Step 3. Now you can use the Labelme to select the object in the figure to follow as a mask. It will looks like this:

For more details of Labelme, you may refer to the official tutorial.

Step 4. After you get the output from the Labelme, you can use the notebook/03_analysis.ipynb to analysis the value change of your selected domain. For more analysis details, you can refer to the notebook.

After this you can do further custom experiments.

Contact

If you have any questions or find any bugs, feel free to raise an issue. If you have ideas to contribute to this repo, welcome to pull request or contact [email protected]. Thanks for your interest in our work!

project-iris-dataset's People

Contributors

necolsy avatar mariofrei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.