MATLAB Answers

how to use 'createIma​gePatchesF​romHypercu​be' function

23 views (last 30 days)
ibrahim karatas
ibrahim karatas on 28 Jun 2021
Edited: Subhadeep Koley on 1 Jul 2021
İ was trying to use 'createImagePatchesFromHypercube' function but there is an error like this;
'createImagePatchesFromHypercube' is used in Classify Hyperspectral Images Using Deep Learning.
İ reinstall 4 times library but i cant solve.
How i can figure out this.
Thanks for help

Answers (1)

Subhadeep Koley
Subhadeep Koley on 1 Jul 2021
Edited: Subhadeep Koley on 1 Jul 2021
It seems you're trying to execute createImagePatchesFromHypercube outside of the "Classify Hyperspectral Images Using Deep Learning" example. createImagePatchesFromHypercube is a helper function and preferably should not be called outside the specified example.
But, if you want to use it, you can navigate to the folder path, where the function resides. You can directly reach to that path by executing the following command,
openExample('deeplearning_shared/HyperspectralImageClassificationUsingDeepLearningExample')
Hope this helps.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!