Giter Club home page Giter Club logo

backgroundmodeling's Introduction

(1) Instructions to run code    
    (i) Main script is run_domain_range_bg_modeling.m (for color feature model only)
    or run_domain_range_bg_modeling_hybrid.m (for color-texture hybrid feature
    model)
    (ii)  Change video number to select appropriate video in above scripts. 
    Note that video_numbers can be an array of video numbers which will be 
    processed in sequence
    (ii)  Change path to input video, input groundtruth, output folder in load_video.m
    (iii) Set algorithm_to_use variable in the main script
    (iv)  Set any optional parameters in the main script
    Setting display_general to 1 displays the segmentation for each frame in a figure
    (v)   Run main script in matlab. 
    Note that it may take several hours for complete video
    sequence to be processed. If you desire to run script for a smaller subset of
    video frames, change the total_num_frames variable in load_video.m
    (vi) Output will be saved in the folder specified by
    output_sequences_folder in load_video.m
    Output is a mat file with all processed frames, all output frames, bg
    masks, and some input parameters. 
    (vii) Output video segmentation may be observed by using 
    step_through_color_image_sequence_pair( image_stack, segmented_image_stack);
    This is automatically invoked if a single video is in video_numbers. If
    multiple videos are processed, then the user has to load the mat files
    that were saved and then call step_through_color_image_sequence_pair
    manually

(2) Credits for third-party code used
    Thanks to Michael Rubinstein for max flow code (obtained from
    matlabcentral)
    Thanks to Mark A. Ruzon for RGB2Lab code (obtained from matlabcentral)

backgroundmodeling's People

Watchers

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