CV-Reimplementation / Sea-thru-implementation

Implementation of Sea-Thru: A Method for Removing Water From Underwater Images
MIT License
1 stars 2 forks source link

How should I use your code based on my dataset? #1

Closed ZhenWusi closed 6 months ago

ZhenWusi commented 6 months ago

How to run the code, what the depth folder looks like, how to get it

xuhangc commented 6 months ago

python seathru.py should be able to run the code. You may need to install some required packages before you run the code. Depth map can be generated by different methods, you may refer to depth estimation for more detailed information.

ZhenWusi commented 6 months ago

Can you provide a way to get the depth map, or can you provide your dataset format?thank you very much

xuhangc commented 6 months ago

Can you provide a way to get the depth map, or can you provide your dataset format?thank you very much

This is a repo for depth map generation Depth map Repo.

Below is a dataset folder structure for example. Make sure the corresponding uw_img and depth_map share the same name and extension.

.
└── dataset/
    ├── input/
    │   └── uw_img
    └── depth/
        └── depth_map
ZhenWusi commented 6 months ago

Thank you very much?I will try it.