Change the number of bins in Radon transform

2 ビュー (過去 30 日間)
Hieu Phan
Hieu Phan 2019 年 12 月 9 日
編集済み: Walter Roberson 2019 年 12 月 9 日
Dear experts,
Is there any way to change the defaut munber of bins in matlab built in Radon transform? I want to perform a Radon transform on an image with a specific number of bin (stand for the munber of detectors), and a specific bin width.
thank you.

採用された回答

Walter Roberson
Walter Roberson 2019 年 12 月 9 日
% Grandfathered syntax
% R = RADON(I,THETA,N) returns a Radon transform with the
% projection computed at N points. R has N rows. If you do not
% specify N, the number of points the projection is computed at
% is:
%
% 2*ceil(norm(size(I)-floor((size(I)-1)/2)-1))+3
%
% This number is sufficient to compute the projection at unit
% intervals, even along the diagonal.
  4 件のコメント
Hieu Phan
Hieu Phan 2019 年 12 月 9 日
If there is an agorithim alow control that variable, would that come into any practice?
Walter Roberson
Walter Roberson 2019 年 12 月 9 日
編集済み: Walter Roberson 2019 年 12 月 9 日
I do not know.
When you use a fixed bin size, then you are not using a constant angle: you are using a larger angle when you are closer to the origin and a smaller angle further from the origin. That changes the mathematics of the transform, and the usual calculations do not apply.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by