Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NuGenMediImage initial import of source
- Loading branch information
1 parent
857e45a
commit abdf825
Showing
174 changed files
with
26,716 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
|
||
namespace Genetibase.NuGenMediImage | ||
{ | ||
/// <summary> | ||
/// Summary description for BrightnessChangedEventArgs. | ||
/// </summary> | ||
public class BrightnessChangedEventArgs:EventArgs | ||
{ | ||
|
||
internal float brightness = 0; | ||
|
||
public float Brightness | ||
{ | ||
get | ||
{ | ||
return brightness; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
|
||
namespace Genetibase.NuGenMediImage | ||
{ | ||
/// <summary> | ||
/// Summary description for BrightnessChangedEventArgs. | ||
/// </summary> | ||
public class ContrastChangedEventArgs:EventArgs | ||
{ | ||
|
||
internal float contrast = 0; | ||
|
||
public float Contrast | ||
{ | ||
get | ||
{ | ||
return contrast; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
|
||
namespace Genetibase.NuGenMediImage | ||
{ | ||
public delegate void CollapsedEventHandler(object sender, EventArgs e); | ||
public delegate void ShowProgressCallback(int max, int value, string text); | ||
public delegate void SimpleDelegate(); | ||
public delegate void SimpleDelegateDouble(double val); | ||
public delegate void AddSliceDelegate(System.Drawing.Bitmap b,int idx,int total); | ||
internal delegate void DicomSliceLoadEventHandler(object sender, DicomSliceLoadEventArgs e); | ||
internal delegate void DicomLoadEventHandler(object sender, DicomLoadEventArgs e); | ||
//internal delegate void LoadDicomDelegate(string Path); | ||
internal delegate void LoadImageHelperDelegate(ImageArray images); | ||
internal delegate void SliceProcessedEventHandler(object sender, SliceEventArgs e); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
/* | ||
* Created by SharpDevelop. | ||
* User: hq230002 | ||
* Date: 4/18/2007 | ||
* Time: 10:35 PM | ||
* | ||
* To change this template use Tools | Options | Coding | Edit Standard Headers. | ||
*/ | ||
|
||
using System; | ||
|
||
namespace Genetibase.NuGenMediImage | ||
{ | ||
internal class DicomSliceLoadEventArgs : EventArgs | ||
{ | ||
private System.Drawing.Bitmap b; | ||
private int idx = 0; | ||
private int total = 0; | ||
|
||
public int Idx | ||
{ | ||
get { return idx; } | ||
//set { idx = value; } | ||
} | ||
|
||
public int Total | ||
{ | ||
get { return total; } | ||
//set { total = value; } | ||
} | ||
|
||
|
||
public System.Drawing.Bitmap Thumbnail | ||
{ | ||
get { return b; } | ||
//set { b = value; } | ||
} | ||
|
||
public DicomSliceLoadEventArgs(System.Drawing.Bitmap b,int idx,int total) | ||
{ | ||
this.b = b; | ||
this.idx = idx; | ||
this.total = total; | ||
} | ||
} | ||
|
||
internal class DicomLoadEventArgs : EventArgs | ||
{ | ||
private int idx = 0; | ||
private int total = 0; | ||
|
||
public int Idx | ||
{ | ||
get { return idx; } | ||
//set { idx = value; } | ||
} | ||
|
||
public int Total | ||
{ | ||
get { return total; } | ||
//set { total = value; } | ||
} | ||
|
||
public DicomLoadEventArgs(int idx, int total) | ||
{ | ||
this.idx = idx; | ||
this.total = total; | ||
} | ||
} | ||
|
||
internal class SliceEventArgs : EventArgs | ||
{ | ||
private int frameNumber; | ||
|
||
public int FrameNumber | ||
{ | ||
get { return frameNumber; } | ||
} | ||
|
||
public SliceEventArgs(int frameNumber) | ||
{ | ||
this.frameNumber = frameNumber; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Genetibase.NuGenMediImage | ||
{ | ||
public enum FileType | ||
{ | ||
Normal, | ||
PPM, | ||
RAW, | ||
DICOM, | ||
Analyze, | ||
Inter, | ||
ECAT, | ||
Vision, | ||
Genisis | ||
} | ||
|
||
public enum ThumbnailFileType | ||
{ | ||
AllImages, | ||
CommonImages, | ||
DICOM | ||
} | ||
} |
Oops, something went wrong.