home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Planet Source Code Jumbo …e CD Visual Basic 1 to 7
/
5_2007-2008.ISO
/
data
/
Zips
/
Real-time_2028201112006.psc
/
Histogram.frm
< prev
Wrap
Text File
|
2006-07-30
|
7KB
|
224 lines
VERSION 5.00
Begin VB.Form frmHistogram
AutoRedraw = -1 'True
BackColor = &H00C0C0C0&
BorderStyle = 4 'Fixed ToolWindow
Caption = " Histogram"
ClientHeight = 6810
ClientLeft = 45
ClientTop = 285
ClientWidth = 4125
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 454
ScaleMode = 3 'Pixel
ScaleWidth = 275
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Frame Frame1
BackColor = &H00C0C0C0&
Caption = "Statistics"
Height = 1455
Left = 120
TabIndex = 6
Top = 5280
Width = 3855
Begin VB.Label lblMaxCount
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "lblMAXCOUNT"
ForeColor = &H80000008&
Height = 255
Left = 1320
TabIndex = 13
Top = 1080
Width = 2415
End
Begin VB.Label Label5
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Maximum count:"
ForeColor = &H80000008&
Height = 210
Left = 120
TabIndex = 12
Top = 1080
Width = 1155
End
Begin VB.Label lblCount
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
ForeColor = &H80000008&
Height = 255
Left = 600
TabIndex = 11
Top = 840
Width = 3135
End
Begin VB.Label Label4
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Count:"
ForeColor = &H80000008&
Height = 255
Left = 120
TabIndex = 10
Top = 840
Width = 495
End
Begin VB.Label lblLevel
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
ForeColor = &H80000008&
Height = 255
Left = 600
TabIndex = 9
Top = 600
Width = 3135
End
Begin VB.Line Line1
X1 = 120
X2 = 3720
Y1 = 530
Y2 = 530
End
Begin VB.Label Label3
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Level:"
ForeColor = &H80000008&
Height = 255
Left = 120
TabIndex = 8
Top = 600
Width = 495
End
Begin VB.Label lblTotalPixels
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Total pixels:"
ForeColor = &H80000008&
Height = 210
Left = 120
TabIndex = 7
Top = 240
Width = 855
End
End
Begin VB.PictureBox picGradient
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 255
Left = 120
ScaleHeight = 15
ScaleMode = 3 'Pixel
ScaleWidth = 256
TabIndex = 5
Top = 4950
Width = 3870
End
Begin VB.ComboBox cmbHistSource
Appearance = 0 'Flat
Height = 330
Left = 1560
TabIndex = 2
Top = 120
Width = 2415
End
Begin VB.ComboBox cmbHistMethod
Appearance = 0 'Flat
Height = 330
Left = 1560
TabIndex = 1
Top = 480
Width = 2415
End
Begin VB.PictureBox picH
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 3975
Left = 120
MousePointer = 2 'Cross
ScaleHeight = 263
ScaleMode = 3 'Pixel
ScaleWidth = 256
TabIndex = 0
Top = 960
Width = 3870
End
Begin VB.Label Label2
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Drawing Method:"
ForeColor = &H80000008&
Height = 210
Left = 120
TabIndex = 4
Top = 540
Width = 1230
End
Begin VB.Label Label1
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Histogram Source:"
ForeColor = &H80000008&
Height = 210
Left = 120
TabIndex = 3
Top = 180
Width = 1335
End
End
Attribute VB_Name = "frmHistogram"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'***************************************************************************
'Histogram Handler
'⌐2006 Tanner "DemonSpectre" Helland
'Created: 6/12/01
'Last updated: 16/July/2006
'
'This form runs the basic code for calculating and displaying an image's histogram.
'
'***************************************************************************
'Throughout this form1 =*********************
'T Widx L 256
k &H8000000VB.Form frmd)-a63
Gklmy.ba*************************************
'Throughout this form1 =*********************
'T Wio Fals(