Skip to content

Add Set Scale and physical unit calibration - #48

Merged
yangfei merged 1 commit into
mainfrom
feature/set-scale-calibration
May 16, 2026
Merged

Add Set Scale and physical unit calibration#48
yangfei merged 1 commit into
mainfrom
feature/set-scale-calibration

Conversation

@yangfei

@yangfei yangfei commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add per-document PixelCalibration storage with pixel defaults.
  • Add Analyze > Set Scale... for pixel width, pixel height, and unit.
  • Use document calibration when measuring ROI/full image area and include Unit in the results table.
  • Add core and app tests for calibrated area measurement.

Verification

  • dotnet build ImageJCsharp.sln
  • dotnet test tests/ImageJCsharp.Core.Tests/ImageJCsharp.Core.Tests.csproj
  • dotnet test tests/ImageJCsharp.App.Tests/ImageJCsharp.App.Tests.csproj

Closes #15

@yangfei
yangfei merged commit 252e3ce into main May 16, 2026
1 check passed
@yangfei
yangfei deleted the feature/set-scale-calibration branch May 16, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Set Scale and physical unit calibration

1 participant