Edge-Reinforced Image Datasets for CNN Hazard Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing deep learning methods for image segmentation struggle to accurately detect and reinforce edge parts, leading to missed edges in the encoding and decoding process, which affects the precision of object detection and segmentation.
Innovation Solution
A method for generating an image data set that includes reinforcing edge parts by assigning weights to edge pixels, merging this reinforced edge image with an initial label image, and using the resulting new label image as ground truth for training a CNN, enhancing the detection of fine edge parts.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If standard encoder-decoder configuration is used for image segmentation, then the segmentation process can be implemented, but edge parts are missed and detection precision deteriorates
Solution Approach 1:
The patent applies local quality by assigning different weights to different regions of the image, specifically emphasizing edge regions. The loss function uses weight maps that give higher weights to edge pixels and lower weights to non-edge pixels, allowing the model to focus computational attention on critical edge detection while maintaining overall segmentation performance.
Solution Approach 2:
The patent implements preliminary action by pre-processing the input image to generate edge maps and weight maps before feeding them into the segmentation model. This pre-computed edge information is incorporated into the loss function, guiding the model to prioritize edge region accuracy from the beginning of the training process rather than relying solely on the model to discover edges during training.
2Measurement precision
If edge reinforcement is applied during training, then edge detection accuracy improves, but training complexity and computational resources increase
Solution Approach 1:
The patent introduces intermediary components including pre-trained edge detection models (such as Canny or Sobel operators) and weight map generators that serve as mediators between the input image and the segmentation model. These intermediaries process the image to extract edge features and generate weight distributions, which then guide the segmentation model without requiring fundamental changes to the model architecture itself.
Solution Approach 2:
The patent segments the training process into distinct components: edge detection preprocessing, weight map generation, weighted loss calculation, and model training. This segmentation allows each component to be optimized independently and enables flexible adjustment of edge reinforcement strength without retraining the entire system from scratch.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method for generating at least one image data set for training to be used for a CNN capable of detecting objects in an input image is provided for improving hazard detection while driving. The method includes steps of: a computing device (a) acquiring a first label image in which edge parts are set on boundaries between the objects and a background and different label values are assigned corresponding to the objects and the background; (b) generating an edge image by extracting edge parts from the first label image; (c) generating a second label image by merging the first label image with a reinforced edge image, generated by assigning weights to the extracted edge parts; and (d) storing the input image and the second label image as the image data set. Further, the method allows a degree of detecting traffic sign, landmark, road marker and the like to be increased.