You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
error in Shearlet Transform Matlab
2 views (last 30 days)
Show older comments
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);
Answers (1)
Yusuf Suer Erdem
on 13 Nov 2021
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 Comments
linou landini
on 13 Nov 2021
Edited: linou landini
on 13 Nov 2021
@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
Yusuf Suer Erdem
on 13 Nov 2021
Do you mind sharing or sending me the circleGS matrix?
linou landini
on 13 Nov 2021
@Yusuf Suer Erdem i didn't have the matrix
>> [numRows,numCols] = size(circleGS);
Undefined function or variable 'circleGS'.
linou landini
on 13 Nov 2021
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
on 14 Nov 2021
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.
Yusuf Suer Erdem
on 14 Nov 2021
I could not succeed this one.
Walter Roberson
on 14 Nov 2021
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.
Yusuf Suer Erdem
on 14 Nov 2021
I do not have enough capacity to help more. Good luck
linou landini
on 14 Nov 2021
@Walter Roberson so shearlab doesn't work in windows professional with this installation process?
Walter Roberson
on 15 Nov 2021
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
on 15 Nov 2021
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
on 15 Nov 2021
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
on 15 Nov 2021
Edited: Walter Roberson
on 15 Nov 2021
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
on 17 Nov 2021
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.
linou landini
on 19 Nov 2021
@Yusuf Suer Erdem the windows of your PC is Windows XP?
Yusuf Suer Erdem
on 19 Nov 2021
@linou landini I have windows 7. Does that work for you?
linou landini
on 19 Nov 2021
@Yusuf Suer Erdem I have windows 10, matlab R2016a
Walter Roberson
on 20 Nov 2021
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)
linou landini
on 20 Nov 2021
@Walter Roberson when I install SDK, MINgw, The shearLab excute??
Walter Roberson
on 20 Nov 2021
No. As I have said repeatedly, the installation method for the software will only work for Windows Vista and some earlier versions of Windows.
linou landini
on 20 Nov 2021
@Walter Roberson Windows 7 no ?
Walter Roberson
on 20 Nov 2021
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.
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)