Search found 8 matches

by eitanmiz
2019-02-02T03:51:09-07:00
Forum: Magick.NET
Topic: ImageMagick C# - convolution.
Replies: 0
Views: 105219

ImageMagick C# - convolution.

Hello,
I am doing convolution in C# core by using ImageMagick.Convolve() function.

When I doing the convolution manually, I got totaly different result.

The library is Magick.NET-Q16-x64.

I am using this library for 12 bits depth.

When convolution is over 4095 (2^12 - 1) or less than zero, I ...
by eitanmiz
2018-11-16T14:43:34-07:00
Forum: Magick.NET
Topic: writing area on big picture without loading the image into memory
Replies: 1
Views: 10980

writing area on big picture without loading the image into memory

Hello,

I have a picture of 1000k x 1000k pixels.
The picture may come in format jp2 or tif .

I want to write a block of area , i.e 30k x 30k on the big picture (don't has to be that size exactly - if I can write to specific areas, such as tiles - it's ok), without load the picture into memory ...
by eitanmiz
2018-11-14T08:15:25-07:00
Forum: Magick.NET
Topic: Parallel work - C#
Replies: 7
Views: 18579

Re: Parallel work - C#

Same exception:
'magick' is not recognized as an internal or external command

I didn't do any magick installation outside visual studio - just installed it by visual studio 2017 -> manage nuget package.

This is forum for magick.net, so I persume that it's OK to post here. I am not using c ...
by eitanmiz
2018-11-14T06:47:21-07:00
Forum: Magick.NET
Topic: Parallel work - C#
Replies: 7
Views: 18579

Re: Parallel work - C#

I don't understand.
I am new to magickImage.
In visual studio 2017, where can I write magick -version?

In package manager console I wrote:
magick -version

and got the exception:
magick : The term 'magick' is not recognized as the name of a cmdlet, function, ...

As I said, Magick.NET-Q8-x64 ver 7 ...
by eitanmiz
2018-11-14T01:44:26-07:00
Forum: Magick.NET
Topic: fast convert any bmp to rgb byte array - C#
Replies: 2
Views: 16790

Re: fast convert any bmp to rgb byte array - C#

For very big image - I assume that "tiles" (area of the picture) can solve the problem, and I can handle and save each tile separately.
(maybe that is TIF and JP2 for).

If that solve the issue, I also assume that for 100000 x 10000000 pixels ImageMagick doesn't encounter memory overflow when ...
by eitanmiz
2018-11-14T01:35:22-07:00
Forum: Magick.NET
Topic: Parallel work - C#
Replies: 7
Views: 18579

Re: Parallel work - C#

Magick.NET-Q8-x64 ver 7.8.0.

I think it is OpenJP2.

I don't know how can I declare parallelism
(Maybe:
MagickImage mi = new MagickImage (...)
mi.Settings.<something> ? solve that issue)

i.e how many threads, and not doing this by myself (let imagemagick handle that).
For Convolve function - I ...
by eitanmiz
2018-11-13T07:54:13-07:00
Forum: Magick.NET
Topic: Parallel work - C#
Replies: 7
Views: 18579

Parallel work - C#

Hello,

1.
How can I parallel work of MagickImage.Convolve(...) so it will work on several threads.
Can I control what behind the thread (i.e for first thread - i want to know which area is responsible by the thread, and even send this information to other processes).

2.
I need to load the image ...
by eitanmiz
2018-11-12T15:29:38-07:00
Forum: Magick.NET
Topic: fast convert any bmp to rgb byte array - C#
Replies: 2
Views: 16790

fast convert any bmp to rgb byte array - C#

Hello,
In my code I did:
MagickImage im = new MagickImage(<my file name>);
IPixelCollection pc = im.GetPixelsUnsafe();

...
The image is grayscale so it has 2 channels,
but I want to fast convert it to 3 colors (and save the binary data - only the byte array of rgb to file).
Also convert to 1 color ...