Skip to content

BMC CMSC151 Final project (group with Clara Fee) Image Compression and editing with QuadTree

Notifications You must be signed in to change notification settings

jvrieger/imageCompressionEditing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clara Fee, Julia Rieger

How to run: java Main -i <filename> -o <filename> <optional flags: -c for image compression
       	    	      	 	       		  	    	   				-e for edge detection
								   									-t for outlined quadtree
																	-x -1 for invert 
																	-x [0, 1] for shading>
Known bugs and limitations: N/A

Discussion:    

Note that our program runs under the assumption all input images will be square P3 with dimensions that are powers of 2.

Note about compression values: the edge detection compression value is currently set to 0.004. This ensures that edge detection is more efficient as it only acts on small enough nodes. To view the outlined version of the edge detected image, change this compression level to 0.4 or higher so that each leaf is bigger and you can see outlines. 

Extra credit filter: 
Our filter takes 2 types of values: if -1 is inputted, the image is inverted (negative). If a value between 0 and 1 is inputted, the image will be shaded based on this shade factor. Lower shade factor (such as 0.1) will make a darker image, and higher shade factor (such as 0.9) will make a lighter image.

About

BMC CMSC151 Final project (group with Clara Fee) Image Compression and editing with QuadTree

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages