OmrEngine

Inheritance: java.lang.Object

public class OmrEngine

The OMR engine. Handles the creation of the template and image processing classes and GUI components.

Constructors

ConstructorDescription
OmrEngine()

Methods

MethodDescription
equals(Object arg0)
generateTemplate(String markupPath)Creates template (.omr) and template image based on text markup
generateTemplate(String markupPath, GlobalPageSettings settings)Creates template (.omr) and template image based on text markup
generateTemplate(String markupPath, ImageCollection collection)Creates template (.omr) and template image based on text markup
generateTemplate(String markupPath, ImageCollection collection, GlobalPageSettings settings)Creates template (.omr) and template image based on text markup
getClass()
getTemplateProcessor(String templatePath)Creates the TemplateProcessor instance that allows working with specified template.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

OmrEngine()

public OmrEngine()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

generateTemplate(String markupPath)

public final GenerationResult generateTemplate(String markupPath)

Creates template (.omr) and template image based on text markup

Parameters:

ParameterTypeDescription
markupPathjava.lang.StringPath to the text markup file

Returns: GenerationResult - Generation result

generateTemplate(String markupPath, GlobalPageSettings settings)

public final GenerationResult generateTemplate(String markupPath, GlobalPageSettings settings)

Creates template (.omr) and template image based on text markup

Parameters:

ParameterTypeDescription
markupPathjava.lang.StringPath to the text markup file
settingsGlobalPageSettingsglobal settings for each page

Returns: GenerationResult - Generation result

generateTemplate(String markupPath, ImageCollection collection)

public final GenerationResult generateTemplate(String markupPath, ImageCollection collection)

Creates template (.omr) and template image based on text markup

Parameters:

ParameterTypeDescription
markupPathjava.lang.StringPath to the text markup file
collectionImageCollectionCollection of images to be used in this template generation

Returns: GenerationResult - Generation result

generateTemplate(String markupPath, ImageCollection collection, GlobalPageSettings settings)

public final GenerationResult generateTemplate(String markupPath, ImageCollection collection, GlobalPageSettings settings)

Creates template (.omr) and template image based on text markup

Parameters:

ParameterTypeDescription
markupPathjava.lang.StringPath to the text markup file
collectionImageCollectionCollection of images to be used in this template generation
settingsGlobalPageSettingsglobal settings for each page

Returns: GenerationResult - Generation result

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getTemplateProcessor(String templatePath)

public final TemplateProcessor getTemplateProcessor(String templatePath)

Creates the TemplateProcessor instance that allows working with specified template.

Parameters:

ParameterTypeDescription
templatePathjava.lang.StringThe path to the OMR template file

Returns: TemplateProcessor - The TemplateProcessor instance

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int