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
JuliaImages uses the array of structure layout to fully use the multiple dispatch mechanism without introducing too many ambiguities. Intrinsically, this array-of-structure layout is slower than structure-of-array layout when we need a contiguous memory per channel.
I was only aware of this issue months ago and still not very familiar with this topic, @timholy would you mind giving a section or page documenting aspects that we need to be aware of wrt this? These differences might be emphasized in the docs because most other image processing libraries use the structure-of-array layout.
The text was updated successfully, but these errors were encountered:
Yes, we should document this. But I am actually gradually working on this area now (the ReinterpretArray work is part of it) and I am planning to provide better support for other layouts.
JuliaImages uses the array of structure layout to fully use the multiple dispatch mechanism without introducing too many ambiguities. Intrinsically, this array-of-structure layout is slower than structure-of-array layout when we need a contiguous memory per channel.
For example, compute the norm of a RGB image:
I was only aware of this issue months ago and still not very familiar with this topic, @timholy would you mind giving a section or page documenting aspects that we need to be aware of wrt this? These differences might be emphasized in the docs because most other image processing libraries use the structure-of-array layout.
The text was updated successfully, but these errors were encountered: