Ask Your Question

kabhat's profile - activity

2016-05-23 15:50:55 -0500 received badge  Notable Question (source)
2015-03-03 03:12:40 -0500 received badge  Popular Question (source)
2013-09-27 06:20:22 -0500 asked a question Separating sharp portions from blurred portions in an image

How can I separate the sharp (in focus) portion of an image from the blurred (out of focus) portion of the same image?

2013-07-02 07:53:08 -0500 received badge  Student (source)
2013-07-01 10:31:18 -0500 asked a question How to do Background substraction

Can someone please help me with a few lines on background substraction? I want to remove a.k.a "substract" the background and highlight the foreground images.

I tried with BackgroundSubstractorMOG2 method but apparently most parameters (e.g. nmixtures & bShadowDetection) are protected hence cannot play around. Also, the following code throws a memory exception:

namedWindow("bg-window",CV_WINDOW_AUTOSIZE);

for(;;)
{
....

bg(frame,foreground);
bg.getBackgroundImage(background);
imshow("bg-window",background);

....
}

2013-07-01 01:04:46 -0500 asked a question Object Identification in 2D image

I would like to separate objects in a 2D image based on their depths -- closer objects vs distant objects. Can anybody help me with this? (something close to 2D-plus depth).

Basic purpose is to "identify" (not "recognize") various objects in the viewport of a 2D image and highlight them based on their proximity - maybe brighter ones first and as the depth increases, they get darker.