Sunday, August 25, 2019

smorgasbord of programming tips and ideas - OpenCV etc

Here is a collection of links for various implementations of OpenCV-based medical imaging software -

  1. CUDA and OpenCV - just need to compile OpenCV on a machine with a Cuda compatible graphics card. My old machines have cards which are only supported by older versions of the CUDA SDK. Can expect a 180% speedup as per some papers.
    https://answers.opencv.org/question/62955/cudadft-speed-issues-too-slow/
    indicates that the Matlab times were wrong.

    https://opencv.org/cuda/
    https://developer.nvidia.com/cuda-gpus and legacy gpus at
    https://developer.nvidia.com/cuda-legacy-gpus
    https://developer.nvidia.com/cuda-toolkit-archive and supported GPUs at
    https://en.wikipedia.org/wiki/CUDA#GPUs_supported

  2. A nice class to capture from Spinnaker SDK to OpenCV Mat, running in a separate thread - https://github.molgen.mpg.de/MPIBR/SpinnakerCapture
  3. Writing an OpenCV Mat file to a binary format on disk - Lots of options mentioned at
    https://answers.opencv.org/question/6414/cvmat-serialization-to-binary-file/
  4. I had a thought of trying DICOM writing. But it turned out to be quite complicated to write DICOM, since so many parameters need to be initialized.
    https://stackoverflow.com/questions/36379637/read-dicom-in-c-and-convert-to-opencv
    https://github.com/marcinwol/dcmtk-basic-example
    https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch1.html#x7-240001.12
    https://www.researchgate.net/post/ITK_vs_OpenCV

  5. Some tips on exporting from Octave to OBJ and STL formats - commonly used in 3D printers - https://alexbjorkholm.wordpress.com/2016/10/07/exporting-3d-objects-from-octave/
  6. Plotting using slice in Matlab -
    https://stackoverflow.com/questions/35549733/how-can-i-plot-several-2d-image-in-a-stack-style-in-matlab

No comments:

Post a Comment