Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Graph program OpenCV

RemoveBlackConnectedComponents

  • Category : OpenCV
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Using opencv binary image to remove the black connected components smaller. Program statement tmparea = fabs (cvContourArea (contour)) can get the current connected component of the area, when this area is less than the threshold when it filled with white. rect = cvBoundingRect (contour, 0) get is a box to live in the smallest rectangle connected domains, part of the black rectangle to fill with white, but this is the case, connected components 6 and 4 are filled into two connected components of white rectangle, which obviously does not meet our requirements, so we must determine if the connected domain is black or white Unicom domain connected domain, the approach is to test the center of the rectangle, if it is black, is that the black connected components connected domain, otherwise the domain of white Unicom, China Unicom for the black white fill field we deal with them, for the white Unicom domain remains unchanged.
Packet file list
(Preview for download)
使用opencv去掉二值化图像中黑色面积较小的连通域.txt
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.