How to select 100 highest coefficient from Curvelet subband image

1 vue (au cours des 30 derniers jours)
Prema
Prema le 8 Mai 2015
Commenté : ikram loued le 16 Sep 2020
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.

Réponse acceptée

Thomas Koelen
Thomas Koelen le 8 Mai 2015
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 commentaires
Prema
Prema le 8 Mai 2015
Thank u. It works fine.
ikram loued
ikram loued le 16 Sep 2020
hi , please who knows how can i get the coefficients of curvelet transform from an image ?

Connectez-vous pour commenter.

Plus de réponses (1)

Durgesh Naik
Durgesh Naik le 15 Juil 2015
actually im applied 3 level curvelet decomposition but its not working pls reply..(See paper)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by