Utkarsh-Deshmukh / Single-Image-Dehazing-Python

python implementation of the paper: "Efficient Image Dehazing with Boundary Constraint and Contextual Regularization"
BSD 2-Clause "Simplified" License
97 stars 24 forks source link

How to remove popup window while running code #5

Closed Rad-Sroud333 closed 1 year ago

Rad-Sroud333 commented 1 year ago

There is always a popup window when we run code for every single image how to resolve it?

Utkarsh-Deshmukh commented 1 year ago

Do you mean the windows which display the output?

Rad-Sroud333 commented 1 year ago

Like I am running code on image by giving path then first it shows popup window then for getting dehaze-image or it's array we have to cancel that popup window then it will run further code and return array or show image

On Sun, 5 Feb, 2023, 8:58 pm Utkarsh Deshmukh, @.***> wrote:

Do you mean the windows which display the output?

— Reply to this email directly, view it on GitHub https://github.com/Utkarsh-Deshmukh/Single-Image-Dehazing-Python/issues/5#issuecomment-1418044131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXBC62IXXLUF3KSQKDUBSDWV7BLVANCNFSM6AAAAAAUR2QF2I . You are receiving this because you authored the thread.Message ID: @.*** com>

Utkarsh-Deshmukh commented 1 year ago

Let me take a look at it.

Rad-Sroud333 commented 1 year ago

Thanks

On Sun, 5 Feb, 2023, 9:06 pm Utkarsh Deshmukh, @.***> wrote:

Let me take a look at it.

— Reply to this email directly, view it on GitHub https://github.com/Utkarsh-Deshmukh/Single-Image-Dehazing-Python/issues/5#issuecomment-1418053823, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXBC63JI27KBEIT4O7EJB3WV7CJNANCNFSM6AAAAAAUR2QF2I . You are receiving this because you authored the thread.Message ID: @.*** com>

Utkarsh-Deshmukh commented 1 year ago

@Rad-Sroud333 the issue is now fixed. The pop window used to display the Haze Transmission Map. There is now an option to avoid displaying this map. you will need to reinstall the image-dehazer library using the command: pip install image-dehazer --upgrade

In your script, you can then use a syntax like this: HazeCorrectedImg = image_dehazer.remove_haze(HazeImg, showHazeTrasmissionMap=False)