Patch Optimization Tutorial
This page will explain how to use the patch optimization code
Last updated
This page will explain how to use the patch optimization code
Last updated
The Code Path: LineArtCoherenceTool/StreamlineCorresponding/patchOptimization.py
Argument Needed:
Image Segment Input
The Input Frame Segment Image.
PatchInfo.txt
The Patch Information of all the (b,g,r) color.
1.Set-up the input path:
2.Run The Code:
Output Value Explain:
Patch [BGR Color] = 'Patch Score Value'
1st area = pixel count of the patch ; 2nd area = pixel count of the patch /total count of the entire patch
1st obstacle = obstacle value of the patch ; 2nd obtacle = obstacle ratio over the entire patch.
Next Step (manually):
Decide a threshold value manually based on the observation of Patch Score Value. (ex: 0.01)
Only render the threshold value that over the decided threshold.