Giter Site home page Giter Site logo

serconvert's Introduction

serConvert

MATLAB utility to convert *.ser files to images with optional scalebar. Uses serReader() from Peter Ercius to read in files.

Usage

img = serConvert(...)

Options:

  • fname: *.ser file name. If you do not specify fname a GUI file selection dialog will open.
  • scalebar: 'on'/'off' (default: on) Whether to burn scalebar into image.
  • save: true/false (default: true) Save image file with same name as the *.ser file in current directory.
  • format: 'png','jpeg','tiff', etc (default: png) File format to save output image. Accepts any valid format for imwrite.
  • power: float (default: 0.5) Gamma correction for image. 0.5 seems to give the usual contrast.
  • scaleColor: 0.0-1.0 (default: auto) Intensity of the scalebar and text. Defaults to auto choice between 0 and 1, depending on the background intensity in the area of the image with the scalebar.
  • show: 'on'/'off' (default: off) Display final image.

Returns img, the processed image with the gamma correction, scaled to [0,1], as a double precision float, rotated to match how it displays on the micrcoscope.

Example

img = serConvert('fname','19.34.26 Scanning Acquire.ser','show','on');

serconvert's People

Contributors

sezelt avatar

Stargazers

 avatar

Forkers

hunterfrank

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.