Coder Social home page Coder Social logo

tractatus / mmcore_opencv_imgui Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 48.38 MB

A minimal reproducible example showing how to get MMCore image buffer into OpenCV and display the result through Imgui

License: MIT License

CMake 23.84% C++ 76.16%

mmcore_opencv_imgui's Introduction


MMCore, OpenCV, Imgui

A minimal reproducible example using MMCore to handle microscope I/O,
OpenCV for image processing and
Imgui for bloat-free GUI with minimal dependencies.

About The Project

I still havent completely made the compilation of MMCore entirely into CMake so just download the orignal micromanager source code and compile it through their automake instructions.

Installation

Step 1-3 follows the compilation advice for MicroManager Java which compiles MMDevice and makes makefile for MMCore. After compiling take the entire folder mmCoreAndDevices and place in this directory. See: https://github.com/micro-manager/micro-manager/blob/efb524723a90ed1a329b4423c698edfde59d0629/doc/how-to-build.md

  1. Install MicroManager from binary as usual and check that it works with your microscope. Then Clone the MicroManager repo:

    git clone https://github.com/micro-manager/micro-manager.git
  2. First check that you have the following dependencies for compiling micromanager:

    which autoconf
    which automake
    which glibtool
    which pkg-config
    brew info boost
    brew info opencv4

    If not install with homebrew. Boost is necessary for micromanager, opencv is not but this C++ repo uses OpenCV to process the image.

  3. Generate configure file:

    ./autogen.sh
  4. Run configure

    ./configure
  5. Compile

    make
  6. Move to mmCoreAndDevices/MMCore and make sure it is compiled

    cd ./mmCoreAndDevices/MMCore
    make
    cd ../..
  7. Clone this repo and copy the mmCoreAndDevices directory and replace it:

    git clone https://github.com/tractatus/MMCore_OpenCV_Imgui.git
    cp -r ./mmCoreAndDevices ./MMCore_OpenCV_Imgui/
  8. Compile:

    cd MMCore_OpenCV_Imgui
    cmake .
    make
  9. Run:

    ./micromanager

mmcore_opencv_imgui's People

Contributors

tractatus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.