Curvelet feature using fdct wrapping. Calculate the disp_coef also if you know then only try. image processing electrical

60.1K

Verified Solution

Question

Electrical Engineering

Curvelet feature using fdctwrapping.

Calculate the disp_coef also

if you know then only try.

image processing electrical

Answer & Explanation Solved by verified expert
4.1 Ratings (722 Votes)
function f allbandfeaturevectorcurvelet iname ainame dispTake curvelet transform fdctwrapping C fdctwrappinga0 msizeC2 no of level f global k for i1m nsizeC1i2 no of subbands in each level n1ceiln2 Symmetric subbands are discarded for j1n1 xysizeCij coeffreshapeCij1xy sortcoeffsortcoeffdescend kinputEnter the number of largest coefficients U want to take largestcoeffsortcoeff1k if isemptyf fcoeff else ff coeff end end end f sizef end function C fdctwrappingx isreal finest nbscales nbanglescoarse fdctwrappingm Fast Discrete Curvelet Transform via wedge wrapping Version 10 Inputs x MbyN matrix Optional Inputs isreal Type of the transform 0 complexvalued curvelets 1 realvalued curvelets default set to 0 finest Chooses one of two possibilities for the coefficients at the finest level 1 curvelets 2 wavelets default set to 2 nbscales number of scales including the coarsest wavelet level default set to ceillog2minMN 3 nbanglescoarse number of angles at the 2nd coarsest level minimum 8 must be a multiple of 4 default set to 16 Outputs C Cell array of curvelet coefficients Cjlk1k2 is the coefficient at scale j integer from finest to coarsest scale angle l integer starts at the topleft corner and increases clockwise position k1k2 both integers size varies with j and l If isreal is 1 there are two types of curvelets cosine and sine For a given scale j the cosine coefficients are stored in the first two quadrants low values of l the sine coefficients in the last two quadrants high values of l See also ifdctwrappingm fdctwrappingparamm By Laurent Demanet 2004 X fftshiftfft2ifftshiftxsqrtprodsizex N1N2 sizeX if nargin 2 isreal 0 end if nargin 3 finest 2 end if nargin 4 nbscales ceillog2minN1N2 3 end if nargin 5 nbanglescoarse    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students