Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
:HISTOGRAM:
|
||||
#30 = Buf_Free // #30 = buffer to store histogram data
|
||||
for (#9=0; #9<256; #9++) {
|
||||
Out_Reg(21) TC(#9) Out_Reg(Clear) // @21 = intensity value to be counted
|
||||
Buf_Switch(#15) // switch to image buffer
|
||||
#8 = Search(@21, CASE+BEGIN+ALL+NOERR) // count intensity values
|
||||
Buf_Switch(#30) // switch to histogram buffer
|
||||
Num_Ins(#8, FILL) // store count
|
||||
}
|
||||
Return
|
||||
Loading…
Add table
Add a link
Reference in a new issue