You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think colorview(A, C) would facilitate piping if there is a set default parameter.
E.g. let's say C has a sensible default type based on size(channelview(A),1), we could then do:
As I understand the pipe operator in base Julia needs single argument functions, and all views will always need an image, but parameters (if any) may be optional. So it makes sense to make A the first argument for all views. Is there a reason for the apparent convention: viewfunction(parameter, image, other_parameters)?
The text was updated successfully, but these errors were encountered:
I'm a bit reluctant to have "sensible defaults" based on array sizes. If someone snips out a 3x3x3 block of a 3d grayscale image and then passes it through a pipeline that includes colorview, it will behave radically differently than snipping out a 4x4x4 block.
I think
colorview(A, C)
would facilitate piping if there is a set default parameter.E.g. let's say C has a sensible default type based on
size(channelview(A),1)
, we could then do:As I understand the pipe operator in base Julia needs single argument functions, and all views will always need an image, but parameters (if any) may be optional. So it makes sense to make
A
the first argument for all views. Is there a reason for the apparent convention:viewfunction(parameter, image, other_parameters)
?The text was updated successfully, but these errors were encountered: