Thanks to visit codestin.com
Credit goes to github.com

Skip to content

guynir42/radon

Repository files navigation

Streak detection MATLAB package, based on the Fast Radon Transform (FRT)

Written by Guy Nir ([email protected])

ORIENTATION:
-------------
This package includes three classes and a function (and some utilities). 
The function is frt.m, which perfoms a Fast Radon Transform (FRT) on some data. 
This function can be used as-is to do transformations, for streak detection or other uses. 

To do more advanced searches more code is needed:
The three classes included in this package are:
(1) Finder: this object contains useful information such as a Radon variance map, 
    needed for normalizing the Radon images and checking Radon peaks against a S/N threshold. 
    Also the finder can be setup to find short streaks and multiple streaks (that the frt.m function 
    cannot accomplish alone). 
    The Finder can also convolve the images with a given PSF;
    It can keep track of the best S/N results and find a automatic threshold;
    it has a GUI that displays found streaks and their statistics. 
    The results of all streaks that are found when using the Finder are saved 
    as a vector of Streak objects inside Finder. 
(2) Streak: this object keeps track of the raw Radon coordinates where the streak
    was found, and also calculates the streak parameters in the input image. 
    Each Streak object keeps a single streak data, and can be used to display
    the streak in the original image, to display some statistics on it, and 
    to subtract itself from the image. 
(3) Simulator: this object can generate streaks, with a given PSF width and noise, 
    and can automatically feed the resulting images into the Finder it contains. 
    The simulator can make multiple streaks of different intensities and coordinates, 
    and can simulate random streaks with parameters chosen uniformly in a user-defined range. 

An additional function, "coreFRT.mexw64" is available for running the core algorithm in C++. 
This mex file is compile from "coreFRT.cpp" using "compile_core_frt_mex.m" from matlab. 
There is no need for any special packages/compilers, but c++11 is assumed for all my projects. 
Right now I've compiled the code under windows 64 bit. 
For other OSes just use "compile_core_frt_mex.m". 

NOTE: this package requires the +util package. 
      Available on github: https://github.com/guynir42/util


About

Streak detection using the Fast Radon Transform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •