ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Difficulty with background subtractor

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
babursaylan Posted - Apr 06 2023 : 02:39:50
Hello, the module is working perfect with your demo image, but, as you can see with the attached screenshot, the result is really not good with our test files, where the camera position is fixed.

Is there any solution you offer?

Txs


attach/babursaylan/20234623930_test0.jpg
attach/babursaylan/20234623939_test1.jpg


3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 08 2023 : 00:58:38
Yes, unfortunately we are limited by the functionality of the OpenCV library that this feature is based on. You might find that some adjustments can be automated, e.g. cropping based on the know bounds of the denim, and some sort of equalization of the image color range or brightness.

Nigel
Xequte Software
www.imageen.com
babursaylan Posted - Apr 07 2023 : 01:39:18
Hi Nigel, thanks for your response. It seems that we need to make manual adjustments, because you know in real life background doesnt remain %100 same :)) We put a denim over the surface and want to crop the denim but we can not keep the background lightning completely constant of course. Even the denim is changing the light...

Txs.
xequte Posted - Apr 06 2023 : 18:18:38
Hi

Unfortunately the background and foreground images need to be very close for it to work well. You can see in your images that the contrast has changed which is tripping it up. You might try adjusting the input images.

For instance, here is a quick test I did where I auto-adjusted the color and cropping of your images before subtraction:



But you should test the various color adjustment methods to see what gives you the best result:

https://www.imageen.com/help/Testing_of_Color_Adjustment_Methods.html

Nigel
Xequte Software
www.imageen.com