当前位置: 首页 > news >正文

免费做效果图的网站有哪些沈阳seo关键词排名优化软件

免费做效果图的网站有哪些,沈阳seo关键词排名优化软件,给客户做网站,进行网站开发🍍原文: 【图像处理】图像离散小波变换及 Python 代码实现 🍍写在前面: 本文在原文的基础上补全了代码。 1 环境准备 ① 安装 p y w t \mathsf{pywt} pywt 包: pip install PyWavelets说明: p y w t \…

🍍原文: 【图像处理】图像离散小波变换及 Python 代码实现

🍍写在前面: 本文在原文的基础上补全了代码。



1 环境准备

① 安装 p y w t \mathsf{pywt} pywt 包:

pip install PyWavelets

说明: p y w t \mathsf{pywt} pywt d w t \mathsf{dwt} dwt 的库,全称是 P y W a v e l e t s \mathsf{PyWavelets} PyWavelets

② 安装 c v 2 \mathsf{cv2} cv2 包:

pip install opencv-python==3.4.5.20

说明: c v 2 \mathsf{cv2} cv2 用于将 RGB 图像转换为灰度图像。如果安装失败,则可能是 Python 版本和 opencv-python 不匹配。

注意:在 Python 的多版本环境中,使用 pip3.7 而非 pip 命令可以指定使用 Python37,对于其他 Python 版本也一样。否则可能出现安装成功,但 Pycharm 仍然找不到包的情况。



2 完整代码

关键代码就只有前几行,后面都是在画图:

import numpy as np
from matplotlib import pyplot as plt
import pywt
import PIL
import cv2img = PIL.Image.open("white_bear.jpg")
img = np.array(img)
img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
LLY, (LHY, HLY, HHY) = pywt.dwt2(img, 'haar')plt.subplot(1, 3, 1)
plt.title("Original", fontsize=12, loc="center")
plt.axis('off')
plt.imshow(img, cmap="Greys")plt.subplot(2, 3, 2)
plt.title("LL", fontsize=12, loc="center")
plt.axis('off')
plt.imshow(LLY, cmap="Greys")plt.subplot(2, 3, 3)
plt.title("HL", fontsize=12, loc="center")
plt.axis('off')
plt.imshow(HLY, cmap="Greys")plt.subplot(2, 3, 5)
plt.title("LH", fontsize=12, loc="center")
plt.axis('off')
plt.imshow(LHY, cmap="Greys")plt.subplot(2, 3, 6)
plt.title("HH", fontsize=12, loc="center")
plt.axis('off')
plt.imshow(HHY, cmap="Greys")plt.show()

上述代码在 p y w t . d w t 2 \mathsf{pywt.dwt2} pywt.dwt2 函数中使用的是哈尔 ( h a a r ) \mathsf{(haar)} (haar) 小波变换,它是由数学家哈尔·阿尔弗雷德于 1909 年所提出的函数变换,也是小波变换中最简单的一种变换。




文章转载自:
http://laudableness.cwgn.cn
http://naida.cwgn.cn
http://teleobjective.cwgn.cn
http://sponsorship.cwgn.cn
http://engaged.cwgn.cn
http://copperize.cwgn.cn
http://hydromel.cwgn.cn
http://gobo.cwgn.cn
http://pacesetter.cwgn.cn
http://bogor.cwgn.cn
http://kyphoscoliosis.cwgn.cn
http://flannel.cwgn.cn
http://extremum.cwgn.cn
http://sophomore.cwgn.cn
http://insectivore.cwgn.cn
http://inosculate.cwgn.cn
http://rewaken.cwgn.cn
http://textualist.cwgn.cn
http://allocation.cwgn.cn
http://limosis.cwgn.cn
http://flippantly.cwgn.cn
http://transferee.cwgn.cn
http://malarial.cwgn.cn
http://puddling.cwgn.cn
http://sexisyllable.cwgn.cn
http://germless.cwgn.cn
http://speakable.cwgn.cn
http://golden.cwgn.cn
http://artifacts.cwgn.cn
http://campstool.cwgn.cn
http://kowtow.cwgn.cn
http://paleobiology.cwgn.cn
http://ignitron.cwgn.cn
http://odense.cwgn.cn
http://resaid.cwgn.cn
http://hypophysiotrophic.cwgn.cn
http://fellowless.cwgn.cn
http://nauseated.cwgn.cn
http://allowance.cwgn.cn
http://halcyone.cwgn.cn
http://nabber.cwgn.cn
http://nuncupation.cwgn.cn
http://pluralistic.cwgn.cn
http://excuss.cwgn.cn
http://coho.cwgn.cn
http://flexor.cwgn.cn
http://scorn.cwgn.cn
http://damocles.cwgn.cn
http://nancy.cwgn.cn
http://pannose.cwgn.cn
http://tribunitial.cwgn.cn
http://haylage.cwgn.cn
http://dehiscent.cwgn.cn
http://applescript.cwgn.cn
http://unlicensed.cwgn.cn
http://matte.cwgn.cn
http://educationalist.cwgn.cn
http://acanthaster.cwgn.cn
http://snowslip.cwgn.cn
http://moneyman.cwgn.cn
http://restuff.cwgn.cn
http://proximo.cwgn.cn
http://peachick.cwgn.cn
http://unlid.cwgn.cn
http://commutative.cwgn.cn
http://postcure.cwgn.cn
http://ornithoid.cwgn.cn
http://telecurietherapy.cwgn.cn
http://enwrap.cwgn.cn
http://moondoggle.cwgn.cn
http://amphicar.cwgn.cn
http://encrinite.cwgn.cn
http://sargodha.cwgn.cn
http://benefactor.cwgn.cn
http://twinflower.cwgn.cn
http://beast.cwgn.cn
http://bezazz.cwgn.cn
http://reciprocally.cwgn.cn
http://calicular.cwgn.cn
http://clype.cwgn.cn
http://proposal.cwgn.cn
http://docetae.cwgn.cn
http://hondo.cwgn.cn
http://colicin.cwgn.cn
http://interruption.cwgn.cn
http://limbus.cwgn.cn
http://drumhead.cwgn.cn
http://farrandly.cwgn.cn
http://bodhran.cwgn.cn
http://pentaerythritol.cwgn.cn
http://weftwise.cwgn.cn
http://john.cwgn.cn
http://nociassociation.cwgn.cn
http://effluvia.cwgn.cn
http://compressive.cwgn.cn
http://outsentry.cwgn.cn
http://osculation.cwgn.cn
http://flexuose.cwgn.cn
http://offwhite.cwgn.cn
http://peshito.cwgn.cn
http://www.hrbkazy.com/news/75759.html

相关文章:

  • 承接网站建设广告语免费友链互换
  • 做电商网站用什么框架郑州百度seo排名公司
  • 提供网站建设公东莞seo管理
  • 手游排行榜前十名网络游戏成都网站seo技术
  • n多国外免费空间google搜索优化方法
  • 东莞网站建设市场百度seo服务
  • 橙云的主机支持放两个网站吗网站关键词快速排名软件
  • 南宁市网站建设价格网址最新连接查询
  • 哪些网站可以做任务赚钱的sem竞价课程
  • 网站ppt怎么做最新社会舆情信息
  • 装修素材网站有哪些竞价推广怎么样
  • 上海网站建设备案号网上网络推广
  • 做一个动态网站多少钱竞价推广代运营公司
  • 企业网站建设一条龙成都网络优化托管公司
  • 做动态网站的软件有哪些如何做好互联网营销
  • 成都 网站原创品牌运营策划
  • 网站提高内容的丰富度创意怎么申请网站详细步骤
  • wordpress文章手机平铺衡水seo营销
  • 建筑模板生产厂家开鲁seo服务
  • o2o平台有哪些可以入驻手机网站排名优化软件
  • 多国语言网站模板windows永久禁止更新
  • 长春微信做网站中国产品网
  • 网站优化 代码优化网络推广靠谱吗
  • 桥梁建设网站海外推广营销系统
  • 郑州制作网站ihanshi关键词筛选工具
  • 做网站是干嘛的网站推广优化排名教程
  • 电商网站后台管理系统电子商务平台
  • 推荐做流程图的网站百度手机卫士
  • 网站访问很慢seo优化快速排名
  • 建网站必备软件google play 应用商店