how to detect shadows in an image

3 views (last 30 days)
ASWATHY SUDHAKARAN
ASWATHY SUDHAKARAN on 28 Jan 2016
Commented: ANDREA FORCELLA on 11 May 2022
I have an image which is given below
How can i detect the cast shadow by using a bounding box?????? (A rectangular box must be moved throughout the img searching for a shadow and when it detects a shadow,the box must be fixed there@ the shadow)
  1 Comment
ANDREA FORCELLA
ANDREA FORCELLA on 11 May 2022
Maybe its correct create a background image that contain only the shadow? I'm trying to do that 'background = imopen(grayImage,se)'; where se=strel('disk',15);

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 28 Jan 2016

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!