Skip to content

Converts OpenCV FileStorage output to a format that ImageJ can processs

Notifications You must be signed in to change notification settings

AlitheonDotCom/opencv2imagej

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opencv2imagej

Converts a YAML file generated by OpenCV's FileStorage interface into a format that can be imported by ImageJ.

OpenCV YAML file format: http://docs.opencv.org/2.4/modules/core/doc/xml_yaml_persistence.html#filestorage

ImageJ Text Image file format: https://imagej.nih.gov/ij/docs/guide/146-26.html#fig:TextImages

Usage

opencv2imagej

Converts a serialized FileStorage object to Text Image format.

ruby ./opencv2imagej.rb yaml_file [image_key]
  • yaml_file: path to an OpenCV image in yaml format
  • image_key: the name of the serialized image, default is "img"

txt2png

Macro for bulk converting Text Images (.txt files) to PNG format.

  1. Start ImageJ
  2. Run Macro
  3. Browse to directory containing txt files
  4. Browse to directory where PNG files should be saved

About

Converts OpenCV FileStorage output to a format that ImageJ can processs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages