How to select 100 highest coefficient from Curvelet subband image

1 回表示 (過去 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 Center および File ExchangeRead, 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