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

1 visualizzazione (ultimi 30 giorni)
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...

Risposta accettata

Image Analyst
Image Analyst il 29 Ago 2014
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 Commenti
Image Analyst
Image Analyst il 29 Ago 2014
See attached demo for improfile.
There are more sophisticated shadow identification methods than simple thresholding. Let me know if you need references.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by