TPFormer: Robust Wildfire Segmentation via Thermal Prior Integration and Dual-Decoder Supervision

Project Code :TMMAIP500

Objective

To develop a simplified TPFormer-inspired framework for accurate wildfire detection and segmentation from RGB images using simulated thermal mapping, rule-based classification, and morphological refinement, ensuring reliable performance with interpretable results.

Abstract

Abstract:

This work presents a simplified implementation of a TPFormer-inspired framework for wildfire segmentation and detection using MATLAB. The proposed method processes RGB images by first generating a simulated thermal infrared (TIR) map to enhance fire-sensitive regions. A confidence map is then derived using a sigmoid activation function to highlight potential fire pixels. The algorithm applies a set of strict rule-based conditions, including color, brightness, saturation, and thermal constraints, to accurately identify fire regions while minimizing false detections from non-fire objects such as vegetation or sky. Morphological operations are employed to refine the segmentation mask and remove noise. The system further determines the presence of fire based on a threshold percentage of detected fire pixels. A proxy ground truth is generated for performance evaluation, and metrics such as IoU, F1-score, precision, recall, specificity, and accuracy are computed. The results are visually presented through segmentation masks, overlays, and performance graphs. Overall, the method offers an efficient and interpretable approach for wildfire detection using image processing techniques.

Keywords: Wildfire Detection, Image Segmentation, Thermal Infrared (TIR) Simulation, TPFormer, Fire Pixel Classification, RGB Image Processing, Morphological Operations, Confidence Map, Computer Vision, Performance Metrics (IoU, F1-Score, Accuracy).

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Specifications

Software: Matlab 2022b or above

Hardware:

Operating Systems:

  • Windows 10
  • Windows 7 Service Pack 1
  • Windows Server 2019
  • Windows Server 2016

Processors:

Minimum: Any Intel or AMD x86-64 processor

Recommended: Any Intel or AMD x86-64 processor with four logical cores and AVX2 instruction set support

Disk:

Minimum: 2.9 GB of HDD space for MATLAB only, 5-8 GB for a typical installation

Recommended: An SSD is recommended A full installation of all MathWorks products may take up to 29 GB of disk space

RAM:

Minimum: 4 GB

Recommended: 8 GB

Learning Outcomes

·   Introduction to Matlab

·   What is EISPACK & LINPACK

·   How to start with MATLAB

·   About Matlab language

·   Matlab coding skills

·   About tools & libraries

·   Application Program Interface in Matlab

·   About Matlab desktop

·   How to use Matlab editor to create M-Files

·   Features of Matlab

·   Basics on Matlab

·   What is an Image/pixel?

·   About image formats

·   Introduction to Image Processing

·   How digital image is formed

·   Importing the image via image acquisition tools

·   Analyzing and manipulation of image.

·   Phases of image processing:

               o  Acquisition

               o  Image enhancement

               o  Image restoration

               o   Color image processing

               o  Image compression

               o   Morphological processing

               o   Segmentation etc.,

·   How to extend our work to another real time applications

·   Project development Skills

               o   Problem analyzing skills

               o   Problem solving skills

               o   Creativity and imaginary skills

               o   Programming skills

               o   Deployment

               o   Testing skills

               o   Debugging skills

               o   Project presentation skills

               o   Thesis writing skills

Demo Video