Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Implement Feret/Caliper distance metrics in Find Feature Sizes. #948

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

imikejackson
Copy link
Contributor

src/simplnx/DataStructure/Geometry/RectGridGeom.cpp Outdated Show resolved Hide resolved
{
for(uint32 x = 0; x < xDim; x++)
{
index = (imageDims[1] * imageDims[0] * z) + (imageDims[0] * y) + x; // Index into featureIds array
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is only used inside the loop so the declaration can just become this line.

src/simplnx/DataStructure/Geometry/RectGridGeom.cpp Outdated Show resolved Hide resolved
src/simplnx/DataStructure/Geometry/RectGridGeom.cpp Outdated Show resolved Hide resolved
@imikejackson imikejackson marked this pull request as draft May 3, 2024 16:11
imikejackson and others added 4 commits May 17, 2024 17:35
- BlueQuartzSoftware#944

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
Co-authored-by: Jared Duffey <jared.duffey@bluequartz.net>
Co-authored-by: Jared Duffey <jared.duffey@bluequartz.net>
Co-authored-by: Jared Duffey <jared.duffey@bluequartz.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Feature Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Ability to determine maximum and minimum feret diameter of features.
2 participants