Skip to content

Changed crop-dims to 1800x1200 #13

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

Merged
merged 4 commits into from
Oct 6, 2021
Merged

Changed crop-dims to 1800x1200 #13

merged 4 commits into from
Oct 6, 2021

Conversation

aditnath
Copy link
Contributor

@aditnath aditnath commented Oct 5, 2021

From discussion with assay-dev and microscopy, we are going with 1800x1200 for crop dims for 63x and 20x images.

Pull request recommendations:

  • Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
  • Link to any relevant issue in the PR description. Ex: Resolves [Issue/size param automation #12], adds tiff file format support
  • Provide context of changes.
  • Provide relevant tests for your feature or bug fix.
  • Provide or update documentation for any feature added by your pull request.

Thanks for contributing!

From discussion with assay-dev and microscopy, we are going with 1800x1200 for crop dims for 63x and 20x images.
@aditnath aditnath requested a review from GabeMedrash October 5, 2021 21:43
@benjijamorris benjijamorris self-requested a review October 5, 2021 21:44
Copy link
Contributor

@GabeMedrash GabeMedrash left a comment

Choose a reason for hiding this comment

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

I think it's worth updating the comment to fully explain how these numbers were arrived at

aditnath and others added 2 commits October 5, 2021 14:48
Added comment on why the crop dimensions were chosen
@aditnath aditnath requested a review from GabeMedrash October 5, 2021 23:29
@aditnath aditnath requested a review from GabeMedrash October 6, 2021 17:08
# - Use the line tool to measure the length of the largest regions of black pixels in the resulting image along each axis
# - Multiply those numbers by 2 and subtract from the minimum dimensions
return CroppingDimension(1828, 1224)
# The cropping dimensions for 63x and 20x were agreed upon by the microscopy committee on 9/4/2021:
Copy link
Contributor

Choose a reason for hiding this comment

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

💯 !!

@aditnath aditnath merged commit 6c2cf8b into main Oct 6, 2021
@aditnath aditnath deleted the update/crop-dims branch October 6, 2021 17:20
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.

3 participants