Skip to content

appletreeisyellow/Parallel-Image-Processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Image Processing

Programming language: Java

CS 131, Spring 2016

Description

Processing large images can quickly become computation-intensive. Fortunately, many image transformations are naturally parallelizable, since each pixel (or groups of a small number of pixels) can often be processed independently. This parallel image processing can process image in parallel. The features includes: negate, greyscale, mirror image, and Gaussian blur

To process the image:

  1. Clone this repo
git clone https://github.com/appletreeisyellow/Parallel-Image-Processing.git
  1. Go to the directory of this project
cd Parallel-Image-Processing
  1. Compile
javac hw5.java
  1. Run
java Main
  1. Now you can see the processed images

How to open PPM Images

Some image viewing applications can directly display ppm files, including the Aquamacs text editor on Mac OS X. However, many image-viewing applications require that the image first be converted to a JPEG. This can be done with the pnmtojpeg program at the command line as follows: pnmtojpeg input-file.ppm > output-file.jpg. This program comes with many Linux distributions as well as with Cygwin for Windows. If you don't already have it, you can download pnmtojpeg as part of the NetPBM library. (The library also includes the program jpegtopnm for converting JPEGs into the ppm format; you can use this program to convert your favorite images so they can be manipulated by your code.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published