用法:
skimage.transform.frt2(a)
計算 n x n 整數數組的二維有限氡變換 (FRT)。
- a:array_like
一個二維正方形 n x n 整數數組。
- FRT:二維數組
(n+1) x n 整數係數的有限 Radon 變換數組。
參數:
返回:
注意:
當且僅當 n 是素數時,FRT 具有唯一的逆。 [FRT] 這個算法的想法歸功於 Vlad Negnevitski。
參考:
- FRT
A. Kingston and I. Svalbe, “Projective transforms on periodic discrete image arrays,” in P. Hawkes (Ed), Advances in Imaging and Electron Physics, 139 (2006)
例子:
生成測試圖像:對數組維度使用素數
>>> SIZE = 59 >>> img = np.tri(SIZE, dtype=np.int32)
應用有限氡變換:
>>> f = frt2(img)
相關用法
- Python skimage.transform.hough_circle_peaks用法及代碼示例
- Python skimage.transform.hough_ellipse用法及代碼示例
- Python skimage.transform.resize用法及代碼示例
- Python skimage.transform.hough_line_peaks用法及代碼示例
- Python skimage.transform.integrate用法及代碼示例
- Python skimage.transform.estimate_transform用法及代碼示例
- Python skimage.transform.hough_circle用法及代碼示例
- Python skimage.transform.rotate用法及代碼示例
- Python skimage.transform.rescale用法及代碼示例
- Python skimage.transform.ifrt2用法及代碼示例
- Python skimage.transform.resize_local_mean用法及代碼示例
- Python skimage.transform.hough_line用法及代碼示例
- Python skimage.transform.warp_polar用法及代碼示例
- Python skimage.transform.warp_coords用法及代碼示例
- Python skimage.transform.downscale_local_mean用法及代碼示例
- Python skimage.transform.warp用法及代碼示例
- Python skimage.feature.graycomatrix用法及代碼示例
- Python skimage.color.lab2lch用法及代碼示例
- Python skimage.draw.random_shapes用法及代碼示例
- Python skimage.feature.blob_doh用法及代碼示例
注:本文由純淨天空篩選整理自scikit-image.org大神的英文原創作品 skimage.transform.frt2。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。