⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 遥感图像的辐射纠正 只适用于初级哈 大家有什么好的程序共享哈嘛
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.PictureBox Picture2 
      Height          =   5055
      Left            =   7800
      ScaleHeight     =   4995
      ScaleWidth      =   4035
      TabIndex        =   2
      Top             =   1800
      Width           =   4095
   End
   Begin VB.PictureBox Picture1 
      Height          =   5055
      Left            =   2760
      Picture         =   "Form1.frx":0000
      ScaleHeight     =   4995
      ScaleWidth      =   4395
      TabIndex        =   1
      Top             =   1800
      Width           =   4455
   End
   Begin VB.CommandButton Command1 
      Caption         =   "辐射纠正"
      Height          =   495
      Left            =   600
      TabIndex        =   0
      Top             =   2040
      Width           =   1095
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
For i = 0 To Picture1.Width Step 8
For j = 0 To Picture1.Height Step 8
a = Picture1.Point(i, j)
r = a Mod 256

rr = i * i + (j - Picture1.Height) * (j - Picture1.Height)
i1 = (i + Sqr(rr) * Cos(45 / 180 * 3.14159)) * 1.414 / 2
j1 = (j + Sqr(rr) * Sin(45 / 180 * 3.14159)) * 1.414 / 2


If r > 255 Then r = 255
If r < 0 Then r = 0
aa = RGB(r, 0, 0)
Picture2.PSet (i1, j1), aa
Next
Next

End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -