OSCR

Reconstruction of Axonal Projections of Single Neurons Using PointTree.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 2 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Procedure ↔ BigImgPredict_bak.py, the whole file · a weak match · score 0.59 · imgPath, modelPath, savePath, segmentation
  2. [2] § Procedure ↔ BigImgPredict.py, lines 15–68 · score 0.58 · imgPath, modelPath, savePath

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 78 lines · 3.2 KB · MIT · 1 match

  1. '''大图预测'''
  2. import json
  3. import os
  4. import shutil
  5. os.environ['KMP_DUPLICATE_LIB_OK']='True'
  6. import time, torch
  7. import numpy as np
  8. import tifffile, os
  9. from os.path import join
  10. from ModelPredictPy import ModelPredictClass
  11. if __name__ == '__main__':
  12. imgPath = r"D:\qxz\MyProject\KKMarkCellBody\Code\BrainSegNewQxz\SegmentProblem\DataSet\img"
  13. modelPath = r'./ModelSave/exp006/supernet_00010.pth'
  14. # testTxt = r'test.txt'
  15. savePath = r'D:\qxz\MyProject\KKMarkCellBody\Code\BrainSegNewQxz\SegmentProblem\DataSet\mask'
  16. bigImgSize = np.array([512, 512, 512], dtype=np.int32)
  17. imgSize = np.array([128, 128, 128], dtype=np.int32)
  18. batchSize = 1
  19. fieldLen = 16
  20. device = torch.device('cuda:0')
  21. # cfgPath = join(savePath, 'info.json')
  22. # saveRes = join(savePath, 'result')
  23. # if os.path.isdir(savePath): shutil.rmtree(savePath)
  24. # os.makedirs(savePath)
  25. # if os.path.isdir(saveRes): shutil.rmtree(saveRes)
  26. # os.makedirs(saveRes)
  27. saveRes = savePath
  28. os.makedirs(saveRes, exist_ok=True)
  29. model = ModelPredictClass(modelPath, fieldLen=fieldLen, device=device) # 预测类
  30. # with open(join(rootPath, testTxt), 'r') as f:
  31. # ls = f.read().strip().split('\n')
  32. # imgPath = join(rootPath, 'images')
  33. ls = os.listdir(imgPath)
  34. saveInfo = []
  35. for name in ls:
  36. oriImg = tifffile.imread(join(imgPath, name))
  37. if oriImg.ndim != 3: continue
  38. # oriImg_eq = exposure.equalize_hist(oriImg, nbins=oriImg.max() - oriImg.min())
  39. # newImg = np.zeros_like(oriImg)
  40. maskBigImg = np.zeros(bigImgSize[::-1], dtype=np.uint8)
  41. sliceNumber = bigImgSize // imgSize
  42. count = 0
  43. newName = os.path.splitext(name)[0]
  44. for nz in range(sliceNumber[2]):
  45. for ny in range(sliceNumber[1]):
  46. for nx in range(sliceNumber[0]):
  47. s1 = time.time()
  48. sp = imgSize * [nx, ny, nz]
  49. ep = sp + imgSize
  50. img = oriImg[sp[2]: ep[2], sp[1]: ep[1], sp[0]: ep[0]]
  51. # img_eq = oriImg_eq[sp[2]: ep[2], sp[1]: ep[1], sp[0]: ep[0]]
  52. # img = np.array([img, img_eq], dtype=np.float32)
  53. # newImg[sp[2]: ep[2], sp[1]: ep[1], sp[0]: ep[0]] = img
  54. mask = model(img)
  55. maskBigImg[sp[2]: ep[2], sp[1]: ep[1], sp[0]: ep[0]] = mask
  56. print(count, time.time() - s1)
  57. count += 1
  58. # tifffile.imwrite(join(savePath, '%s_%s_0.tif' % (newName, str(count).zfill(5))), img)
  59. # tifffile.imwrite(join(savePath, '%s_%s_1.tif' % (newName, str(count).zfill(5))), mask)
  60. # print('%s_%s_1.tif' % (newName, str(count).zfill(5)), mask.sum())
  61. # break
  62. # break
  63. # break
  64. # tifffile.imwrite(join(savePath, '%s_0.tif' % newName), oriImg[:bigImgSize[2], :bigImgSize[1], :bigImgSize[0]])
  65. maskBigImg[maskBigImg < 103] = 0
  66. tifffile.imwrite(join(saveRes, '%s.tif' % newName), maskBigImg)
  67. # saveInfo.append([join(saveRes, '%s.tif' % newName), join(imgPath, name), ''])
  68. # with open(cfgPath, 'w') as f:
  69. # f.write(json.dumps(saveInfo))

BigImgPredict_bak.py at commit d85598b, under MIT · at the source

Overview

Authors: Lin Cai1,2, Xuzhong Qu1,2, Junwei Wang1,2, Yuan Shen1,2, Tingwei Quan1,2
  1. Britton Chance Center for Biomedical Photonics, Wuhan National Laboratory for Optoelectronics, Huazhong University of Science and Technology, Wuhan, Hubei, China
  2. MOE Key Laboratory for Biomedical Photonics, Wuhan National Laboratory for Optoelectronics, Huazhong University of Science and Technology, Wuhan, Hubei, China
Journal: Bio-protocol, volume 16, issue 5, article e5616
Dates: received 3 December 2025; accepted 27 January 2026; published online 5 March 2026
Type: Methods article · Language: English
License: CC BY
Identifiers: DOI 10.21769/bioprotoc.5616 · PMID 41847379 · PMCID PMC12989286 · OpenAlex W7128082106
Open access: diamond, a free copy (OpenAlex)
Status: code verified
Methods: Smoothing, state filtering, decompositions
Keywords: Neuron reconstruction, Axonal projections, Points assignments, Dense reconstruction, Brain circuit mapping
Topic: Cell Image Analysis Techniques (Biophysics, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Citations: not cited yet (Europe PMC); 11 references in the paper

Abstract

The morphology of single-neuron axonal projections is critical for deciphering neural circuitry and information flow in the brain. Yet, manually reconstructing these complex, long-range projections from high-throughput whole-brain imaging data remains an exceptionally labor-intensive and time-consuming task. Here, we developed a points assignment-based method for axonal reconstruction, named PointTree. PointTree enables the precise identification of the individual axons from densely packed axonal population using a minimal information flow tree model to suppress the snowball effect of reconstruction errors. In this protocol, we have elaborated on how to configure the required environment for PointTree software, prepare suitable data for it, and run the software. This protocol can assist neuroscience researchers in more easily and rapidly obtaining the reconstruction results of neuronal axons.

Key features

• Optimized for mapping long-range axons that connect distant brain regions in dense or crossover scenarios.

• Enables high-fidelity (F1-score > 80%) reconstruction of hundreds of GB of large-volume imaging data.

• Compatible with LSM, fMOST, and HD-fMOST systems for diverse neuroimaging datasets.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.

FateUBW0227/Seg_Net

License: MIT
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: d85598bbd0e7abe42c6c19c956eac22e78cb4594, 20 January 2026
Languages: Python (24)
Size: 44 files, 24 scripts
Software Heritage: not archived
Found in: the resources table
Holds: README, license file, environment (requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (18 files), PyTorch (16 files), tifffile (8 files), Matplotlib (1 file), OpenCV (1 file), scikit-image (1 file), SciPy (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
26 files

gtreesoftware/gtree

License: MIT
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: d5dc04e9cf74b874be27de1683ef466d8cb7ae57, 13 January 2021
Languages: Python (1)
Size: 42 files, 1 script
Software Heritage: not archived
Found in: the text, “Procedure”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
3 files

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 25 scripts, each with its path and the digest of its content;
  • 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 30 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 5 keywords, 1 funder, 11 references.

Cite

This paper

Cai, L., Qu, X., Wang, J., Shen, Y., & Quan, T. (2026). Reconstruction of Axonal Projections of Single Neurons Using PointTree. Bio-protocol, 16(5), e5616. https://doi.org/10.21769/bioprotoc.5616

BibTeX

@article{cai2026reconstruction,
author = {Cai, Lin and Qu, Xuzhong and Wang, Junwei and Shen, Yuan and Quan, Tingwei},
title = {{Reconstruction of Axonal Projections of Single Neurons Using PointTree}},
journal = {Bio-protocol},
year = {2026},
month = mar,
volume = {16},
number = {5},
pages = {e5616},
publisher = {Bio-protocol, LLC},
issn = {2331-8325},
doi = {10.21769/bioprotoc.5616},
url = {https://doi.org/10.21769/bioprotoc.5616},
pmid = {41847379},
pmcid = {PMC12989286}
}

RIS

TY - JOUR
AU - Cai, Lin
AU - Qu, Xuzhong
AU - Wang, Junwei
AU - Shen, Yuan
AU - Quan, Tingwei
TI - Reconstruction of Axonal Projections of Single Neurons Using PointTree
T2 - Bio-protocol
J2 - Bio Protoc
PY - 2026
DA - 2026/03/05
VL - 16
IS - 5
SP - e5616
SN - 2331-8325
PB - Bio-protocol, LLC
DO - 10.21769/bioprotoc.5616
UR - https://doi.org/10.21769/bioprotoc.5616
LA - en
ER -

CSL-JSON

{
"id": "10.21769/bioprotoc.5616",
"type": "article-journal",
"title": "Reconstruction of Axonal Projections of Single Neurons Using PointTree",
"container-title": "Bio-protocol",
"author": [
{
"family": "Cai",
"given": "Lin"
},
{
"family": "Qu",
"given": "Xuzhong"
},
{
"family": "Wang",
"given": "Junwei"
},
{
"family": "Shen",
"given": "Yuan"
},
{
"family": "Quan",
"given": "Tingwei"
}
],
"container-title-short": "Bio Protoc",
"volume": "16",
"issue": "5",
"page": "e5616",
"DOI": "10.21769/bioprotoc.5616",
"PMID": "41847379",
"PMCID": "PMC12989286",
"ISSN": "2331-8325",
"publisher": "Bio-protocol, LLC",
"URL": "https://doi.org/10.21769/bioprotoc.5616",
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
5
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1186/s40708-026-00298-x [code]
SegAnyNeuron: a neural image segmentation network with strong generalization performance by modeling image intensity variation.
Journal: Brain informatics
In common: tifffile, PyTorch, SciPy, 2 other tools, 5 references
[2] doi:10.1364/boe.605322 [code]
Generalized plaque digitization framework for multi-dimensional mesoscopic images.
Journal: Biomedical optics express
In common: tifffile, OpenCV, scikit-image, 4 other tools, 1 reference
[3] doi:10.1016/j.crmeth.2026.101476 [code]
Unsupervised deep learning enables blur-free resolution enhancement in two-photon microscopy.
Journal: Cell reports methods
In common: tifffile, OpenCV, scikit-image, 4 other tools, 1 reference
[4] doi:10.1038/s41467-026-73476-4 [code]
Developmental molecular signatures define de novo cortico-brainstem circuit for skilled forelimb movement.
Journal: Nature communications
In common: tifffile, OpenCV, scikit-image, 3 other tools, 1 reference
[5] doi:10.1038/s41467-026-76956-9 [code]
Innervated human cardiac muscle model reveals sympathetic drivers of KCNH2-associated arrhythmias.
Journal: Nature communications
In common: tifffile, OpenCV, scikit-image, 4 other tools
[6] doi:10.21037/qims-2026-0792 [code]
An nnU-Net-based framework with adaptive feature representation for 3D brain tumor segmentation.
Journal: Quantitative imaging in medicine and surgery
In common: tifffile, OpenCV, scikit-image, 4 other tools
[7] doi:10.1016/j.isci.2026.117010 [code]
Deep learning-assisted mapping of dendritic spines using sequential 2D two-photon calcium imaging.
Journal: iScience
In common: tifffile, OpenCV, scikit-image, 4 other tools
[8] doi:10.1371/journal.pcbi.1014571 [code]
SynAPSeg: A novel dataset and image analysis framework for deep learning-based synapse detection and quantification.
Journal: PLoS computational biology
In common: tifffile, OpenCV, scikit-image, 4 other tools
[9] doi:10.1371/journal.pcbi.1013441 [code]
Large vision model framework for automated C. elegans analysis: From static morphometry to dynamic neural activity.
Journal: PLoS computational biology
In common: tifffile, OpenCV, scikit-image, 4 other tools
[10] doi:10.3389/fnins.2026.1870124 [code]
An end-to-end pipeline for automated fetal brain segmentation and biometry from 3D SSFP MRI.
Journal: Frontiers in neuroscience
In common: tifffile, OpenCV, scikit-image, 4 other tools

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.