Coder Social home page Coder Social logo

xiaochengcike / region-growing-by-cellular-automata Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kiriteegak/region-growing-by-cellular-automata

0.0 1.0 0.0 69 KB

This repo contains python implementation for segmentating uniform textures in images using Cellular Automata based Region Growing. Cellular Automata is a cell state evolution theory based on the states of the neighboring cells. For more details, look README.

Python 100.00%

region-growing-by-cellular-automata's Introduction

RegionGrowingAlgorithm

  1. This algorithm is used for object segmentation based on user-chosen seed pixels.
  2. This paper describes the method presented in the code.

Requirements

  1. This module needs Python 2.x, Numpy, SciPy, datetime

Citations

Please site the work if you are using this.

Vezhnevets, Vladimir, and Vadim Konouchine. "GrowCut: Interactive multi-label ND image segmentation by cellular automata." proc. of Graphicon. Vol. 1. 2005.

Usage

General

$ python rgca.py examples/sample/star-white-clipart.jpg examples/sample/seeds

runs with threshold (-t) of 0.5 and with number of iterations (-i) of 50 as default

From terminals

$ python rgca.py examples/sample/star-white-clipart.jpg examples/sample/seeds -t 0.7 -i 75

reads examples/sample/star-white-clipart.jpg from sample folder with seeds given in an utf-8 encoded file as like examples/sample/seeds with threshold of 0.7 and number of iterations as 75

Seeds are be of assumed format

n1,n2
n3,n4

Run

$ python rgca.py -h

for help regarding arguments to be passed

region-growing-by-cellular-automata's People

Contributors

kiriteegak avatar

Watchers

James Cloos 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.