[bug #67989] (Image) Octave image ordfilt2 is slower than matlab
Liang Tang <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
Follow-up Comment #5, bug #67989 (group octave):
Octave image ordfilt2 time is not greatly affected by the min/mean/max
selection. They are all around 7.5 to 8.5. "25" is higher.
>> tic;ordfilt2(Img(:,:,1), 1, true(7,7));;toc
Elapsed time is 7.58806 seconds.
>> tic;ordfilt2(Img(:,:,1), 25, true(7,7));;toc
Elapsed time is 8.4012 seconds.
>> tic;ordfilt2(Img(:,:,1), 49, true(7,7));;toc
Elapsed time is 7.76185 seconds.
ML's number is still around 0.1-0.2 sec. In general, for reference purpose,
the numbers in my original post are still valid. ML is 20x plus faster
regardless uint8 or double.
Not sure if this helps.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67989>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaYsgnwAKCRCqLAuaBUf3 ThPEAP0Vl+puU9L9Fx8NS7K854RF2DP5ToyXdlHzbjyjyQkHMgEAnwnBR6V0PGEY jXF9bqjpi3zt/Mfb0mYelIU3Pq4Jsww= =XGIq -----END PGP SIGNATURE-----