MATLAB Answers

Anand
0

How to obtain improfile for shadow and non shadow regions in gray image ?

Asked by Anand
on 29 Aug 2014
Latest activity Commented on by Anand
on 5 Oct 2014
In matlab we have a command called improfile. I want to use it to plot a graph of comparison between shadow and non shadow areas in an gray image... My input image is gray image with shadows on some regions... The Improfile should contain 2 graphs one representing shadow pixles and other non shadow pixles... any help on this...

  0 Comments

Sign in to comment.

1 Answer

Answer by Image Analyst
on 29 Aug 2014
 Accepted Answer

Just call it and get the profile. Then threshold into dark and light areas and graph them. Did you have some trouble with the code?

  2 Comments

See attached demo for improfile.
There are more sophisticated shadow identification methods than simple thresholding. Let me know if you need references.
thankyou sir, it was helpful

Sign in to comment.