Related Experiment Video
Updated: Sep 14, 2025

Author Spotlight: Enhancement of Salient Object Detection for Smart Grid Applications
Published on: December 15, 2023
A context aware multiclass loss function for semantic segmentation with a focus on intricate areas and class
Zahra Ghanaei1, Modjtaba Rouhani2
1Department of Computer Engineering, Faculty of Engineering, Ferdowsi University of Mashhad, Mashhad, Iran.
We developed a new image segmentation loss function, SPix-WCE, to improve deep neural network performance on imbalanced datasets. This method focuses on complex image regions, enhancing segmentation accuracy and key metrics like IoU and F1-Score.
Area of Science:
- Computer Vision
- Machine Learning
- Deep Learning
Background:
- Image segmentation is crucial for machine vision systems, but model accuracy is often hindered by imbalanced datasets.
- Deep neural networks (DNNs) are widely used for image segmentation, yet struggle with data imbalances.
- Improving segmentation accuracy is critical for overall system performance.
Purpose of the Study:
- To introduce a novel loss function, SPix-WCE, designed to enhance DNN performance in image segmentation.
- To address data imbalances by focusing on complex image regions during model training.
- To improve segmentation accuracy through a superpixel-based weighting scheme.
Main Methods:
- Developed the SPix-WCE loss function utilizing the SLIC (Simple Linear Iterative Clustering) algorithm.
- Analyzed superpixels to identify and focus on complex image regions.
- Implemented a weighting scheme to adjust the influence of different image areas in the loss calculation.
- Conducted experiments using three DNN models and four imbalanced multiclass datasets.
Main Results:
- SPix-WCE loss function demonstrated superior performance compared to commonly used loss functions.
- Significant improvements were observed in Intersection over Union (IoU), F1-Score, and pixel accuracy metrics.
- The approach effectively handled various degrees of data imbalance across different datasets.
Conclusions:
- The proposed SPix-WCE loss function effectively boosts deep neural network performance in image segmentation tasks.
- SPix-WCE offers a robust solution for handling imbalanced image datasets.
- This method provides a valuable advancement for improving the accuracy and reliability of machine vision systems.
Related Concept Videos
Aggregates Classification
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
Reducing Line Loss
With a step-up transformer at the source, the voltage is increased, thereby reducing the current in the transmission lines since power loss...
Classification of Systems-II
Classification of Systems-I
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Multicompartment Models: Overview
These models offer a more comprehensive representation of drug behavior in the body than one-compartment models. They accommodate the complexity of drug distribution,...
Force Classification
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...