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
 How to find an empty rectangle inside a graphic file

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
mazluta Posted - May 29 2024 : 05:39:45
Hi

i have some graphics with rectangles inside.





i want to find that rectangle


I want to check/look for




and all 4 "corners" by "matching" or some other way and find the all area of the rectangle.

is it possible?


Yossi Mazal-Tov
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 30 2024 : 23:05:03
We're also looking into Harris Corner detection, which may help here:

https://docs.opencv.org/4.x/dc/d0d/tutorial_py_features_harris.html

Nigel
Xequte Software
www.imageen.com
xequte Posted - May 29 2024 : 23:52:34
Hi Yossi

I would suggest trying the line or edge detection:

http://www.imageen.com/help/TIEVisionImage.houghLines.html
http://www.imageen.com/help/TIEVisionImage.canny.html


Another possibility if the rectangles are always a unique color in the image, would be to parse the image content to find matching pixels.


Nigel
Xequte Software
www.imageen.com