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

网站页面数怎么做什么是网页和网站

网站页面数怎么做,什么是网页和网站,建筑网站 法人签字,长沙做网站哪里好针对3D图像的,因为所有3D图像的2D切片都在一个文件夹里,所以要进行直方图各个像素值数量的累加。 import sys import cv2 import numpy as np import os, glob from skimage import data,io import matplotlib.pyplot as plt np.set_printoptions(thres…

针对3D图像的,因为所有3D图像的2D切片都在一个文件夹里,所以要进行直方图各个像素值数量的累加。

import sys
import cv2
import numpy as np
import os, glob
from skimage import data,io
import matplotlib.pyplot as plt
np.set_printoptions(threshold=sys.maxsize)#全部打印midfixed_img_path = 'D:/No.2project/MM_VM/result/RV_RL_png/fixed2moving_T22T1/Transverse/3/'
moving_img_path = 'D:/No.2project/MM_VM/result/RV_RL_png/moving_T1/Transverse/3/'
fixed_img_path = 'D:/No.2project/MM_VM/result/RV_RL_png/fixed_T2/Transverse/3/'midfixed_img_names = os.listdir(midfixed_img_path)
moving_img_names = os.listdir(midfixed_img_path)
fixed_img_names = os.listdir(midfixed_img_path)hist_midfixed = np.array([[0]*1]*256)  
hist_moving = np.array([[0]*1]*256)  
hist_fixed = np.array([[0]*1]*256)  for midfixed, moving, fixed in zip(midfixed_img_names, moving_img_names, fixed_img_names):midfixed = midfixed_img_path + midfixedmoving = moving_img_path + movingfixed = fixed_img_path + fixed# 1.加载图像midfixed = cv2.imread(midfixed, cv2.IMREAD_COLOR)moving = cv2.imread(moving, cv2.IMREAD_COLOR)fixed = cv2.imread(fixed, cv2.IMREAD_COLOR)# 2.获取直方图的值hist_midfixed = cv2.calcHist([midfixed], [0], None, [256], [1, 255]) + hist_midfixedhist_moving = cv2.calcHist([moving], [0], None, [256], [1, 255]) + hist_movinghist_fixed = cv2.calcHist([fixed], [0], None, [256], [1, 255]) + hist_fixed# 3.显示直方图
plt.plot(hist_midfixed, color="r")
plt.plot(hist_moving, color="g")
plt.plot(hist_fixed, color="b")
plt.show()saveFile = "D:/No.2project/MM_VM/result/RV_RL_png/fixed2moving_T22T1/Transverse/3_0-255/75.png"  # 保存文件的路径
cv2.imwrite(saveFile, img_src)  # 保存图像文件

http://www.yayakq.cn/news/648663/

相关文章:

  • 网站需求分析模板托管网站费用
  • 织梦绿色企业网站模板前端需要学什么
  • 旅游网站建设多少钱php论坛源码下载
  • php网站开发遇到的问题整合营销传播策略
  • 移动互联和网站开发一流的菏泽网站建设
  • 潍坊建设网站公司网易邮箱163登录
  • 河源市住房城乡和建设局网站中国平安财产保险公司官网
  • 长沙网站建设大概多少钱wordpress缩略图采集火车头
  • 外贸营销型网站2018甘肃路桥建设集团有限公司网站
  • 医院网站站群建设方案金螳螂装饰公司国内排名
  • 东莞大岭山做网站公司微信公众号 wordpress
  • 沈阳 网站建设建站行业成为买方市场
  • 网站建设维护一年费用有什么网站是可以做动态图的
  • 学院网站建设作用如何制作图片配文字
  • 中企动力网站模板wordpress设置字体
  • 商业网站开发选题的目的红色企业网站
  • 上海做网站设计的公司给网站做cdn
  • 如何做好电商网站asp.net 网站管理系统
  • 东莞网站建设php方案如何把php做的网站做成app
  • 程序员网上接单seo优化代理
  • 网站建设内部因素做网站费用列入什么科目
  • 网站开发最新效果营销系统
  • 遵义住房和城乡建设局官方网站北大荒建设集团有限公司网站
  • 建筑工程网站建设方案vs网站开发 怎么运行
  • 国外建站程序开发公司网站公司
  • 免费开源的企业建站系统室内设计手绘图
  • 一个人可以做网站吗网站后台管理密码忘记
  • 怎样向顾客电销网站建设wordpress百度自动推送
  • 企业网站营销网站河北网站优化
  • qq浏览器网页版进入公司网站中新闻中心怎样做优化