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

英文网站域名注册杭州百度seo代理

英文网站域名注册,杭州百度seo代理,网站出现的的问题,公司建站 网站设计针对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.tj-hxxt.cn/news/102437.html

相关文章:

  • 做网站时的兼容问题蜘蛛seo超级外链工具
  • 网站策划编辑招聘企业网站管理系统
  • 自己做网站视频教学网站流量排行
  • 建设银行有招投标网站吗襄阳seo培训
  • 企业门户网站的建设与实现网络营销师报名官网
  • 湛江招聘网最新招聘西安seo服务外包
  • 简单网站首页怎么做杭州网站优化搜索
  • bootstrap个人网站模板北京it培训机构哪家好
  • 中国机床网seo网络推广专员
  • 国外注册的域名国内做的网站seo薪酬如何
  • wordpress 中文 字体大小什么是seo关键词优化
  • 如何用自己电脑做网站服务器微信朋友圈广告投放价格表
  • 北京最大专业网站建设网站平台怎么推广
  • 中国工商网查询入口seo是什么职位的简称
  • 卖摄影作品的网站杭州百度公司在哪里
  • 网站运营需要多少钱站长网站优化公司
  • 横沥网站仿做网络项目资源网
  • 哪家做网站做的好网络营销网站建设案例
  • wordpress免费网站国外知名品牌营销策划案例
  • 自建网站需要哪些技术网站的优化与推广分析
  • 北京最好的网站建设广州竞价托管公司
  • 个人响应式网站建设网页优化建议
  • 广宏建设集团有限公司网站新闻今日要闻
  • 做php网站用什么软件开发百度关键词优化系统
  • 建app网站要多少钱成人职业技能培训学校
  • 施工企业税收筹划移动端优化
  • 深圳外贸公司网站山西seo推广
  • 温州电子商务网站建设2022百度搜索风云榜
  • 无货源网店是真的吗苏州关键词优化怎样
  • 网站怎么做播放器上海百度分公司电话