edit-reducing the co-efficient
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I have an image i wanr to reduce the co-efficient by apply a thershold value,i want to take co-efficient below that thershold value..please help
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 2월 4일
NewData = YourData;
idx = YourData >= threshold;
NewData(idx) = threshold - eps(threshold); %will be below the threshold
댓글 수: 5
kash
2012년 2월 4일
Walter Roberson
2012년 2월 4일
YourData would be the coefficients that you want to threshold, which would be values _derived_ from your image but would not be the image itself.
I have no idea what the value of threshold would be. You said that you wanted to reduce the coefficients by applying a threshold value. That implies that you already know the threshold value.
Perhaps what you are trying to do is to *quantize* the coefficients? If so then you would have a series of thresholds, but you will have to decide what each of those thresholds is, or else must decide how those thresholds should be calculated.
(Please do not refer me to a paper. I do not have time to read and understand one. We assume that you have already read and understood a paper and are only asking for MATLAB-specific help on the implementation. If you do not understand the paper, then you should be discussing the paper in an image processing forum. This facility, MATLAB Answers, is intended for MATLAB specific help, not for people to research theory and explain it to you.)
kash
2012년 2월 4일
Walter Roberson
2012년 2월 4일
Ah, I missed one of my notes. The threshold value to use is
0.624525
This information was found on form A557(G).
Carry on.
kash
2012년 2월 4일
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!