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
 Detecting image in empty background

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
BMurdoch Posted - Feb 03 2015 : 13:47:44
I have a large JPG (1000px X 1000px or larger), that only contains a small image on a white background. The image can be of various sizes and locations within the large background. I have attached a sample here.

Is there a way to detect the boundaries of the image and extract it from the large JPG?



Thank you,

Bob M..
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 03 2015 : 21:49:55
Hi

Try AutoCrop:

http://www.imageen.com/help/TImageEnProc.AutoCrop.html

Passing either the color of the top-left pixel or using GetDominantColor.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com