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

Constructors for ImageRegion #71

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

CPBridge
Copy link
Collaborator

@hackermd

This is my working branch for implementing more user-friendly constructors for ImageRegion. For now just ImageRegion and not ImageRegion3D is implemented. This PR is just an example - as discussed we may instead choose a different path such as implementing as sub-classes. However the logic in this branch should be re-usable, it may just end up being refactored

@CPBridge CPBridge requested a review from hackermd May 11, 2021 14:28
Copy link
Collaborator

@hackermd hackermd left a comment

Choose a reason for hiding this comment

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

Nice! Just a minor comment regarding terminology.

Comment on lines +653 to +654
xc: float,
yc: float,
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should avoid x and y here and use row and col instead, because the axis of the coordinate system (pixel matrix) are Rows and Columns.

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.

2 participants