Added scaling, and this is the checkpoint before trying to add arythmetic operations on images
This commit is contained in:
@@ -26,6 +26,7 @@ namespace AgraV2
|
||||
effects = new List<Effect>();
|
||||
effects.Add(new EffectGrayScale("GrayScale", pnlEffectToolbox));
|
||||
effects.Add(new EffectMedianFilter("Median Filter", pnlEffectToolbox));
|
||||
effects.Add(new EffectScale("Scaling", pnlEffectToolbox));
|
||||
RefreshUi();
|
||||
}
|
||||
private void RefreshUi()
|
||||
@@ -43,6 +44,7 @@ namespace AgraV2
|
||||
FolderBrowserDialog dialog = new FolderBrowserDialog();
|
||||
if (dialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
pnlFiles.Controls.Clear();
|
||||
selectedDirectory = new DirectoryInfo(dialog.SelectedPath);
|
||||
|
||||
List<FileInfo> images = new List<FileInfo>();
|
||||
|
||||
Reference in New Issue
Block a user