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

document the difference between float32 and Float32, etc. #139

Open
johnnychen94 opened this issue Jun 30, 2020 · 0 comments · May be fixed by #146
Open

document the difference between float32 and Float32, etc. #139

johnnychen94 opened this issue Jun 30, 2020 · 0 comments · May be fixed by #146
Labels
best practice workflows and best practice that are useful in JuliaImages and/or Julia

Comments

@johnnychen94
Copy link
Member

We need to advertise the usage of lower-cased form as it's simpler and more generic:

float32.(img) # promoting the storage type while preserving its colorant

Gray{Float32}.(img) # this could accidentally convert an RGB image to Gray image

Ref: JuliaImages/ImageQualityIndexes.jl#20

@mgautam98 mgautam98 linked a pull request Jul 1, 2020 that will close this issue
@johnnychen94 johnnychen94 added the best practice workflows and best practice that are useful in JuliaImages and/or Julia label Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
best practice workflows and best practice that are useful in JuliaImages and/or Julia
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant