- Create some sample images with increasing size - say 100x100 upto 5000x5000 in steps of 100, and measure the execution time using timeit.
- Fit a curve and manually guesstimate the complexity.
Time complexity of built in functions in matlab ( imdilate, imerode, histeq, adapthisteq) which I can use in my program
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ASHOK KUMAR.T
am 13 Aug. 2013
Beantwortet: putchala bhuvanendra
am 8 Dez. 2020
Time complexity of built in functions in matlab ( imdilate, imerode, histeq, adapthisteq) which I can use in my program and whose time complexity is not known Please provide answer for a linear structuring element say a DISC and when image size is mXn. The images are binary images
0 Kommentare
Akzeptierte Antwort
Ashish Uthama
am 13 Aug. 2013
These function might have multiple internal code paths for different sizes/datatypes/syntax. These paths might have different implementations with different time complexity numbers.
Your best bet would be to:
0 Kommentare
Weitere Antworten (1)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!