GTRefiner.TestingAndClientExamples.ClientExamples package¶
Subpackages¶
- GTRefiner.TestingAndClientExamples.ClientExamples.Director package
- Submodules
- GTRefiner.TestingAndClientExamples.ClientExamples.Director.GroundTruthRefinerDemo1 module
- GTRefiner.TestingAndClientExamples.ClientExamples.Director.GroundTruthRefinerDemo2 module
- GTRefiner.TestingAndClientExamples.ClientExamples.Director.GroundTruthRefinerDemo3 module
- GTRefiner.TestingAndClientExamples.ClientExamples.Director.RegionIllustratorDirector module
- GTRefiner.TestingAndClientExamples.ClientExamples.Director.ResizingIllustratorDirector module
- Module contents
- GTRefiner.TestingAndClientExamples.ClientExamples.Visitor package
Submodules¶
GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins module¶
- class GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.CustomResizer(img: <module 'PIL.Image' from '/opt/miniconda3/envs/BachelorThesis/lib/python3.8/site-packages/PIL/Image.py'>, strategy: ~GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.ResizingStrategy)¶
Bases:
Resizer
- class GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.FlexibleResizer¶
Bases:
ResizingStrategy
- flexibel_resize(im: <module 'PIL.Image' from '/opt/miniconda3/envs/BachelorThesis/lib/python3.8/site-packages/PIL/Image.py'>, number_rows: int, number_col: int)¶
- resize(img_as_array, resize_factor)¶
- class GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.MajorityWins¶
Bases:
ResizingStrategy
- resize(img_as_array, resize_factor)¶
- class GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.MeanWins¶
Bases:
ResizingStrategy
- resize(img_as_array, resize_factor)¶
- class GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.MinorityWins¶
Bases:
ResizingStrategy
- resize(img_as_array, resize_factor)¶
- class GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.NaiveResizer(img: <module 'PIL.Image' from '/opt/miniconda3/envs/BachelorThesis/lib/python3.8/site-packages/PIL/Image.py'>, strategy)¶
Bases:
Resizer
- resize(scaling_factor) array ¶
- class GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.Resizer(img: <module 'PIL.Image' from '/opt/miniconda3/envs/BachelorThesis/lib/python3.8/site-packages/PIL/Image.py'>, strategy: ~GTRefiner.TestingAndClientExamples.ClientExamples.MinorityAndMajorityWins.ResizingStrategy)¶
Bases:
object
- abstract resize(scaling_factor) array ¶