Difference between revisions of "ForkLoop Images Assignment"

From CSE231 Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
Revisit the [[Race_Condition_Image_Batch_Assignment#Background|Image Batch Race Condition Exercise's Background]] section for information on pixels and images.
 
Revisit the [[Race_Condition_Image_Batch_Assignment#Background|Image Batch Race Condition Exercise's Background]] section for information on pixels and images.
 +
 +
=Code To Investigate=
 +
==PixelFilters==
 +
==SequentialImageFilter==
 +
==HsvImage==
 +
==DefaultHsvImage==
 +
 +
=Code To Implement=
 +
==ParallelTaskPerRowImageFilter==
 +
{{CodeToImplement|ParallelTaskPerRowImageFilter|apply|imagefilter.exercise}}
 +
 +
===apply===
 +
{{Parallel|public HsvImage apply(HsvImage src, PixelFilter pixelFilter)}}
 +
 +
=Testing Your Solution=
 +
{{TestSuite|__ParallelTaskPerRowImageFilterTestSuite|imagefilter.exercise}}
 +
 +
=Pledge, Acknowledgments, Citations=
 +
{{Pledge|exercise-fork-loop-images}}
  
 
=App=
 
=App=

Revision as of 18:11, 26 January 2023

Background

Revisit the Image Batch Race Condition Exercise's Background section for information on pixels and images.

Code To Investigate

PixelFilters

SequentialImageFilter

HsvImage

DefaultHsvImage

Code To Implement

ParallelTaskPerRowImageFilter

class: ParallelTaskPerRowImageFilter.java Java.png
methods: apply
package: imagefilter.exercise
source folder: student/src/main/java

apply

method: public HsvImage apply(HsvImage src, PixelFilter pixelFilter) Parallel.svg (parallel implementation required)

Testing Your Solution

class: __ParallelTaskPerRowImageFilterTestSuite.java Junit.png
package: imagefilter.exercise
source folder: testing/src/test/java

Pledge, Acknowledgments, Citations

file: exercise-fork-loop-images-pledge-acknowledgments-citations.txt

More info about the Honor Pledge

App

class: ImageFilterApp.java VIZ
package: imagefilter.viz
source folder: student/src/main/java

Image filter app.png