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
 Autodetect the width of a black mask in an image

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
mmiranda Posted - Aug 21 2019 : 21:18:17
I developed a medical image capture system that works correctly, but the image frames I get from the video contain a black mask on both sides of the image. The width of the black mask may vary depending on the connected video equipment (ie the width of the mask changes with each device). This black mask is useless for storing, displaying images or printing them.
I need to crop the visible region of the image (useful region), so my problem is: How can I detect the width of the black mask and then remove it using some Imageen vcl component?



thanks for your help

I still program in 32-bit Delphi7



2   L A T E S T    R E P L I E S    (Newest First)
mmiranda Posted - Aug 26 2019 : 21:08:57
AutoCrop works fine and is easy to use, it was the function I was looking for.
Thanks you very much for your help
xequte Posted - Aug 21 2019 : 21:36:11
Hi

Are you able to use AutoCrop?

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

Nigel
Xequte Software
www.imageen.com