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
The image processing threshold methods are defined as traits for the ArrayBase and Image types that use the Otsu and Mean algorithms for calculating a threshold value and immediately applying the threshold. It could be useful to break out the one defined method into an "apply" and "calculate" methods, so that the threshold value could be calculated and obtained without immediately applying it to the image or array.
The threshold_apply_otsu would be the same as the current threshold_otsu method, but the threshold_calculate_otsu method would simply return the threshold value, which could be used to do additional image processing or explicitly applied to an image using the new-ish threshold_apply method from PR #56.
The text was updated successfully, but these errors were encountered:
The image processing threshold methods are defined as traits for the
ArrayBase
andImage
types that use the Otsu and Mean algorithms for calculating a threshold value and immediately applying the threshold. It could be useful to break out the one defined method into an "apply" and "calculate" methods, so that the threshold value could be calculated and obtained without immediately applying it to the image or array.For example, the
fn threshold_otsu
would become:The
threshold_apply_otsu
would be the same as the currentthreshold_otsu
method, but thethreshold_calculate_otsu
method would simply return the threshold value, which could be used to do additional image processing or explicitly applied to an image using the new-ishthreshold_apply
method from PR #56.The text was updated successfully, but these errors were encountered: