Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
3
Task/Bitmap-Histogram/J/bitmap-histogram-1.j
Normal file
3
Task/Bitmap-Histogram/J/bitmap-histogram-1.j
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
getImgHist=: ([: /:~ ~. ,. #/.~)@,
|
||||
medianHist=: {."1 {~ [: (+/\ I. -:@(+/)) {:"1
|
||||
toBW=: 255 * medianHist@getImgHist < toGray
|
||||
3
Task/Bitmap-Histogram/J/bitmap-histogram-2.j
Normal file
3
Task/Bitmap-Histogram/J/bitmap-histogram-2.j
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
require 'media/platimg'
|
||||
'Lenna100.ppm' writeppm~ 256#.inv readimg 'Lenna100.jpg'
|
||||
786447
|
||||
2
Task/Bitmap-Histogram/J/bitmap-histogram-3.j
Normal file
2
Task/Bitmap-Histogram/J/bitmap-histogram-3.j
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
'Lenna100BW.ppm' writeppm~ toColor toBW readppm 'Lenna100.ppm'
|
||||
786447
|
||||
Loading…
Add table
Add a link
Reference in a new issue