【发布时间】:2021-03-12 22:38:26
【问题描述】:
# Create an ImageJ gateway with the newest available version of ImageJ.
import imagej
import pathlib
import numpy
ij = imagej.init()
# Load an image.
img_path = pathlib.Path('C:/Users/Bernardo/TCC/thyroid/1_1.jpg')
image = ij.io().open(str(img_path))
ij.py.show(image, cmap='gray')
读完这张图片后,我想使用 pyimagej 绘制直方图。
【问题讨论】:
-
关于 pyimagej 的问题最好在主要支持频道forum.image.sc
标签: python histogram imagej pyimagej