当前位置:网站首页>Gocv boundary fill
Gocv boundary fill
2022-07-02 08:50:00 【Tutu is a cat】
gocv Border filling
Create target picture
targetImg := gocv.NewMatWithSize(read.Rows(),read.Cols(),gocv.MatTypeCV8UC3)
Fill the boundary
value := color.RGBA{
R: 255,G: 255,B: 255}
gocv.CopyMakeBorder(read,&targetImg,50,50,50,50,gocv.BorderReflect,value)
Show pictures
window.IMShow(targetImg)
window.WaitKey(0)
gocv.CopyMakeBorder() Function description
- Parameters 1: Source image
- Parameters 2: Target pictures
- Parameters 3,4,5,6 : On the picture , Next , Left , Right fill size
- Parameters 7,8:https://blog.csdn.net/qq_35789421/article/details/89404224
边栏推荐
- HCIA—應用層
- Data asset management function
- Sqli labs level 8 (Boolean blind note)
- [blackmail virus data recovery] suffix Hydra blackmail virus
- Realization of basic function of sequence table
- gocv图片读取并展示
- 一、Qt的核心类QObject
- Makefile Fundamentals
- Using recursive functions to solve the inverse problem of strings
- Openshift deployment application
猜你喜欢
Flex layout
kubeadm部署kubernetes v1.23.5集群
ICMP协议
ARP and ARP Spoofing
队列的基本概念介绍以及典型应用示例
Gateway is easy to use
Nacos download, start and configure MySQL database
Classes and objects (instantiation of classes and classes, this, static keyword, encapsulation)
Hcia - Application Layer
Minecraft group service opening
随机推荐
判断是否是数独
Finishing the interview essentials of secsha system!!!
First week of JS study
NPOI 导出Word 字号对应
Loadbalancer dynamically refreshes Nacos server
Linux binary installation Oracle database 19C
Kubedm deploys kubernetes v1.23.5 cluster
Minecraft模组服开服
Count the number of various characters in the string
Use the numbers 5, 5, 5, 1 to perform four operations. Each number should be used only once, and the operation result value is required to be 24
Judge whether it is Sudoku
C# 百度地图,高德地图,Google地图(GPS) 经纬度转换
Connect function and disconnect function of QT
What is SQL injection
ARP及ARP欺骗
Openshift build image
Hcia - Application Layer
Dip1000 implicitly tagged with fields
Network security - summary and thinking of easy-to-use fuzzy tester
Sentinel easy to use