Hello There, Guest!
 Login  Register
 Login  Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

java code for shadow detection and removal


#1

Project

  • The presence of shadows has been responsible for reducing the reliability of many computer vision algorithms, including segmentation, object detection, scene analysis, stereo, tracking, etc. Therefore, shadow detection and removal is an important pre-processing for improving performance of such vision tasks.
  • Decomposition of a single image into a shadow image and a shadow-free image is a difficult problem, due to complex interactions of geometry, albedo, and illumination. Many techniques have been proposed over the years, but shadow detection still remains an extremely challenging problem, particularly from a single image.
  • Our goal is to create a system that can automatically detect shadow regions and then remove from simple images. While detecting all shadows is expected to remain hard, we make some constraints related to the structure of the images.
  • We present an algorithm to automatically detect shadows and remove them from simple consumer images. Our algorithms are developed in Matlab and C++

Methods
Shadow Detection
  • For shadow detection we present an approach based on statistics of intensity. We represent the picture in the YCbCr color space and we compute the histogram dissension, which gives us a more contrast image at the Y channel. After computing the full average at the Y channel, we perform a sliding window operation, to decide which pixels belongs to the shadow. The noise is then reduced by applying a median filter.
  • The algorithm finds the lower intensities areas in the picture, and this can describe darker objects too (false detection). For such situations, we can further decide if we have a shadow by taking into consideration that its border is smooth (the border is usually rough for objects).
  • The result of the shadow detection is a binary shadow mask, which will be the input to the shadow removal algorithm.
  • Remark: As a further improvement, we can introduce a segmentation algorithm and we can use our method for each of the segments.

Shadow Removal
  • Model-based shadow removal
    We use a simple shadow model, where there are two types of light sources: direct and ambient light. Direct light comes directly from the source, while environment light is from reflections of surrounding surfaces. For shadow areas part or all of the direct light is occluded.

  • Additive shadow removal
    Another,rather simple shadow removal technique was an additive correction of the color intensities in the shadow area. We computed the average pixel intensities in the shadow and lit areas of the image and added this difference to the pixels in the shadow areas.

  • Combined shadow removal
    The third shadow removal method vas the combination of the previous two ones. We converted the images to the YCbCr color-space. After, we used the additive method for the correction on the Y channel, and the model-based method for the correction of the Cb and Cr channels.
 Reply
#2
Hi Sir,

I am working on moving shadow detection and removal but I didn't get from where to start. So I requesting you send me your java code for shadow detection and removal. So please send me the code so I can refer it to complete my code..
 Reply
#3
(04-16-2017, 05:27 AM)basheerun Wrote: Project

  • The presence of shadows has been responsible for reducing the reliability of many computer vision algorithms, including segmentation, object detection, scene analysis, stereo, tracking, etc. Therefore, shadow detection and removal is an important pre-processing for improving performance of such vision tasks.
  • Decomposition of a single image into a shadow image and a shadow-free image is a difficult problem, due to complex interactions of geometry, albedo, and illumination. Many techniques have been proposed over the years, but shadow detection still remains an extremely challenging problem, particularly from a single image.
  • Our goal is to create a system that can automatically detect shadow regions and then remove from simple images. While detecting all shadows is expected to remain hard, we make some constraints related to the structure of the images.
  • We present an algorithm to automatically detect shadows and remove them from simple consumer images. Our algorithms are developed in Matlab and C++

Methods
Shadow Detection
  • For shadow detection we present an approach based on statistics of intensity. We represent the picture in the YCbCr color space and we compute the histogram dissension, which gives us a more contrast image at the Y channel. After computing the full average at the Y channel, we perform a sliding window operation, to decide which pixels belongs to the shadow. The noise is then reduced by applying a median filter.
  • The algorithm finds the lower intensities areas in the picture, and this can describe darker objects too (false detection). For such situations, we can further decide if we have a shadow by taking into consideration that its border is smooth (the border is usually rough for objects).
  • The result of the shadow detection is a binary shadow mask, which will be the input to the shadow removal algorithm.
  • Remark:  As a further improvement, we can introduce a segmentation algorithm and we can use our method for each of the segments.

Shadow Removal
  • Model-based shadow removal
    We use a simple shadow model, where there are two types of light sources: direct and ambient light. Direct light comes directly from the source, while environment light is from reflections of surrounding surfaces. For shadow areas part or all of the direct light is occluded.  

  • Additive shadow removal
    Another,rather simple shadow removal technique was an additive correction of the color intensities in the shadow area. We computed the average pixel intensities in the shadow and lit areas of the image and added this difference to the pixels in the shadow areas.  

  • Combined shadow removal
    The third shadow removal method vas the combination of the previous two ones. We converted the images to the YCbCr color-space. After, we used the additive method for the correction on the Y channel, and the model-based method for the correction of the Cb and Cr channels.  

sir,can you send me the source code of shadow detection and removal in an image..??send me the reply to this mail id:[email protected]
 Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Tagged Pages: shadow detection using matlab code,
Popular Searches: shadow detection in video matlab code, how to draw shadow and ducky, shadow detection and removal in colour images using matlab source code, matlab code for shadow detection and removal, shadow detection and removal in colour images in matlab code, matlab source code shadow removal, explaination of shadow removal matlab code,

Quick Reply
[-]
Message Type your reply to this message here.
Image VerificationPlease enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)


Possibly Related Threads...
Thread
Author
  /  
Last Post
Guest
Replies: 0
Views: 104
02-16-2021, 09:23 AM
Last Post: Guest
Guest
Replies: 0
Views: 57
02-13-2021, 11:11 AM
Last Post: Guest
Guest
Replies: 0
Views: 159
02-01-2021, 08:25 PM
Last Post: Guest
Guest
Replies: 0
Views: 68
01-30-2021, 01:44 PM
Last Post: Guest
Guest
Replies: 0
Views: 146
01-21-2021, 05:21 AM
Last Post: Guest
Guest
Replies: 1
Views: 24,664
01-09-2021, 05:25 PM
Last Post: ARilubligue
Guest
Replies: 1
Views: 3,818
01-09-2021, 05:25 PM
Last Post: ARilubligue
Guest
Replies: 0
Views: 190
12-04-2020, 03:39 AM
Last Post: Guest
Guest
Replies: 0
Views: 163
12-01-2020, 04:32 AM
Last Post: Guest
Guest
Replies: 0
Views: 82
11-30-2020, 07:20 PM
Last Post: Guest

 
Forum Jump:


Users browsing this thread: 1 Guest(s)