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
Constructor | Description |
---|---|
OmrEngine() |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
generateTemplate(String markupPath)
public final GenerationResult generateTemplate(String markupPath)
Creates template (.omr) and template image based on text markup
Parameters:
Parameter | Type | Description |
---|---|---|
markupPath | java.lang.String | Path 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:
Parameter | Type | Description |
---|---|---|
markupPath | java.lang.String | Path to the text markup file |
settings | GlobalPageSettings | global 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:
Parameter | Type | Description |
---|---|---|
markupPath | java.lang.String | Path to the text markup file |
collection | ImageCollection | Collection 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:
Parameter | Type | Description |
---|---|---|
markupPath | java.lang.String | Path to the text markup file |
collection | ImageCollection | Collection of images to be used in this template generation |
settings | GlobalPageSettings | global 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:
Parameter | Type | Description |
---|---|---|
templatePath | java.lang.String | The 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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |