ThomasWangWeiHong / Shadow-Detection-Algorithm-for-Aerial-and-Satellite-Images

Python implementation of shadow detection and correction algorithm proposed in academia
41 stars 11 forks source link

Shadow detect going haywire on an image #6

Open user2-simon26333 opened 2 years ago

user2-simon26333 commented 2 years ago

Firstly, great project, it worked really well on the first imagery I tested it with.

On the next image it's gone haywire, missing the actual shadows (dark pixels) and instead detecting lighter coloured red and green shades as being shadows, as well as darker coloured roofs. shadow_detect_mask shadow_detect_raster

Here is the original raster used as input (cropping was applied before shadow detection above): https://file.io/GDFOnKvIZIq4

I am thinking about manipulating the shadow-detect code so instead of letting it dynamically figure out what colour shadows are, hardcoding it?

superLan001 commented 1 year ago

Hello, can you tell me the specific version of the dependency library you installed? When I run it, the result is a black image.

Billy-ZTB commented 9 months ago

Hello, can you tell me the specific version of the dependency library you installed? When I run it, the result is a black image.

I am also having this problem, did you solve it ?