error in Shearlet Transform Matlab

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);

Respuestas (1)

Yusuf Suer Erdem
Yusuf Suer Erdem el 13 de Nov. de 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 comentarios

linou landini
linou landini el 13 de Nov. de 2021
Editada: linou landini el 13 de Nov. de 2021
Yusuf Suer Erdem
Yusuf Suer Erdem el 13 de Nov. de 2021
Do you mind sharing or sending me the circleGS matrix?
linou landini
linou landini el 13 de Nov. de 2021
@Yusuf Suer Erdem i didn't have the matrix
>> [numRows,numCols] = size(circleGS);
Undefined function or variable 'circleGS'.
linou landini
linou landini el 13 de Nov. de 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);
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
Walter Roberson el 14 de Nov. de 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
Yusuf Suer Erdem el 14 de Nov. de 2021
I do not have enough capacity to help more. Good luck
linou landini
linou landini el 14 de Nov. de 2021
@Walter Roberson so shearlab doesn't work in windows professional with this installation process?
Walter Roberson
Walter Roberson el 15 de Nov. de 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
Walter Roberson el 15 de Nov. de 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
Walter Roberson el 15 de Nov. de 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
Walter Roberson el 15 de Nov. de 2021
Editada: Walter Roberson el 15 de Nov. de 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
Walter Roberson el 17 de Nov. de 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
linou landini el 19 de Nov. de 2021
@Yusuf Suer Erdem the windows of your PC is Windows XP?
Yusuf Suer Erdem
Yusuf Suer Erdem el 19 de Nov. de 2021
@linou landini I have windows 7. Does that work for you?
linou landini
linou landini el 19 de Nov. de 2021
@Yusuf Suer Erdem I have windows 10, matlab R2016a
Walter Roberson
Walter Roberson el 20 de Nov. de 2021
In R2016a, the supported compilers included:
R2016a was supported on WIndows 10, though (R2015a was the first MATLAB with Windows 10 support)
linou landini
linou landini el 20 de Nov. de 2021
@Walter Roberson when I install SDK, MINgw, The shearLab excute??
Walter Roberson
Walter Roberson el 20 de Nov. de 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
linou landini el 20 de Nov. de 2021
@Walter Roberson Windows 7 no ?
Walter Roberson
Walter Roberson el 20 de Nov. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 13 de Nov. de 2021

Comentada:

el 20 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by