|
NeuralSharp
1.0
NeuralSharp is a FOSS C# library for neural networks.
|
Represents an image. More...
Public Member Functions | |
| Image (int depth, int width, int height, bool c=false) | |
| Creates an instance of the More... | |
| float | GetValue (int w, int x, int y) |
| Gets a value contained in the image, given its coordinates. More... | |
| void | SetValue (int w, int x, int y, float value) |
| Sets a value in the image. More... | |
| void | ToArray (int depth, int width, int height, float[] array, int arraySkip=0) |
| Copies the content of the image into an array. More... | |
| void | ToArray (float[] array, int arraySkip=0) |
| Copies the content of the image into an array. More... | |
| void | FromImage (Image image) |
| Copies the data from the given image. More... | |
| void | FromImage (Image image, int sourceW, int sourceX, int sourceY, int thisW, int thisX, int thisY, int depth, int width, int height) |
| Copies the data from the given image. More... | |
| void | FromArray (float[] array, int skip, int w, int x, int y, int depth, int width, int height) |
| Copies data from an array. More... | |
| void | FromArray (float[] array, int skip=0) |
| Copies data from an array. More... | |
| void | FromImage (Image image, int depth, int width, int height) |
| Copies the data from the given image. More... | |
| void | FromImageScaled (Image image, int sourceW, int sourceX, int sourceY, int thisW, int thisX, int thisY, int depth, int sourceWidth, int sourceHeight, int thisWidth, int thisHeight) |
| Copies data from the given image, scaling it. More... | |
| void | FromImageScaled (Image image, int sourceX, int sourceY, int thisX, int thisY, int sourceWidth, int sourceHeight, int thisWidth, int thisHeight) |
| Copies data from the given image, scaling it. More... | |
| void | FromImageScaled (Image image) |
| Copies the data from the given image, scaling it. More... | |
| void | FromBitmap (Bitmap image) |
| Copies data from the given image. More... | |
| void | FromBitmap (string path) |
| Copies data from the given image. More... | |
| Bitmap | ToGreenBitmap () |
| Creates a green and black version of the image. More... | |
| void | Export (string path, ImageFormat format) |
| Saves the image to a file. More... | |
| void | Export (string path) |
| Saves the image to a file. More... | |
| Bitmap | ToBitmap (int w, bool smart=false) |
| Exports the image. More... | |
| Bitmap | ToBitmap () |
| Exports the image. More... | |
| void | Normalize () |
| Normalizes the values in the image. More... | |
Static Public Member Functions | |
| static Image | AdaptFromBitmap (string path, int width, int height) |
| Returns the central scaled portion from the given image. More... | |
| static Image [] | FromMnist (Stream stream, bool normalize=true, int maxCount=0, int skip=0, bool emnist=false) |
| Gets images from the MNIST format. More... | |
| static void | FromMnist (Stream stream, Image[] array, bool normalize=true, int maxCount=0, int skip=0, bool emnist=false) |
| Gets images from the MNIST dataset. More... | |
| static float [][] | FromMnistLabels (Stream stream, bool smart=true, int maxCount=0, int skip=0, int labels=10) |
| Reads labels form the MNIST format. More... | |
| static void | FromMnistLabels (Stream stream, float[][] array, bool smart=true, int maxCount=0, int skip=0, int labels=10) |
| Reads labels from the MNIST format. More... | |
| static Image [] | FromMnist (string fileName, bool normalize=true, int maxCount=0, int skip=0, bool emnist=false) |
| Reads images from the MNIST dataset. More... | |
| static float [][] | FromMnistLabels (string fileName, bool smart=true, int maxCount=0, int skip=0, int labels=10) |
| Reads labels from the MNIST dataset. More... | |
| static void | FromMnist (string fileName, Image[] array, bool normalize=true, int maxCount=0, int skip=0, bool emnist=false) |
| Reads images from the MNIST dataset. More... | |
Properties | |
| int | Depth [get] |
| The depth of the image. More... | |
| int | Width [get] |
| The width of the image. More... | |
| int | Height [get] |
| The height of the image. More... | |
| float [] | Raw [get] |
| The data contained by the image. More... | |
Represents an image.
| NeuralSharp.Convolutional.Image.Image | ( | int | depth, |
| int | width, | ||
| int | height, | ||
| bool | c = false |
||
| ) |
Creates an instance of the
Image
class.
| depth | The depth of the image. |
| width | The width of the image. |
| height | The height of the image. |
| c | Wether to use an array to encode the image. |
|
static |
Returns the central scaled portion from the given image.
| path | The path of the image to be copied from. |
| width | The width of the image. |
| height | The height of the image. |
| void NeuralSharp.Convolutional.Image.Export | ( | string | path, |
| ImageFormat | format | ||
| ) |
Saves the image to a file.
| path | The file to be exported into. |
| format | The format of the output image. |
| void NeuralSharp.Convolutional.Image.Export | ( | string | path | ) |
Saves the image to a file.
| path | The file to be exported into. |
| void NeuralSharp.Convolutional.Image.FromArray | ( | float [] | array, |
| int | skip, | ||
| int | w, | ||
| int | x, | ||
| int | y, | ||
| int | depth, | ||
| int | width, | ||
| int | height | ||
| ) |
Copies data from an array.
| array | The array to be copied from. |
| skip | The index of the first entry of the array to be used. |
| w | The W coordinate of the first value to be copied into. |
| x | The X coordinate of the first value to be copied into. |
| y | The Y coordinate of the first value to be copied into. |
| depth | The depth of the portion to be copied into. |
| width | The width of the portion to be copied into. |
| height | The height of the portion to be copied into. |
| void NeuralSharp.Convolutional.Image.FromArray | ( | float [] | array, |
| int | skip = 0 |
||
| ) |
Copies data from an array.
| array | The array to be copied from. |
| skip | The index of the first entry of the array to be used. |
| void NeuralSharp.Convolutional.Image.FromBitmap | ( | Bitmap | image | ) |
Copies data from the given image.
| image | The image to be copied from. |
| void NeuralSharp.Convolutional.Image.FromBitmap | ( | string | path | ) |
Copies data from the given image.
| path | The image to be copied from. |
| void NeuralSharp.Convolutional.Image.FromImage | ( | Image | image | ) |
Copies the data from the given image.
| image | The image to be copied from. |
| void NeuralSharp.Convolutional.Image.FromImage | ( | Image | image, |
| int | sourceW, | ||
| int | sourceX, | ||
| int | sourceY, | ||
| int | thisW, | ||
| int | thisX, | ||
| int | thisY, | ||
| int | depth, | ||
| int | width, | ||
| int | height | ||
| ) |
Copies the data from the given image.
| image | The image to be copied from. |
| sourceW | The W coordinate of the first value of the given image to be used. |
| sourceX | The X coordinate of the first value of the given image to be used. |
| sourceY | The Y coordinate of the first value of the given image to be used. |
| thisW | The W coordinate of the first value to be copied into. |
| thisX | The X coordinate of the first value to be copied into. |
| thisY | The Y coordinate of the first value to be copied into. |
| depth | The depth of the portion to be copied. |
| width | The width of the portion to be copied. |
| height | The height of the portion to be copied. |
| void NeuralSharp.Convolutional.Image.FromImage | ( | Image | image, |
| int | depth, | ||
| int | width, | ||
| int | height | ||
| ) |
Copies the data from the given image.
| image | The image to be copied from. |
| depth | The depth of the portion to be copied. |
| width | The width of the portion to be copied. |
| height | The height of the portion to be copied. |
| void NeuralSharp.Convolutional.Image.FromImageScaled | ( | Image | image, |
| int | sourceW, | ||
| int | sourceX, | ||
| int | sourceY, | ||
| int | thisW, | ||
| int | thisX, | ||
| int | thisY, | ||
| int | depth, | ||
| int | sourceWidth, | ||
| int | sourceHeight, | ||
| int | thisWidth, | ||
| int | thisHeight | ||
| ) |
Copies data from the given image, scaling it.
| image | The image to be copied from. |
| sourceW | The W coordinate of the first value of the given image to be used. |
| sourceX | The X coordinate of the first value of the given image to be used. |
| sourceY | The Y coordinate of the first value of the given image to be used. |
| thisW | The W coordinate of the first value to be copied into. |
| thisX | The X coordinate of the first value to be copied into. |
| thisY | The Y coordinate of the first value to be copied into. |
| depth | The depth of the portion to be copied. |
| sourceWidth | The width of the portion to be copied. |
| sourceHeight | The height of the portion to be copied. |
| thisWidth | The resulting width of the portion to be copied. |
| thisHeight | The resulting height of the portion to be copied. |
| void NeuralSharp.Convolutional.Image.FromImageScaled | ( | Image | image, |
| int | sourceX, | ||
| int | sourceY, | ||
| int | thisX, | ||
| int | thisY, | ||
| int | sourceWidth, | ||
| int | sourceHeight, | ||
| int | thisWidth, | ||
| int | thisHeight | ||
| ) |
Copies data from the given image, scaling it.
| image | The image to be copied from. |
| sourceX | The X coordinate of the first value to be copied from. |
| sourceY | The X coordinate of the first value to be copied from. |
| thisX | The X coordinate of the firt value to be copied into. |
| thisY | The Y coordinate of the first value to be copied into. |
| sourceWidth | The width of the portion to be copied. |
| sourceHeight | The height of the portion to be copied. |
| thisWidth | The resulting width of the portion to be copied. |
| thisHeight | The resulting height of the portion to be copied. |
| void NeuralSharp.Convolutional.Image.FromImageScaled | ( | Image | image | ) |
Copies the data from the given image, scaling it.
| image | The image to be copied from. |
|
static |
Gets images from the MNIST format.
| stream | The stream to be read. |
| normalize | Whether to normalize the images. |
| maxCount | The maximum amount of images to be read. |
| skip | The index of the first entry of the dataset to be read. |
| emnist | Whether it is the EMNIST format. |
|
static |
Gets images from the MNIST dataset.
| stream | The stream to be read. |
| array | The array to be written the images into. |
| normalize | Whether to normalize the images. |
| maxCount | The maximum amount of images to be read. |
| skip | The index of the first image of the dataset to be read. |
| emnist | Whether it is the EMNIST format. |
|
static |
Reads images from the MNIST dataset.
| fileName | The path of the dataset. |
| normalize | Whether to normalize the images. |
| maxCount | The maximum amount of images to be read. |
| skip | The index of the first entry to be read. |
| emnist | Whether it's the EMNIST dataset. |
|
static |
Reads images from the MNIST dataset.
| fileName | The path of the dataset. |
| array | The array to be written the images into. |
| normalize | Whether to normalize the images. |
| maxCount | The maximum amount of images to be read. |
| skip | The index of the first image to read. |
| emnist | Whether it's the EMNIST dataset. |
|
static |
Reads labels form the MNIST format.
| stream | The stream to be read the labels from. |
| smart | Whether to save memory. |
| maxCount | The maximum amount of labels to be read. |
| skip | The index of the first label to read. |
| labels | The amount of labels. |
|
static |
Reads labels from the MNIST format.
| stream | The stream to be read the labels from. |
| array | The array to be written the labels into. |
| smart | Whether to save space. |
| maxCount | The maximum amount of read labels. |
| skip | The index of the first label to be read. |
| labels | The amount of labels. |
|
static |
Reads labels from the MNIST dataset.
| fileName | The path of the dataset. |
| smart | Whether to save space. |
| maxCount | The maximum amount of images to be read. |
| skip | The index of the first label to be read. |
| labels | The amount of labels. |
| float NeuralSharp.Convolutional.Image.GetValue | ( | int | w, |
| int | x, | ||
| int | y | ||
| ) |
Gets a value contained in the image, given its coordinates.
| w | The W coordinate of the value. |
| x | The X coordinate of the value. |
| y | The Y coordinate of the value. |
| void NeuralSharp.Convolutional.Image.Normalize | ( | ) |
Normalizes the values in the image.
| void NeuralSharp.Convolutional.Image.SetValue | ( | int | w, |
| int | x, | ||
| int | y, | ||
| float | value | ||
| ) |
Sets a value in the image.
| w | The W coordinate of the value. |
| x | The X coordinate of the value. |
| y | The Y coordinate of the value. |
| value | The value. |
| void NeuralSharp.Convolutional.Image.ToArray | ( | int | depth, |
| int | width, | ||
| int | height, | ||
| float [] | array, | ||
| int | arraySkip = 0 |
||
| ) |
Copies the content of the image into an array.
| depth | The depth of the portion of the image to be copied. |
| width | The width of the portion of the image to be copied. |
| height | The height of the portion of the image to be copied. |
| array | The array to be copied the image into. |
| arraySkip | The index of the first position of the array to be used. |
| void NeuralSharp.Convolutional.Image.ToArray | ( | float [] | array, |
| int | arraySkip = 0 |
||
| ) |
Copies the content of the image into an array.
| array | The array to be copied into. |
| arraySkip | The index of the first position of the array to be used. |
| Bitmap NeuralSharp.Convolutional.Image.ToBitmap | ( | int | w, |
| bool | smart = false |
||
| ) |
Exports the image.
| w | The W coordinate of the portion to be exported. |
| smart | true true |
| Bitmap NeuralSharp.Convolutional.Image.ToBitmap | ( | ) |
Exports the image.
| Bitmap NeuralSharp.Convolutional.Image.ToGreenBitmap | ( | ) |
Creates a green and black version of the image.
|
get |
The depth of the image.
|
get |
The height of the image.
|
get |
The data contained by the image.
|
get |
The width of the image.


GOOD MORNING SIR/MAM. My name is Atul Chopra. I m graduating B-Tech in computer science and engineering from Chitkara University.I can give my 100% best to arise the level of company.
Download CVGOOD MORNING SIR/MAM. My name is Atul Chopra. I m graduating B-Tech in computer science and engineering from Chitkara University.I can give my 100% best to arise the level of company.
GOOD MORNING SIR/MAM. My name is Atul Chopra. I m graduating B-Tech in computer science and engineering from Chitkara University.I can give my 100% best to arise the level of company.
GOOD MORNING SIR/MAM. My name is Atul Chopra. I m graduating B-Tech in computer science and engineering from Chitkara University.I can give my 100% best to arise the level of company.
Home garden or homegarden may refer to: The yard areas surrounding a house: Residential garden · Back garden · Front garden · Forest garden · Pekarangan ...
Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus ipsa, quidem cumque ex qui repellendus accusamus eum id quis officia nisi totam nam, harum omnis. Similique sequi vitae reprehenderit quaerat?