Skip to main content

Write less boilerplate code in OpenCV

Project description

COMMANDS

Window
imshow          WIP, as a substitute for original imshow in OPENCV, passing in on image variable name in string type, variable name will be displayed as title. Resizable window as default.
Utility
converge        use eitehr mean or gaussian kernel to make a high pass filter, low frequency signal will be merged into average color. 
                (https://github.com/JiayouQin/Python-projects/tree/master/17%20Image%20Balancing)
list_images     return all image files in the directory including sub directories in a list
imread          identical to openCV imread but supports UTF-8 formatted string path
imwrite         identical to openCV imwrite but supports UTF-8 formatted string path
open_morph      perform open operation with given kernel
open_circle     perform open operation with circular kernel
open_rect       perform open operation with rectangular kernel
close_morph     perform close operation with given kernel
close_circle    perform close operation with circular kernel
close_rect      perform close operation with rectangular kernel
bgr_to_hsv      convert a bgr image to hsv image, if parameter 2 is true then returned image will be split into 3 channels
add_noise       add noise of given type to image (0:gaussian, 1:s&p), accepts both string and integer number

命令列表
窗口
imshow          测试中功能,替代原OPENCV功能,传入变量名称字符串,以变量名为标题显示该图像,默认可调节窗口大小。
功能
converge        使用均值或高斯卷积核作为高通滤波核,低频信号并入直方图均值。
                (https://github.com/JiayouQin/Python-projects/tree/master/17%20Image%20Balancing)
list_images     返回目录下所有子文件夹中图像到列表中
imread          与原OPENCV功能相同并支持UTF-8格式
imwrite         与原OPENCV功能相同并支持UTF-8格式
open_morph      使用指定核做开操作
open_circle     使用圆形核做开操作
open_rect       使用方形核做开操作
close_morph     使用指定核做闭操作
close_circle    使用圆形核做闭操作
close_rect      使用方形核做闭操作
bgr_to_hsv      将BGR图像转换为HSV图像,如果第二参数为True返回图像三通道分离三张图像
add_noise       给图像加入指定噪声(0:高斯, 1:s&p),可传入字符串或整数

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cvsimpleton-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file cvsimpleton-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cvsimpleton-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for cvsimpleton-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f99ec4ce220148857434edd465b148493f1ed49e1a005723b328a45d9a31572
MD5 16a9130a0e97efaa7543bf79cdbb0c61
BLAKE2b-256 0434e728d9c4535b7f506cd6d4857a7bf33d26ef57aaf358693500c98c31a7a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page