What are the inputs to the ridgelet functions??

5 ビュー (過去 30 日間)
Karthik Nagarajan
Karthik Nagarajan 2016 年 2 月 5 日
編集済み: Walter Roberson 2025 年 6 月 20 日
function rt = ridgelet( x, L, md )
%x=imread('C:\Users\Public\Pictures\Sample Pictures\test.jpg');
%L=10;
%md=0;
%pt1=11;
%pt2=12;
if ~exist( 'md', 'var' ) md = 0; end
[l1, l2] = size( x );
if rem( l1,2 ) == 0 && rem( l2,2 ) == 0
pt1 = l1 + 1;
pt2 = l2 + 1;
end
yr = fft2( x, pt1, pt2 );
yp = cart_2_rectopolar( yr );
l = size( yp, 1 );
if md == 0
rt = fft_iso_dwt( yp(1,:), L, md );
elseif md == 1
rt = cell(l,1);
rt{1} = fft_iso_dwt( yp(1,:), L, md );
end
for jj = 2:l
if md == 0
rt(jj,:) = fft_iso_dwt( yp(jj,:), L, md );
elseif md == 1
rt{jj} = fft_iso_dwt( yp(jj,:), L, md );
end
imshow(rt);
end

回答 (1 件)

Abhipsa
Abhipsa 2025 年 6 月 20 日
The inputs for the "ridgelet" function can be deduced as follows:
  • X = Input image of square size
  • L = Nunber of scales in ridgelet function
  • md = if 1, o/p is a cell ; if 0, o/p is a vector
You can refer to the below MathWorks File Exchange link for more information about "ridgelet" function:
After navigating to the above webpage, please navigate to the Functions tab, from the "curvelet_first_generation/", select the "ridgelet" function, then the relevant source code with appear.
This source code is very well-document along with relevant comments, which captures the information on the expected inputs and outputs of the function.
I hope this helps you.

カテゴリ

Help Center および File ExchangeMathematics and Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by