Difference between revisions of "ForkLoop Images Assignment"
Jump to navigation
Jump to search
(→App) |
|||
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
Contents
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 | |
methods: | apply | |
package: | imagefilter.exercise | |
source folder: | student/src/main/java |
apply
method: public HsvImage apply(HsvImage src, PixelFilter pixelFilter)
(parallel implementation required)
Testing Your Solution
class: | __ParallelTaskPerRowImageFilterTestSuite.java | |
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 |