フィルターのクリア

Images are stored as per the dictionary

2 ビュー (過去 30 日間)
SHAHMUSTAFA MUJAWAR
SHAHMUSTAFA MUJAWAR 2017 年 5 月 8 日
編集済み: Stephen23 2021 年 4 月 26 日
i have images having their names as 1,2,3,4,5,6..,10,..20..30....40. When i am storing it in some variable and its showing like this 1, 10,11,12...19,2,20,21....29,3,30...39,4,40,5,6,7,8,9.. Please i am new to matlab need it in this format 1,2,3,4,5..10,11,12,13...20,21,22,....30,31,32....40. Thank You

回答 (1 件)

Stephen23
Stephen23 2017 年 5 月 8 日
編集済み: Stephen23 2021 年 4 月 26 日
Download my FEX submission natsortfiles, which will sort those filenames into alphanumeric order:
There are plenty of examples in the Mfile help and also in the HTML documentation of that submission, so I am sure that you will figure out how to use it in your code. If you have any specific questions, please ask.
  2 件のコメント
SHAHMUSTAFA MUJAWAR
SHAHMUSTAFA MUJAWAR 2017 年 5 月 8 日
i am using 2016a version it shows natsortfiles not found.
Stephen23
Stephen23 2017 年 5 月 8 日
編集済み: Stephen23 2017 年 5 月 9 日
@SHAHMUSTAFA MUJAWAR:
Did you download my FEX submission, as my answer clearly requires you to do? You then need to unzip the zip file, and put the files on the MATLAB path (e.g. in the current directory).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by