
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Ashlar performs fast, high-quality stitching of microscopy images. It also co-registers multiple rounds of cyclic imaging for methods such as CyCIF and CODEX. Ashlar can read image data directly from BioFormats-supported microscope vendor file formats as well as a directory of plain TIFF files. Output is saved as pyramidal, tiled OME-TIFF.
Note that Ashlar requires unstitched individual "tile" images as input, so it is not suitable for microscopes or slide scanners that only provide pre-stitched images.
Visit https://labsyspharm.github.io/ashlar/ for the most up-to-date information on ASHLAR.
ashlar [-h] [-o PATH] [-c CHANNEL] [--flip-x] [--flip-y] [--flip-mosaic-x] [--flip-mosaic-y] [--output-channels CHANNEL [CHANNEL ...]] [-m SHIFT] [--stitch-alpha ALPHA] [--filter-sigma SIGMA] [--tile-size PIXELS] [--ffp FILE [FILE ...]] [--dfp FILE [FILE ...]] [--plates] [-q] [--version] FILE [FILE ...] Stitch and align multi-tile cyclic microscope images positional arguments: FILE Image file(s) to be processed, one per cycle optional arguments: -h, --help Show this help message and exit -o PATH, --output PATH Output file. If PATH ends in .ome.tif a pyramidal OME- TIFF will be written. If PATH ends in just .tif and includes {cycle} and {channel} placeholders, a series of single-channel plain TIFF files will be written. If PATH starts with a relative or absolute path to another directory, that directory must already exist. (default: ashlar_output.ome.tif) -c CHANNEL, --align-channel CHANNEL Reference channel number for image alignment. Numbering starts at 0. (default: 0) --flip-x Flip tile positions left-to-right --flip-y Flip tile positions top-to-bottom --flip-mosaic-x Flip output image left-to-right --flip-mosaic-y Flip output image top-to-bottom --output-channels CHANNEL [CHANNEL ...] Output only specified channels for each cycle. Numbering starts at 0. (default: all channels) -m SHIFT, --maximum-shift SHIFT Maximum allowed per-tile corrective shift in microns (default: 15) --stitch-alpha ALPHA Significance level for permutation testing during alignment error quantification. Larger values include more tile pairs in the spanning tree at the cost of increased false positives. (default: 0.01) --filter-sigma SIGMA Filter images before alignment using a Gaussian kernel with s.d. of SIGMA pixels (default: no filtering) --tile-size PIXELS Pyramid tile size for OME-TIFF output (default: 1024) --ffp FILE [FILE ...] Perform flat field illumination correction using the given profile image. Specify one common file for all cycles or one file for every cycle. Channel counts must match input files. (default: no flat field correction) --dfp FILE [FILE ...] Perform dark field illumination correction using the given profile image. Specify one common file for all cycles or one file for every cycle. Channel counts must match input files. (default: no dark field correction) --plates Enable plate mode for HTS data -q, --quiet Suppress progress display --version Show program's version number and exit
Ashlar can be installed in most Python environments using pip:
bashpip install ashlar
If you don't already have miniconda or Anaconda, download Anaconda and install. Then, run the following commands from a terminal (Linux/Mac) or Anaconda command prompt (Windows):
Create a named conda environment with python 3.12:
bashconda create -y -n ashlar python=3.12
Activate the conda environment:
bashconda activate ashlar
In the activated environment, install dependencies and ashlar itself:
bashconda install -y -c conda-forge numpy scipy matplotlib networkx scikit-image scikit-learn tifffile zarr pyjnius blessed pip install ashlar
The docker image of ashlar is on DockerHub at https://hub.docker.com/r/labsyspharm/ashlar and should be suitable for many use cases.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务