Đồ án tốt nghiệp công nghệ kỹ thuật máy tính optimize defog processing for object recognition applications

Đồ án nghiên cứu tốt nghiệp công nghệ kỹ thuật máy tính optimize defog processing for object recognition applications, áp dụng công nghệ tiên tiến, tối ưu giải pháp kỹ thuật cho

Người đăng

Ẩn danh

Thể loại

graduation thesis

2024

71
1
0

Phí lưu trữ

30 Point

Mục lục chi tiết

MỞ ĐẦU

1. CHƯƠNG 1: INTRODUCTION

1.1. SCOPES OF TOPIC

1.2. SUBJECT AND SCOPE OF THE RESEARCH

2. CHƯƠNG 2: BACKGROUND KNOWLEDGE

2.1. PHYSICAL SCATTERING MODEL

2.2. DARK CHANNEL PRIOR

2.3. IMAGE ENHANCEMENT METHODS

2.4. FOG REMOVAL EVALUATION

2.4.1. Human – subjective scoring

3. CHƯƠNG 3: DESIGN AND IMPLEMENTATION

3.1. SOFTWARE FLOW CHART

3.2. DETAILS OF DARK CHANNEL PRIOR

3.2.1. Dark Channel Normalization

3.2.2. Dark Channel Extraction

3.2.3. Transmission Map Estimation using Anisotropic Diffusion

3.2.4. Apdaptive Fog Factor

3.2.5. Cumulative Distribution Function

3.2.6. Constrast Stretching Process

4. CHƯƠNG 4: RESULT

4.1. THE RESULTS OF THE SYSTEM

5. CHƯƠNG 5: CONCLUSION AND FUTURE WORK

PHỤ LỤC

Tóm tắt

I. Giới thiệu

Đồ Án Tốt Nghiệp này tập trung vào việc tối ưu xử lý khử sương để cải thiện hiệu suất của các ứng dụng nhận diện đối tượng trong điều kiện thời tiết xấu. Sương mù là hiện tượng phổ biến gây giảm tầm nhìn và làm mờ hình ảnh, ảnh hưởng nghiêm trọng đến các hệ thống như xe tự lái, giám sát an ninh và robot ngoài trời. Mục tiêu của nghiên cứu là phát triển một thuật toán khử sương hiệu quả, có khả năng xử lý thời gian thực và tích hợp với các hệ thống nhận diện đối tượng hiện có. Nghiên cứu này sử dụng công nghệ máy họcphân tích hình ảnh để tối ưu hóa quá trình khử sương, đảm bảo hình ảnh rõ nét và chi tiết.

1.1 Mục tiêu nghiên cứu

Mục tiêu chính của Đồ Án Tốt Nghiệp là phát triển một thuật toán khử sương dựa trên Dark Channel Prior (DCP)anisotropic diffusion để cải thiện chất lượng hình ảnh. Thuật toán này được thiết kế để xử lý các mật độ sương khác nhau, bảo toàn chi tiết hình ảnh và tăng cường độ tương phản. Ngoài ra, nghiên cứu cũng đánh giá hiệu suất của thuật toán thông qua các chỉ số như PSNR, SSIM và độ chính xác nhận diện đối tượng.

1.2 Phạm vi nghiên cứu

Phạm vi nghiên cứu bao gồm việc phát triển và tối ưu hóa thuật toán khử sương, đánh giá hiệu suất thông qua các thử nghiệm thực tế và so sánh với các phương pháp hiện có. Nghiên cứu cũng tập trung vào khả năng xử lý thời gian thực của thuật toán, đảm bảo tính khả thi trong các ứng dụng thực tế như xe tự lái và giám sát an ninh.

II. Kiến thức nền tảng

Chương này cung cấp các kiến thức cơ bản về mô hình tán xạ vật lý và các phương pháp khử sương hiện có. Mô hình tán xạ vật lý mô tả cách ánh sáng bị tán xạ và hấp thụ bởi các hạt sương, gây ra hiện tượng mờ ảnh. Dark Channel Prior (DCP) là một phương pháp phổ biến trong xử lý hình ảnh, dựa trên quan sát rằng trong hầu hết các hình ảnh không có bầu trời, ít nhất một kênh màu có giá trị cường độ thấp. Phương pháp này được sử dụng để ước tính bản đồ truyền dẫn và loại bỏ sương mù.

2.1 Mô hình tán xạ vật lý

Mô hình tán xạ vật lý mô tả cách ánh sáng bị tán xạ và hấp thụ bởi các hạt sương, gây ra hiện tượng mờ ảnh. Mô hình này là cơ sở để phát triển các thuật toán khử sương, giúp tái tạo hình ảnh gốc từ hình ảnh bị mờ do sương.

2.2 Dark Channel Prior DCP

Dark Channel Prior (DCP) là một phương pháp phổ biến trong xử lý hình ảnh, dựa trên quan sát rằng trong hầu hết các hình ảnh không có bầu trời, ít nhất một kênh màu có giá trị cường độ thấp. Phương pháp này được sử dụng để ước tính bản đồ truyền dẫn và loại bỏ sương mù.

III. Thiết kế và triển khai

Chương này trình bày chi tiết về thiết kế và triển khai thuật toán khử sương được đề xuất. Thuật toán kết hợp Dark Channel Prior (DCP) với anisotropic diffusion để tinh chỉnh bản đồ truyền dẫn, ước tính ánh sáng khí quyển động và áp dụng các kỹ thuật xử lý hậu kỳ như chuẩn hóa histogramkéo dãn độ tương phản. Các cơ chế thích ứng trong thuật toán, bao gồm kích thước cửa sổ biến đổi và điều chỉnh hệ số sương động, giúp thuật toán xử lý hiệu quả các mật độ sương khác nhau.

3.1 Dark Channel Prior DCP

Thuật toán sử dụng Dark Channel Prior (DCP) để ước tính bản đồ truyền dẫn. Quá trình này bao gồm chuẩn hóa kênh tối, trích xuất kênh tốiước tính bản đồ truyền dẫn sử dụng anisotropic diffusion.

3.2 Xử lý hậu kỳ

Sau khi loại bỏ sương, thuật toán áp dụng các kỹ thuật xử lý hậu kỳ như chuẩn hóa histogramkéo dãn độ tương phản để cải thiện chất lượng hình ảnh. Các kỹ thuật này giúp tăng cường độ tương phản và bảo toàn chi tiết hình ảnh.

IV. Kết quả

Chương này trình bày kết quả thử nghiệm của thuật toán khử sương được đề xuất. Các thử nghiệm được thực hiện trên nhiều loại hình ảnh với các mật độ sương khác nhau. Kết quả cho thấy thuật toán đề xuất vượt trội so với các phương pháp truyền thống như DCP và các phương pháp dựa trên học sâu về cả chất lượng hình ảnh và hiệu suất nhận diện đối tượng. Các chỉ số như PSNR, SSIM và độ chính xác nhận diện đối tượng đều được cải thiện đáng kể.

4.1 Đánh giá chất lượng hình ảnh

Kết quả thử nghiệm cho thấy thuật toán đề xuất cải thiện đáng kể chất lượng hình ảnh, với các chỉ số PSNRSSIM cao hơn so với các phương pháp truyền thống. Hình ảnh sau khi xử lý có độ tương phản cao và chi tiết rõ nét.

4.2 Hiệu suất nhận diện đối tượng

Thuật toán đề xuất cũng cải thiện hiệu suất nhận diện đối tượng, với độ chính xác cao hơn so với các phương pháp truyền thống. Điều này chứng tỏ hiệu quả của thuật toán trong việc cải thiện chất lượng hình ảnh để hỗ trợ nhận diện đối tượng.

V. Kết luận và hướng phát triển

Nghiên cứu này đã phát triển một thuật toán khử sương hiệu quả, kết hợp Dark Channel Prior (DCP) với anisotropic diffusion và các kỹ thuật xử lý hậu kỳ để cải thiện chất lượng hình ảnh. Kết quả thử nghiệm cho thấy thuật toán đề xuất vượt trội so với các phương pháp truyền thống về cả chất lượng hình ảnh và hiệu suất nhận diện đối tượng. Hướng phát triển trong tương lai bao gồm tối ưu hóa thuật toán để xử lý thời gian thực và tích hợp với các hệ thống nhận diện đối tượng phức tạp hơn.

5.1 Kết luận

Nghiên cứu đã chứng minh hiệu quả của thuật toán khử sương được đề xuất trong việc cải thiện chất lượng hình ảnh và hiệu suất nhận diện đối tượng. Thuật toán này có tiềm năng ứng dụng rộng rãi trong các hệ thống như xe tự lái, giám sát an ninh và robot ngoài trời.

5.2 Hướng phát triển

Hướng phát triển trong tương lai bao gồm tối ưu hóa thuật toán để xử lý thời gian thực, tích hợp với các hệ thống nhận diện đối tượng phức tạp hơn và mở rộng ứng dụng trong các điều kiện thời tiết khác nhau.

21/02/2025
Đồ án tốt nghiệp công nghệ kỹ thuật máy tính optimize defog processing for object recognition applications

Trích đoạn nội dung tài liệu

MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION GRADUATION THESIS MAJOR: COMPUTER ENGINEERING TECHNOLOGY OPTIMIZE DEFOG PROCESSING FOR OBJECT RECOGNITION APPLICATIONS INSTRUCTOR: PHAN VAN KHOA PHD. STUDENT: NGUYEN HUY HOANG PHAN MINH NHAT Ho Chi Minh city, July 2024 HCMC UNIVERSITY OF TECHNOLOGY AND EDUCATION FALCUTY OF INTERNATIONAL EDUCATION GRADUATION PROJECT OPTIMIZE DEFOG PROCESSING FOR OBJECT RECOGNITION APPLICATIONS NGUYEN HUY HOANG Student ID: 20119002 PHAN MINH NHAT Student ID: 20119147 Major: COMPUTER ENGINEERING TECHNOLOGY Advisor: PHAM VAN KHOA, PhD. Ho Chi Minh City, July 2024 HCMC UNIVERSITY OF TECHNOLOGY AND EDUCATION FALCUTY OF INTERNATIONAL EDUCATION GRADUATION PROJECT OPTIMIZE DEFOG PROCESSING FOR OBJECT RECOGNITION APPLICATIONS NGUYEN HUY HOANG Student ID: 20119002 PHAN MINH NHAT Student ID: 20119147 Major: COMPUTER ENGINEERING TECHNOLOGY Advisor: PHAM VAN KHOA, PhD. Ho Chi Minh City, July 2024 THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, July 05, 2024 GRADUATION PROJECT ASSIGNMENT Student name: Phan Minh Nhat Student ID: 20119147 Student name: Nguyen Huy Hoang Student ID: 20119002 Major: COMPUTER ENGINEERING TECHNOLOGY Class: 20119CLA1,2 Advisor: PhD.

Pham Van Khoa Phone number: Date of assignment: Date of submission: 1. Project title: OPTIMIZE DEFOG PROCESSING FOR OBJECT RECOGNITION APPLICATIONS 2. Initial materials provided by the advisor: 3. Content of the project: This project focuses on improving defogging procedures with the primary goal is to enhance the efficiency of defogging for object recognition in real – world scenarios.

By integrating innovative techniques, the proposed method effectively handles varying haze densities, preserves image details, and enhances visual quality. Experimental results demonstrate that this approach outperforms existing dehazing algorithms, offering a robust solution for applications requiring reliable performance in adverse weather conditions. Final product: CHAIR OF THE PROGRAM ADVISOR (Sign with full name) (Sign with full name) I THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, July 05, 2024 ADVISOR’S EVALUATION SHEET Student name: Phan Minh Nhat Student ID: 20119147 Student name: Nguyen Huy Hoang Student ID: 20119002 Major: COMPUTER ENGINEERING TECHNOLOGY Project title: OPTIMIZE DEFOG PROCESSING FOR OBJECT RECOGNITION APPLICATIONS Advisor: PhD. Pham Van Khoa EVALUATION 1.

Content of the project:. Approval for oral defense? (Approved or denied) 5. Mark: - in words: Ho Chi Minh City, month day year ADVISOR (Sign with full name) II THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, July 05, 2024 PRE-DEFENSE EVALUATION SHEET Student name: Phan Minh Nhat Student ID: 20119147 Student name: Nguyen Huy Hoang Student ID: 20119002 Major: COMPUTER ENGINEERING TECHNOLOGY Project title: OPTIMIZE DEFOG PROCESSING FOR OBJECT RECOGNITION APPLICATIONS Name of Reviewer:. Content and workload of the project.

Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, month day , year REVIEWER (Sign with full name) III THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, July 05, 2024 EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER Student name: Phan Minh Nhat Student ID: 20119147 Student name: Nguyen Huy Hoang Student ID: 20119002 Major: COMPUTER ENGINEERING TECHNOLOGY Project title: OPTIMIZE DEFOG PROCESSING FOR OBJECT RECOGNITION APPLICATIONS Name of Defense Committee Member:. Content and workload of the project .) Ho Chi Minh City, month day , year COMMITTEE MEMBER (Sign with full name) IV DISCLAIMER This graduation thesis was completed as part of the requirements for the Bachelor's degree in Computer Engineering Technology at the Ho Chi Minh City University of Technology and Education. The content presented in this thesis is the result of our independent research and development, conducted under the supervision of Pham Van Khoa, PhD. We have made every effort to ensure the accuracy and completeness of the information included.

All sources of information, data, and research used in this thesis have been properly cited and acknowledged in accordance with academic standards. The findings, interpretations, and conclusions expressed in this thesis are those of the authors and do not necessarily reflect the views or opinions of the Ho Chi Minh City University of Technology and Education, its faculty, or any other associated entities. This text is intended for educational and informative purposes only and does not constitute professional advice. The author does not guarantee the completeness, correctness, reliability, appropriateness, or availability of the information, goods, services, or visuals included in this thesis for any purpose.

Any reliance on such material is solely at your own risk. The university and the supervising faculty are not responsible for any errors or omissions in this work or for the consequences of any actions taken based on the information provided herein. The responsibility for the content and the outcomes of this research rests solely with the authors. This thesis is intended as a contribution to the field of image processing and object recognition.

It should be noted that the methodologies and results presented are based on specific experimental conditions and parameters and may not be directly applicable to all real-world scenarios. Further verification, validation, and possibly adaptation of the proposed methods are required before they can be implemented in practical applications. The authors recommend that readers and future researchers exercise critical judgment and conduct additional studies to validate the findings and ensure their applicability in diverse contexts. The author maintains the right to make changes to the content without prior notification and is not responsible for any mistakes or omissions in the content of this thesis.

V ACKNOWLEDGEMENT First of all, The team would like to express our sincere gratitude to our supervisor, Dr. Pham Van Khoa, for his unwavering guidance, support, and mentorship throughout the course of this research project. His experience, important insights, and ongoing support were critical in influencing the creation and successful completion of my thesis. The team is particularly appreciative to Dr.

Pham Van Khoa for providing us with the required resources and facilities to carry out this research. We would also want to express our sincere gratitude to my senior, Pham Nguyen Hoang Hai, for his invaluable advice, support, and guidance along this journey. The team would also like to thank our colleague Tran Tuan Kiet, who collaborated with us on a different thesis project. His efforts and ideas have had an indirect and positive impact on the work presented here.

The team is extremely grateful to Dr. Pham Van Khoa for providing us with a stimulating intellectual atmosphere that was critical to the success of our attempt. A particular thank you to my fellow graduate students and coworkers, whose camaraderie, thought-provoking talks, and readiness to provide a helping hand have made this trip both rewarding and engaging. Last but not least, the team would like to thank our family and friends for their unconditional love, encouragement, and steadfast support during this journey.

Without them, this thesis could not have been completed. VI Contents CHAPTER 1 INTRODUCTION. SCOPES OF TOPIC. SUBJECT AND SCOPE OF THE RESEARCH.

4 CHAPTER 2 BACKGROUND KNOWLEDGE. PHYSICAL SCATTERING MODEL. DARK CHANNEL PRIOR. IMAGE ENHANCEMENT METHODS.

FOG REMOVAL EVALUATION. Human – subjective scoring. 15 CHAPTER 3 DESIGN AND IMPLEMENTATION. SOFTWARE FLOW CHART.

DETAILS OF DARK CHANNEL PRIOR. Dark Channel Normalization. Dark Channel Extraction. Transmission Map Estimation using Anisotropic Diffusion.

Apdaptive Fog Factor. Cumulative Distribution Function. Constrast Stretching Process. 37 VII CHAPTER 4 RESULT.

THE RESULTS OF THE SYSTEM. 48 CHAPTER 5 CONCLUSION AND FUTURE WORK. 56 VIII TABLE OF FIGURES Figure 2.1-1 Physical Scattering model.1-2 Variable in the haze imaging equation .1-3 Light and scattering types .2-2 Output estimation using different 𝝎 .2-3 Non – sky image quality after recovery using transmission map .2-4 Backlight image after recovery using transmission map .2-5 SkyScene image after recovery using transmission map .1-1 Sample of comparing foggy contexts .1-2 Fog removal comparision on different situations .1-3 Comparision of Mean BRISQUE for various image fog removal methods .1-4 Comparision of mean PSNR values for image fog removal methods .1-5 Comparision of mean PSNR values for image fog removal methods .2-1 Time complexity comparision of all methods .2-2 Object Detection using YOLOv4 on original image (left) and defogged image (right). 51 IX ABSTRACT Image dehazing plays a crucial role in enhancing object recognition systems, particularly in adverse weather conditions.

This paper introduces a novel hybrid algorithm designed to effectively remove haze from images, thereby improving the clarity and detail necessary for accurate object recognition. Our proposed method integrates an Adaptive Dark Channel Prior (DCP) with anisotropic diffusion for transmission map refinement, dynamic atmospheric light estimation, and advanced post- processing techniques such as histogram normalization and contrast stretching. The adaptive mechanisms in our method, including variable window sizes and dynamic fog factor adjustments, allow it to handle a wide range of haze densities more efficiently than traditional methods. Additionally, the use of anisotropic diffusion helps preserve edge details and reduce noise, addressing common shortcomings in existing dehazing algorithms.

Experimental results demonstrate that our proposed algorithm outperforms conventional techniques, including standard DCP and various deep learning-based approaches, in terms of both visual quality and object recognition performance. Key metrics such as Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index (SSIM), and object recognition accuracy are significantly improved, validating the effectiveness of our approach. INTRODUCTION Fog is a common meteorological phenomenon, occurring when small water droplets suspended in the air reduce visibility and obscure scenery. In modern technological applications, especially in the field of object recognition, fog causes significant difficulties.

For example, in self-driving vehicle systems, the ability to accurately detect and recognize objects such as pedestrians, other vehicles, and traffic signs is extremely important to ensure safety. Fog degrades image quality, causing blurriness and reduced contrast, thereby reducing the ability of these systems to accurately detect and identify. In security surveillance systems, cameras installed outdoors often face changing weather conditions, including fog. Blurred images caused by fog can reduce the effectiveness of image analysis systems, making it difficult to identify objects or detect suspicious activity.

For outdoor robot applications, visibility in foggy conditions is important to ensure robots can move safely and perform tasks effectively. To solve this problem, dehazing algorithms have been developed that aim to improve image quality in foggy conditions. Dehazing is the process of removing or minimizing the effects caused by fog on images, thereby enhancing image clarity and contrast. Dehazing methods are often based on mathematical models and image processing techniques to reconstruct the original image from an image blurred by fog.

However, developing effective dehazing algorithms is not a simple task. Fog is caused by the scattering and absorption of light, making modeling these effects complex. An effective dehazing algorithm needs to address challenges such as: balancing between enhancing clarity and maintaining natural image details, ensuring feasibility in real-time processing, and integrates seamlessly with existing object recognition systems. In addition, differences in fog conditions in reality also place high demands on the flexibility of the algorithm.

For example, fog may be denser in the early morning or thinner in the afternoon and may vary by geographical area. Therefore, an optimal dehazing algorithm needs to be able to adapt to diverse fog conditions. This research focuses on optimizing dehazing algorithms to improve object recognition in foggy conditions. The goal is to develop an algorithm that is not only effective in removing fog but can also perform well in real-time applications.

By improving image quality, this research hopes to contribute to improving the accuracy and reliability of object recognition systems, thereby expanding their application range in real-time conditions. PROJECT OBJECTIVES  Developing dehazing algorithms – Dark Channel Prior Algorithm 1  Improving image after processing  Evaluating performance of algorithms  Reviewing impact of algorithms on different scenarios 1. SCOPES OF TOPIC First, it is necessary to design an effective algorithm capable of significantly improving the clarity and contrast of images affected by fog. To achieve this, the algorithm must accurately analyze and model the effects caused by fog such as light scattering and absorption.

Nội dung được bảo vệ bản quyền — Tải xuống đầy đủ

Tài liệu "Đồ Án Tốt Nghiệp: Tối Ưu Xử Lý Khử Sương Cho Ứng Dụng Nhận Diện Đối Tượng" trình bày các phương pháp và kỹ thuật tối ưu trong việc xử lý khử sương, nhằm nâng cao hiệu quả của các ứng dụng nhận diện đối tượng. Nội dung chính của tài liệu tập trung vào việc cải thiện chất lượng hình ảnh trong điều kiện thời tiết xấu, từ đó giúp các hệ thống nhận diện đối tượng hoạt động chính xác hơn. Độc giả sẽ tìm thấy những lợi ích thiết thực từ việc áp dụng các kỹ thuật này, không chỉ trong lĩnh vực công nghệ mà còn trong các ứng dụng thực tiễn như giám sát an ninh và giao thông.

Để mở rộng thêm kiến thức về lĩnh vực này, bạn có thể tham khảo tài liệu Luận văn thạc sĩ khoa học máy tính phân loại đối tượng chuyển động trong video, nơi cung cấp cái nhìn sâu sắc về việc phân loại đối tượng trong video, một khía cạnh quan trọng trong nhận diện đối tượng. Những tài liệu này sẽ giúp bạn có cái nhìn toàn diện hơn về các công nghệ và phương pháp hiện đại trong lĩnh vực nhận diện đối tượng.