error in Shearlet Transform Matlab
2 次查看(过去 30 天)
显示 更早的评论
When I test this code:
error : sls = shearletSystem('ImageSize',[numRows numCols],'FilterBoundary','truncated');
Undefined function or variable 'shearletSystem'.
[numRows,numCols] = size(circleGS);
sls = shearletSystem('ImageSize',[numRows numCols],'FilterBoundary','truncated');
[psi,scale,shear,cone] = filterbank(sls);
回答(1 个)
Yusuf Suer Erdem
2021-11-13
load mask
[numRows,numCols] = size(circleGS);
sls = shearletSystem('ImageSize',[numRows numCols],'FilterBoundary','truncated');
[psi,scale,shear,cone] = filterbank(sls);
Try this way by adding 'load mask' command above. If something goes check your circleGS matrix. It should work.
22 个评论
linou landini
2021-11-13
编辑:linou landini
2021-11-13
@Yusuf Suer Erdem it does not work using circleGS , using it's exemple it's the same error https://www.mathworks.com/help/wavelet/ref/shearletsystem.filterbank.html?s_tid=doc_ta#d123e35325
linou landini
2021-11-13
@Yusuf Suer Erdem i didn't have the matrix
>> [numRows,numCols] = size(circleGS);
Undefined function or variable 'circleGS'.
linou landini
2021-11-13
error : Out of memory. The likely cause is an infinite recursion within the program.
Error in resample1 (line 6)
y = resample1(x, type, shift, extmod);
Yusuf Suer Erdem
2021-11-14
load mask
load circleGS
[numRows,numCols] = size(circleGS);
sls = shearletSystem('ImageSize',[numRows numCols],'FilterBoundary','truncated');
[psi,scale,shear,cone] = filterbank(sls);
When I write 'load circleGS' command, it worked for me. Try this way please.
Walter Roberson
2021-11-14
As we discussed in a different one of your Questions, you are not going to be able to solve the resample1() infinite loop on your own. You need someone to rewrite the installation process for you, as the documented installation process is only valid up to Windows Vista.
I do not have a Windows development system so I cannot put together the instructions for you.
linou landini
2021-11-14
@Walter Roberson so shearlab doesn't work in windows professional with this installation process?
Walter Roberson
2021-11-15
That installation process would work with Windows XP Professional.
There was no "Professional" edition of Windows Vista.
The installation process would not work with any edition of Windows 7, Windows 8, Windows 10, or Windows 11.
Walter Roberson
2021-11-15
At the moment I do not know if it could be run in Windows 10, but the installation procedure is wrong for Windows 10.
Walter Roberson
2021-11-15
I suspect Shearlab could be run on Windows 10 if it were properly installed. However, the available installation instructions are only valid up to Windows Vista.
Walter Roberson
2021-11-15
编辑:Walter Roberson
2021-11-15
As I posted earlier, "I do not have a Windows development system so I cannot put together the instructions for you."
I am not sure if I even have any Windows PCs. The one PC I own has been sitting the basement for rather a long time. It might literally be older than you are. I have no idea whether it still boots.
Walter Roberson
2021-11-17
I do not have the tools needed to solve this problem for you, and it would cost me a lot of money to buy the tools.
Walter Roberson
2021-11-20
In R2016a, the supported compilers included:
- SDK 7.1 -- which takea a lot of work to use with Windows 10
- several Microsoft professional editions, with no supported Community or Express editions
- MinGW 4.9.2. Installing this for R2016a requires implementing changes from a bug report https://www.mathworks.com/support/bugreports/1741173 and then installing https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler (at the moment I do not recall whether Add-On Explorer back in R2016a was able to install MinGW; my memory is telling me that in R2016a a number of people were having difficulty installing MinGW that required changing some of the system environment variables.)
R2016a was supported on WIndows 10, though (R2015a was the first MATLAB with Windows 10 support)
Walter Roberson
2021-11-20
No. As I have said repeatedly, the installation method for the software will only work for Windows Vista and some earlier versions of Windows.
Walter Roberson
2021-11-20
I just checked a technical reference, and it appears that I might have been mistaken. According to what I am looking at now, you would need Windows XP, not the later Windows Vista.
Windows 7 is out of the question, not possible for that installation process.
另请参阅
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)