How to select 100 highest coefficient from Curvelet subband image

조회 수: 2 (최근 30일)
Prema
Prema 2015년 5월 8일
댓글: ikram loued 2020년 9월 16일
Input image size is 256x256 How to calculate number of levels required for this image size. How to select 100 highest coefficient from Curvelet subband image.

채택된 답변

Thomas Koelen
Thomas Koelen 2015년 5월 8일
There are a couple ways you can do this depending on how you want to deal with repeated values. Here's a solution that finds indices for the 5 largest values (which could include repeated values):
[sortedValues,sortIndex] = sort(A(:),'descend');
maxIndex = sortIndex(1:5);
Here's a solution that finds the 5 largest unique values, then finds all elements equal to those values:
sortedValues = unique(A(:));
maxValues = sortedValues(end-4:end);
maxIndex = ismember(A,maxValues);
  댓글 수: 2
Prema
Prema 2015년 5월 8일
Thank u. It works fine.
ikram loued
ikram loued 2020년 9월 16일
hi , please who knows how can i get the coefficients of curvelet transform from an image ?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Durgesh Naik
Durgesh Naik 2015년 7월 15일
actually im applied 3 level curvelet decomposition but its not working pls reply..(See paper)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by