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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Autodetect the width of a black mask in an image
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mmiranda

Chile
13 Posts

Posted - Aug 21 2019 :  21:18:17  Show Profile  Reply
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



xequte

38616 Posts

Posted - Aug 21 2019 :  21:36:11  Show Profile  Reply
Hi

Are you able to use AutoCrop?

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

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

mmiranda

Chile
13 Posts

Posted - Aug 26 2019 :  21:08:57  Show Profile  Reply
AutoCrop works fine and is easy to use, it was the function I was looking for.
Thanks you very much for your help
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: