Giter VIP home page Giter VIP logo

stackascope's Introduction

Stack-a-scope

This is an experiment. It's intended to give images with focus stacking from a microscope. It's not anything more than a bit of play with image processing at this point -- it doesn't really work very well. So please move along, unless you're really interested in half-working projects.

The way this project works is:

  • Mount a camera on a microscope
  • Take a video while adjusting focus
  • Convert the video to still images
  • Align the images with align.py
  • Finally, the merge.py script tries to merge the images into a single, focus-stacked one

Where do we fail?

For one, we don't really do a good job in aligning images. As we refocus the microscope, the angle-of-view changes a bit, which plays odd games on what we need to do there. Second, looking for maximum contrast doesn't really work for figuring out where the right slices are. Big parts of images are a flat color, and the algorithm falls flat on its face there. The transitions are also a bit rough; we should blur between the images somehow.

Those aren't necessarily hard problems to solve; but this project was an evening of hacking for fun, so I never actually solved them.

stackascope's People

Contributors

pmitros 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.