Skip to content

ntnu-bioopt/libfrangi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libfrangi

C++/OpenCV implementation of the Frangi multiscale vesselness filter in 2D (reference: A. F. Frangi, W. J. Niessen, K. L. Vincken, and M. A. Viergever, “Multiscale vessel enhancement filtering,” in Proc. Med. Image. Comput. Assist. Interv. 1496, pp. 130–137 (1998)).

This code is based on a MATLAB implementation found at MATLAB Central.

Basic usage

Include frangi.h. Create a variable frangi2d_opts_t opts. Set each field to desired values or use frangi2d_createopts(&opts) for default values.

Load the image into a cv::Mat instance. Create cv::Mat instances for Frangi filter outputs: J, scale and directions. The 2D Frangi filter can then be applied as frangi2d(img, &J, &scale, &directions, opts).

Building and installing

  1. mkdir build
  2. cmake ..
  3. make
  4. make install

Requirements

  • OpenCV >= 2.3

About

C++/OpenCV implementation of the 2D Frangi multiscale vesselness filter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published