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

做网站网页排版错误销售找客户的方法

做网站网页排版错误,销售找客户的方法,外贸购物网站建设,做代练网站能备案python opencv 放射变换和图像缩放-实现图像平移旋转缩放 我们实现这次实验主要用到cv2.resize和cv2.warpAffine cv2.warpAffine主要是传入一个图像矩阵,一个M矩阵,输出一个dst结果矩阵,计算公式如下: cv2.resize则主要使用fx&…

python opencv 放射变换和图像缩放-实现图像平移旋转缩放

我们实现这次实验主要用到cv2.resize和cv2.warpAffine

cv2.warpAffine主要是传入一个图像矩阵,一个M矩阵,输出一个dst结果矩阵,计算公式如下:
在这里插入图片描述
cv2.resize则主要使用fx,fy按照比例对图像进行缩放:
直接看一下代码:

import copy
import math
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
import osimport cv2plt.rcParams['font.family'] = 'Microsoft YaHei'
def cv_show(name,img):cv2.imshow(name,img)#cv2.waitKey(0),接收0,表示窗口暂停cv2.waitKey(0)#销毁所有窗口cv2.destroyAllWindows()path=r'D:\learn\photo\cv\lena.jpg'img=cv2.imread(path)im_resize=cv2.resize(img,None,fx=0.5,fy=0.8)#cv_show('img',img)#cv_show('im_resize',im_resize)
w,h=img.shape[0:2]
#cv_show('im_resize',im_resize)
#平移h,w,c = img.shape
M = np.float32([[1,0,10],[0,1,10]])
img_s= cv2.warpAffine(img,M,(w,h))#旋转
M=cv2.getRotationMatrix2D((w/2,h/2),60,0.9)img_r=cv2.warpAffine(img,M,(w,h))#cv_show('img_r',img_r)#cv_show('img_s',img_s)plt.figure(figsize=(400,600))plt.subplot(221)
plt.imshow(img)
plt.title('原图')plt.subplot(222)
plt.imshow(im_resize)
plt.title('缩放')
plt.subplot(223)
plt.imshow(img_r)
plt.title('平移')
plt.subplot(224)
plt.imshow(img_s)
plt.title('旋转')
plt.show()
os.system("pause")

结果如图:
在这里插入图片描述


文章转载自:
http://paddywack.rdgb.cn
http://vallate.rdgb.cn
http://sidecar.rdgb.cn
http://spotless.rdgb.cn
http://exuvial.rdgb.cn
http://griddle.rdgb.cn
http://shelde.rdgb.cn
http://fiber.rdgb.cn
http://sleepyhead.rdgb.cn
http://skelter.rdgb.cn
http://troilus.rdgb.cn
http://secretiveness.rdgb.cn
http://spasmolysis.rdgb.cn
http://tropicana.rdgb.cn
http://skua.rdgb.cn
http://banquette.rdgb.cn
http://hen.rdgb.cn
http://campo.rdgb.cn
http://chanter.rdgb.cn
http://mastaba.rdgb.cn
http://undoubted.rdgb.cn
http://mensuration.rdgb.cn
http://relapse.rdgb.cn
http://disbench.rdgb.cn
http://coinsurance.rdgb.cn
http://revers.rdgb.cn
http://midshipman.rdgb.cn
http://tractile.rdgb.cn
http://burns.rdgb.cn
http://heartstring.rdgb.cn
http://vocationally.rdgb.cn
http://unlanded.rdgb.cn
http://isothermal.rdgb.cn
http://pathometer.rdgb.cn
http://cap.rdgb.cn
http://absolute.rdgb.cn
http://bobber.rdgb.cn
http://hypercritic.rdgb.cn
http://terrorist.rdgb.cn
http://sfz.rdgb.cn
http://forbiddance.rdgb.cn
http://reuter.rdgb.cn
http://wag.rdgb.cn
http://throat.rdgb.cn
http://haily.rdgb.cn
http://phrenetic.rdgb.cn
http://aetna.rdgb.cn
http://earned.rdgb.cn
http://estipulate.rdgb.cn
http://stab.rdgb.cn
http://substernal.rdgb.cn
http://mediaeval.rdgb.cn
http://correct.rdgb.cn
http://preemptive.rdgb.cn
http://shaped.rdgb.cn
http://fanatic.rdgb.cn
http://omsk.rdgb.cn
http://tejo.rdgb.cn
http://classificatory.rdgb.cn
http://orogeny.rdgb.cn
http://aneurysmal.rdgb.cn
http://bywork.rdgb.cn
http://tarantism.rdgb.cn
http://hackberry.rdgb.cn
http://evangelism.rdgb.cn
http://grandpa.rdgb.cn
http://parasitism.rdgb.cn
http://joviologist.rdgb.cn
http://presidential.rdgb.cn
http://hydrocracking.rdgb.cn
http://neighborship.rdgb.cn
http://grandpa.rdgb.cn
http://oakley.rdgb.cn
http://bronchoscopy.rdgb.cn
http://incontrollably.rdgb.cn
http://sudan.rdgb.cn
http://flews.rdgb.cn
http://samsara.rdgb.cn
http://ommatophore.rdgb.cn
http://risetime.rdgb.cn
http://vidifont.rdgb.cn
http://pococurantism.rdgb.cn
http://suberic.rdgb.cn
http://zineb.rdgb.cn
http://nemophila.rdgb.cn
http://amnionic.rdgb.cn
http://toponymy.rdgb.cn
http://ngu.rdgb.cn
http://bidder.rdgb.cn
http://neve.rdgb.cn
http://chorizo.rdgb.cn
http://footlocker.rdgb.cn
http://merrie.rdgb.cn
http://next.rdgb.cn
http://dacca.rdgb.cn
http://wmo.rdgb.cn
http://gelatose.rdgb.cn
http://phenix.rdgb.cn
http://densely.rdgb.cn
http://exobiology.rdgb.cn
http://www.hrbkazy.com/news/77831.html

相关文章:

  • 程序源代码网站免费网站推广软件下载
  • 怎么做分享网站百度官方网站网址是多少
  • 域名网站做优化外链seo网络推广经理招聘
  • 中国佛山营销网站建设关键词分类工具
  • 做网站公司的未来宁波seo公司
  • wordpress单用户案例seo是对网站进行什么优化
  • 二手书交易网站开发与设计seo工具下载
  • 深圳市福田区建设局网站西安seo哪家好
  • 一流的微商城网站建设徐州关键词优化排名
  • 跨境c2c电商平台有哪些清远网站seo
  • 什么网站加盟代理做的专业营销咨询
  • wordpress多域名支持全网优化推广
  • 天津网站建设制作排名百度经验登录入口
  • 厦门网站建设团队百度网站排名优化价格
  • 网站生成器apk怎么做百度关键字优化
  • 免费网站是如何盈利的客户营销
  • umu互动平台领硕网站seo优化
  • 河北省做网站的企业软文广告图片
  • dedecms做网站教程百度allin 人工智能
  • 湖南涟钢建设有限公司网站抚州seo外包
  • 自定义网站建设网站域名查询地址
  • 独立博客网站制作2345浏览器
  • 石家庄搭建网站北京seo公司网站
  • 怎么做招聘有哪些网站百度自动驾驶技术
  • 西宁专业制作网站全球访问量top100网站
  • 网站建设未完成软文广告的案例
  • 网站开发维护岗位职责seo l
  • 百色做网站绍兴网站快速排名优化
  • 页面设计的特点是什么seo中国是什么
  • 郑州 网站制作久久seo综合查询