Skip to content

Commit 9958903

Browse files
authored
Merge pull request #16 from maple60/chore/rename-app
Chore/rename app
2 parents 6daf414 + 52d0e9d commit 9958903

41 files changed

Lines changed: 2141 additions & 1296 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release-standalone.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
include:
2020
- name: windows-x64
2121
os: windows-latest
22-
archive_name: LeafShapeTool-windows-x64.zip
22+
archive_name: LeafContourEFD-windows-x64.zip
2323
- name: macos-arm64
2424
os: macos-15
25-
archive_name: LeafShapeTool-macos-arm64.tar.gz
25+
archive_name: LeafContourEFD-macos-arm64.tar.gz
2626
- name: macos-x64
2727
os: macos-15-intel
28-
archive_name: LeafShapeTool-macos-x64.tar.gz
28+
archive_name: LeafContourEFD-macos-x64.tar.gz
2929
- name: ubuntu-x64
3030
os: ubuntu-latest
31-
archive_name: LeafShapeTool-ubuntu-x64.tar.gz
31+
archive_name: LeafContourEFD-ubuntu-x64.tar.gz
3232

3333
steps:
3434
- name: Checkout
@@ -58,17 +58,17 @@ jobs:
5858
if: startsWith(matrix.os, 'windows')
5959
shell: pwsh
6060
run: |
61-
Compress-Archive -Path dist/LeafShapeTool/* -DestinationPath ${{ matrix.archive_name }}
61+
Compress-Archive -Path dist/LeafContourEFD/* -DestinationPath ${{ matrix.archive_name }}
6262
6363
- name: Archive build output (macOS/Linux)
6464
if: ${{ !startsWith(matrix.os, 'windows') }}
6565
run: |
66-
tar -C dist -czf "${{ matrix.archive_name }}" LeafShapeTool
66+
tar -C dist -czf "${{ matrix.archive_name }}" LeafContourEFD
6767
6868
- name: Upload build artifact
6969
uses: actions/upload-artifact@v4
7070
with:
71-
name: LeafShapeTool-${{ matrix.name }}
71+
name: LeafContourEFD-${{ matrix.name }}
7272
path: ${{ matrix.archive_name }}
7373

7474
release:
@@ -92,7 +92,7 @@ jobs:
9292
mkdir -p release-assets
9393
9494
shopt -s globstar nullglob
95-
for file in artifacts/**/LeafShapeTool-*.zip artifacts/**/LeafShapeTool-*.tar.gz; do
95+
for file in artifacts/**/LeafContourEFD-*.zip artifacts/**/LeafContourEFD-*.tar.gz; do
9696
[ -f "$file" ] || continue
9797
base="$(basename "$file")"
9898
size_bytes="$(stat -c%s "$file")"
@@ -124,7 +124,7 @@ jobs:
124124
} > "$notes_file"
125125
126126
shopt -s nullglob
127-
for asset in release-assets/LeafShapeTool-*.zip release-assets/LeafShapeTool-*.tar.gz; do
127+
for asset in release-assets/LeafContourEFD-*.zip release-assets/LeafContourEFD-*.tar.gz; do
128128
[ -f "$asset" ] || continue
129129
base="$(basename "$asset")"
130130
@@ -134,10 +134,10 @@ jobs:
134134
135135
if [[ "$asset" == *.zip ]]; then
136136
unzip -q "$asset" -d "$workdir"
137-
exe_path="$(find "$workdir" -type f -name 'LeafShapeTool.exe' | head -n 1 || true)"
137+
exe_path="$(find "$workdir" -type f -name 'LeafContourEFD.exe' | head -n 1 || true)"
138138
else
139139
tar -xzf "$asset" -C "$workdir"
140-
exe_path="$(find "$workdir" -type f -name 'LeafShapeTool' | head -n 1 || true)"
140+
exe_path="$(find "$workdir" -type f -name 'LeafContourEFD' | head -n 1 || true)"
141141
fi
142142
143143
if [ -n "$exe_path" ] && [ -f "$exe_path" ]; then

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Leaf Shape Analysis Tool
1+
# LeafContourEFD
22

33
[**日本語のREADMEはこちら (Japanese README is here)**](README_ja.md)
44

5-
**Full documentation:** [https://maple60.github.io/morphometrics-tool/](https://maple60.github.io/morphometrics-tool/)
5+
**Full documentation:** [https://maple60.github.io/leaf-contour-efd/](https://maple60.github.io/leaf-contour-efd/)
66

77
A **[**napari**](https://napari.org/stable/)-based graphical user interface (GUI)** for fully reproducible extraction, orientation, and morphometric analysis of leaf outlines.
88
This tool allows researchers to perform every processing step interactively — from setting image scale to exporting normalized Elliptic Fourier Descriptors (EFDs) — all within a single, unified environment.
@@ -29,7 +29,7 @@ This tool allows researchers to perform every processing step interactively —
2929

3030
## Installation
3131

32-
There are three ways to install and run the Leaf Shape Analysis Tool.
32+
There are three ways to install and run the LeafContourEFD.
3333
Choose the method that best fits your environment.
3434

3535
| Method | Description | Recommended for |
@@ -40,12 +40,12 @@ Choose the method that best fits your environment.
4040

4141
### 1. Standalone App (Recommended)
4242

43-
Download the latest release from the [Releases page](https://github.com/maple60/morphometrics-tool/releases)
43+
Download the latest release from the [Releases page](https://github.com/maple60/leaf-contour-efd/releases)
4444
No Python installation is required.
4545

46-
- On **Windows**: run `LeafShapeTool.exe`
46+
- On **Windows**: run `LeafContourEFD.exe`
4747
- On **macOS**: run the app bundle or binary from the downloaded archive
48-
- On **Linux**: extract the release archive and run `LeafShapeTool` from the `LeafShapeTool/` folder
48+
- On **Linux**: extract the release archive and run `LeafContourEFD` from the `LeafContourEFD/` folder
4949

5050
::: {.callout-warning}
5151
## If the app does not open on macOS
@@ -55,10 +55,10 @@ On macOS, a warning dialog may appear the first time you launch the app, and the
5555
If this happens, run the following command in Terminal:
5656

5757
```bash
58-
/usr/bin/xattr -dr com.apple.quarantine ~/path/to/LeafShapeTool
58+
/usr/bin/xattr -dr com.apple.quarantine ~/path/to/LeafContourEFD
5959
```
6060

61-
Replace `~/path/to/LeafShapeTool` with the path to the downloaded app.
61+
Replace `~/path/to/LeafContourEFD` with the path to the downloaded app.
6262

6363
After running the command, try launching the app again.
6464
:::
@@ -68,8 +68,8 @@ After running the command, try launching the app again.
6868
Clone the repository and launch the tool using the provided script.
6969

7070
```bash
71-
git clone https://github.com/maple60/morphometrics-tool.git
72-
cd morphometrics-tool
71+
git clone https://github.com/maple60/leaf-contour-efd.git
72+
cd leaf-contour-efd
7373
```
7474
- Windows
7575

@@ -113,11 +113,11 @@ For details about each model, refer to the following page:
113113
After installation, launch the tool with:
114114

115115
```bash
116-
leaf-shape-tool
116+
leaf-contour-efd
117117
```
118118

119119
> [!NOTE]
120-
> For full setup instructions (including uv, git, and checkpoint downloads), see the [Installation Guide](https://maple60.github.io/morphometrics-tool/installation.html).
120+
> For full setup instructions (including uv, git, and checkpoint downloads), see the [Installation Guide](https://maple60.github.io/leaf-contour-efd/installation.html).
121121
122122
## Workflow & Usage
123123

@@ -150,7 +150,7 @@ flowchart LR
150150
Each processing step corresponds to a dedicated GUI widget,
151151
and all results (images, contours, metadata, EFDs) are automatically exported to the `output/` directory.
152152

153-
For a detailed step-by-step guide, please refer to the [Usage page](https://maple60.github.io/morphometrics-tool/usage.html).
153+
For a detailed step-by-step guide, please refer to the [Usage page](https://maple60.github.io/leaf-contour-efd/usage.html).
154154

155155
## Citation
156156

@@ -170,14 +170,14 @@ The design and implementation of this tool were inspired by the methodology and
170170

171171
We also acknowledge the contributions of many other open-source tools and studies
172172
that have advanced automated leaf image analysis.
173-
A summary of related software can be found on the [Related Tools page](https://maple60.github.io/morphometrics-tool/related_tools.html).
173+
A summary of related software can be found on the [Related Tools page](https://maple60.github.io/leaf-contour-efd/related_tools.html).
174174

175175
We express our sincere gratitude to the open-source community and all contributors
176176
whose work made this tool possible.
177177

178178
## License
179179

180-
Distributed under the BSD 3-Clause License. See [LICENSE](https://github.com/maple60/morphometrics-tool/blob/main/LICENSE) for more information.
180+
Distributed under the BSD 3-Clause License. See [LICENSE](https://github.com/maple60/leaf-contour-efd/blob/main/LICENSE) for more information.
181181

182182
## AI Assistant
183183

README_ja.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Leaf Shape Analysis Tool
1+
# LeafContourEFD
22

3-
[English README is here (README.md)](https://github.com/maple60/morphometrics-tool/tree/main)
3+
[English README is here (README.md)](https://github.com/maple60/leaf-contour-efd/tree/main)
44

5-
**ドキュメントサイト:** [https://maple60.github.io/morphometrics-tool/](https://maple60.github.io/morphometrics-tool/)
5+
**ドキュメントサイト:** [https://maple60.github.io/leaf-contour-efd/](https://maple60.github.io/leaf-contour-efd/)
66

77
[**napari**](https://napari.org/stable/) を基盤としたグラフィカルユーザーインターフェース(GUI)で、葉の輪郭抽出・方向補正・楕円フーリエ記述子(elliptic Fourier descriptor) の算出を再現可能な形で実行できます。
88

@@ -40,12 +40,12 @@
4040

4141
### 1. スタンドアロンアプリ(推奨)
4242

43-
最新のリリースは [Releasesページ](https://github.com/maple60/morphometrics-tool/releases) からダウンロードいただけます。
43+
最新のリリースは [Releasesページ](https://github.com/maple60/leaf-contour-efd/releases) からダウンロードいただけます。
4444
Python のインストールは不要です。
4545

46-
- **Windows**`LeafShapeTool.exe` を実行
46+
- **Windows**`LeafContourEFD.exe` を実行
4747
- **macOS**:ダウンロードしたアーカイブ内のアプリバンドルまたは実行ファイルを起動
48-
- **Linux**: リリースアーカイブを展開し、`LeafShapeTool/` フォルダ内の `LeafShapeTool` を起動
48+
- **Linux**: リリースアーカイブを展開し、`LeafContourEFD/` フォルダ内の `LeafContourEFD` を起動
4949

5050
::: {.callout-warning}
5151
## macOSでアプリが開けない場合
@@ -54,10 +54,10 @@ macOSでは、アプリの初回起動時に警告ダイアログが表示され
5454
その場合は、ターミナルで以下のコマンドを実行してください。
5555

5656
```bash
57-
/usr/bin/xattr -dr com.apple.quarantine ~/path/to/LeafShapeTool
57+
/usr/bin/xattr -dr com.apple.quarantine ~/path/to/LeafContourEFD
5858
```
5959

60-
`~/path/to/LeafShapeTool`は、ダウンロードしたアプリのパスに置き換えてください。
60+
`~/path/to/LeafContourEFD`は、ダウンロードしたアプリのパスに置き換えてください。
6161
コマンド実行後、再度アプリを起動してください。
6262
:::
6363

@@ -66,8 +66,8 @@ macOSでは、アプリの初回起動時に警告ダイアログが表示され
6666
リポジトリをクローンし、提供されているスクリプトでツールを起動します。
6767

6868
```bash
69-
git clone https://github.com/maple60/morphometrics-tool.git
70-
cd morphometrics-tool
69+
git clone https://github.com/maple60/leaf-contour-efd.git
70+
cd leaf-contour-efd
7171
```
7272

7373
- Windows
@@ -111,11 +111,11 @@ SAM2 を利用する場合は、チェックポイントを sam2/checkpoints/
111111
インストールが完了したら、以下の方法で起動します:
112112

113113
```bash
114-
leaf-shape-tool
114+
leaf-contour-efd
115115
```
116116

117117
> [!NOTE]
118-
> `uv``git`・チェックポイントのダウンロードなど、より詳細な手順は [Installation ページ](https://maple60.github.io/morphometrics-tool/installation.html) を参照してください。
118+
> `uv``git`・チェックポイントのダウンロードなど、より詳細な手順は [Installation ページ](https://maple60.github.io/leaf-contour-efd/installation.html) を参照してください。
119119
120120
### ワークフローと使い方
121121

@@ -148,7 +148,7 @@ flowchart LR
148148
各処理ステップは専用のGUIウィジェットに対応しており、
149149
解析結果(画像・輪郭・メタデータ・EFD)は自動的に `output/` ディレクトリに保存されます。
150150

151-
詳しい操作手順については、[Usage ページ](https://maple60.github.io/morphometrics-tool/usage.html) を参照してください。
151+
詳しい操作手順については、[Usage ページ](https://maple60.github.io/leaf-contour-efd/usage.html) を参照してください。
152152

153153
## 引用情報(Citation)
154154

@@ -169,12 +169,12 @@ flowchart LR
169169
さらに、本研究を支える数多くのオープンソースプロジェクトの開発者・貢献者の皆様に深く感謝申し上げます。
170170

171171
また、葉画像解析の自動化分野を発展させてきた多くのオープンソースツールや研究に感謝いたします。
172-
関連するソフトウェアの概要は、[Related Tools ページ](https://maple60.github.io/morphometrics-tool/related_tools.html) にまとめています。
172+
関連するソフトウェアの概要は、[Related Tools ページ](https://maple60.github.io/leaf-contour-efd/related_tools.html) にまとめています。
173173

174174
## ライセンス
175175

176176
本ソフトウェアは **BSD 3-Clause License** の下で配布されています。
177-
詳細は [LICENSE](https://github.com/maple60/morphometrics-tool/blob/main/LICENSE) をご覧ください。
177+
詳細は [LICENSE](https://github.com/maple60/leaf-contour-efd/blob/main/LICENSE) をご覧ください。
178178

179179
## AI利用について
180180

build.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ exe = EXE(
129129
a.scripts,
130130
[],
131131
exclude_binaries=True,
132-
name="LeafShapeTool",
132+
name="LeafContourEFD",
133133
debug=False,
134134
bootloader_ignore_signals=False,
135135
strip=False,
@@ -144,5 +144,5 @@ coll = COLLECT(
144144
a.datas,
145145
strip=False,
146146
upx=True,
147-
name="LeafShapeTool",
147+
name="LeafContourEFD",
148148
)

docs/404.html

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
33

44
<meta charset="utf-8">
5-
<meta name="generator" content="quarto-1.7.32">
5+
<meta name="generator" content="quarto-1.9.36">
66

77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

99

10-
<title>Page Not Found – Leaf Shape Analysis Tool</title>
10+
<title>Page Not Found – LeafContourEFD</title>
1111
<style>
12+
/* Default styles provided by pandoc.
13+
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
14+
*/
1215
code{white-space: pre-wrap;}
1316
span.smallcaps{font-variant: small-caps;}
1417
div.columns{display: flex; gap: min(4vw, 1.5em);}
@@ -36,10 +39,10 @@
3639
<script src="/site_libs/quarto-html/tippy.umd.min.js"></script>
3740
<script src="/site_libs/quarto-html/anchor.min.js"></script>
3841
<link href="/site_libs/quarto-html/tippy.css" rel="stylesheet">
39-
<link href="/site_libs/quarto-html/quarto-syntax-highlighting-37eea08aefeeee20ff55810ff984fec1.css" rel="stylesheet" id="quarto-text-highlighting-styles">
42+
<link href="/site_libs/quarto-html/quarto-syntax-highlighting-845c23b38eaddc0f92fda52bfe77a8c8.css" rel="stylesheet" id="quarto-text-highlighting-styles">
4043
<script src="/site_libs/bootstrap/bootstrap.min.js"></script>
4144
<link href="/site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
42-
<link href="/site_libs/bootstrap/bootstrap-264a0fc3a96c72ca7334393e02078ef0.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
45+
<link href="/site_libs/bootstrap/bootstrap-d0eb33a73c8de335a1b0e6ed1df1adc0.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
4346
<script id="quarto-search-options" type="application/json">{
4447
"location": "sidebar",
4548
"copy-button": false,
@@ -79,7 +82,7 @@
7982
<div class="navbar-container container-fluid">
8083
<div class="navbar-brand-container mx-auto">
8184
<a class="navbar-brand" href="/index.html">
82-
<span class="navbar-title">Leaf Shape Analysis Tool</span>
85+
<span class="navbar-title">LeafContourEFD</span>
8386
</a>
8487
</div>
8588
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
@@ -102,7 +105,7 @@
102105
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" role="link" aria-label=""><i class="bi bi-github"></i></a>
103106
<ul class="dropdown-menu" aria-labelledby="quarto-navigation-tool-dropdown-0">
104107
<li>
105-
<a class="dropdown-item quarto-navbar-tools-item" href="https://github.com/maple60/morphometrics-tool">
108+
<a class="dropdown-item quarto-navbar-tools-item" href="https://github.com/maple60/leaf-contour-efd">
106109
Source Code
107110
</a>
108111
</li>
@@ -269,13 +272,14 @@ <h1 class="title">Page Not Found</h1>
269272
e.clearSelection();
270273
}
271274
const getTextToCopy = function(trigger) {
272-
const codeEl = trigger.previousElementSibling.cloneNode(true);
273-
for (const childEl of codeEl.children) {
274-
if (isCodeAnnotation(childEl)) {
275-
childEl.remove();
276-
}
275+
const outerScaffold = trigger.parentElement.cloneNode(true);
276+
const codeEl = outerScaffold.querySelector('code');
277+
for (const childEl of codeEl.children) {
278+
if (isCodeAnnotation(childEl)) {
279+
childEl.remove();
277280
}
278-
return codeEl.innerText;
281+
}
282+
return codeEl.innerText;
279283
}
280284
const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', {
281285
text: getTextToCopy
@@ -628,11 +632,11 @@ <h1 class="title">Page Not Found</h1>
628632
<footer class="footer">
629633
<div class="nav-footer">
630634
<div class="nav-footer-left">
631-
<p>© 2025 Leaf Shape Analysis Tool</p>
635+
<p>© 2025 LeafContourEFD</p>
632636
</div>
633637
<div class="nav-footer-center">
634638
&nbsp;
635-
<div class="toc-actions"><ul><li><a href="https://github.com/maple60/morphometrics-tool/edit/main/website/404.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/maple60/morphometrics-tool/blob/main/website/404.qmd" class="toc-action"><i class="bi empty"></i>View source</a></li><li><a href="https://github.com/maple60/morphometrics-tool/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></div>
639+
<div class="toc-actions"><ul><li><a href="https://github.com/maple60/leaf-contour-efd/edit/main/website/404.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/maple60/leaf-contour-efd/blob/main/website/404.qmd" class="toc-action"><i class="bi empty"></i>View source</a></li><li><a href="https://github.com/maple60/leaf-contour-efd/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></div>
636640
<div class="nav-footer-right">
637641
<p>Built with Quarto</p>
638642
</div>

0 commit comments

Comments
 (0)