What are the inputs to the ridgelet functions??

조회 수: 4 (최근 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 CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by