Extract each object after edge detection using sobel filter
<p>Sobel Edge detection:<br>
<img src="https://i.stack.imgur.com/bbgpD.png" alt="Sobel Edge detection"></p>

<p>Original Image:<br>
<img src="https://i.stack.imgur.com/L8yvq.jpg" alt="Original Image"></p>

<p>I have used sobel edge detection technique to identify the boundaries of each object in the given image. How can I extract the objects in the original image using these boundaries. We can ignore the objects with smaller pixel count.</p>

<p>What you are after is called image segmentation. Your case looks particularly difficult because of low contrast between the furniture elements, and because of texture and shadows.</p>

<p>You will also realize that you need to define what you call an "object" and you will realize that it is about impossible to isolate the pieces of furniture in this scene.</p>

<p>Another bad news: neither Sobel nor Canny will be good enough to address this, as the true edges will be discontinous at places and there will be many false responses.</p>

<p>In my opinion, the current state of the art does not allow to solve your problem.</p>

python opencv image-processing image-segmentation skimage