derekrhiggins / KernelConvolution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

=== INSTRUCTIONS ===

On startup the user is presented with the program's "CURRENT SETTINGS" and a list of "AVAILABLE COMMANDS". The user is then prompted to enter a command.

The available COMMANDS are as follows:

HELP - Displays the list of available commands.

SET - This command appended with an argument can be used to alter the behaviour of the program. Legitimate arguments are as follows;

	SET filter - This generates a menu where the user can choose a filter from a list of those available or choose to apply all filters. 

	SET inputFolder - The user can set the inputFolder from which to load the image file.

	SET inputFile - The user can enter a filename, a URL beginning with http:// or https:// or enter * to select all .png files within the inputFolder chosen.

	SET outputFolder - The user can set the outputFolder. If the folder does not exist the user will be prompted if they wish to create it.

	SET outputFile - The user can set the output filename excluding the file extension. Depending on the state of the appendfilter setting the chosen filter name will be appended to the filename enterred.

	SET appendfilter - This sets a flag to append the chosen filter name to the output filename i.e. [OUTPUT_NAME]_LAPLACIAN.png

SHOW - This will display the state of the program settings which can be modified by the user using the SET command.

RUN - This will execute the selected filter or all selected filters as the case may be on the chosen input file or files and output to the folder specified.

QUIT - This will exit the program.


=== REFERENCES ===

Fatir, Abdul. 2021. "Kernel Image Processing : Image Filters (With Java Code)". Tech.Abdulfatir.Com. http://tech.abdulfatir.com/2014/05/kernel-image-processing.html.

Franken Steak, and Colin D. 2014. "How Do I Create Multiple Two Dimensional Arrays In An Enum?". Stack Overflow. https://stackoverflow.com/questions/21027520/how-do-i-create-multiple-two-dimensional-arrays-in-an-enum/21027773#21027773.
"Christopher Johnson's ASCII Art Collection - Dragon - Dragons ". 2021. Asciiart.Website. https://asciiart.website/index.php?art=creatures/dragons.

Rob Hague. 2010. "How To Split A String In Java". Stack Overflow. https://stackoverflow.com/questions/3481828/how-to-split-a-string-in-java.
Java, Split, Kumar Mitra, and Anton Teodor. 2012. "Split String Into Individual Words Java". Stack Overflow. https://stackoverflow.com/questions/11726023/split-string-into-individual-words-java.

Grzegorz Piwowarek. 2013. "Use Of Filenamefilter". Stack Overflow. https://stackoverflow.com/questions/19932962/use-of-filenamefilter.
"File (Java Platform SE 7 )". 2021. Docs.Oracle.Com. https://docs.oracle.com/javase/7/docs/api/java/io/File.html#list(java.io.FilenameFilter).

BenMorel. 2010. "How To Create A Directory In Java?". Stack Overflow. https://stackoverflow.com/questions/3634853/how-to-create-a-directory-in-java.

David Robles. 2009. "How To Read All Files In A Folder From Java?". Stack Overflow. https://stackoverflow.com/questions/1844688/how-to-read-all-files-in-a-folder-from-java/26215931#26215931.

"Java Switch". 2021. W3schools.Com. https://www.w3schools.com/java/java_switch.asp.

WaldB. 2012. "How To Catch An Exception From A Private Member Subclass Object?". Stack Overflow. https://stackoverflow.com/questions/10272317/how-to-catch-an-exception-from-a-private-member-subclass-object.

"URL (Java SE 10 & JDK 10 )". 2021. Docs.Oracle.Com. https://docs.oracle.com/javase/10/docs/api/java/net/URL.html.
Gary Kephart, and Brian Agnew. 2009. "How To Load A Image From Web In Java". Stack Overflow. https://stackoverflow.com/questions/926938/how-to-load-a-image-from-web-in-java.

About


Languages

Language:Java 100.0%