Juan,
no, I dont generate temporary images (at least not that i know). The process I used is attached as a script below. During those 20 images it can do in one run, memory in the task manager goes from 0.9 to 1.3 GBytes. Each loaded image is a JPG, file size approx. 3.8 MBytes, 3888x2592 RGB pixel.
I got rid of those 120 out of memory messages by defining by disableing "continue on error" in the image container. Ultimately, all my 120 images were processed...
Hope that helps tracing the bug.
Georg
// Total time: 15.288 s
var p = new ProcessContainer;
with ( p )
{
// Start time: 2009/04/11 20:21:33 UTC
// Execution time: 1.295 s
var p_0 = new PixelMath;
with ( p_0 )
{
expression = "$T/vigntettierung";
expression1 = "";
expression2 = "";
expression3 = "";
useSingleExpression = true;
symbols = "";
use64BitWorkingImage = false;
rescale = true;
rescaleLower = 0.0000000000;
rescaleUpper = 1.0000000000;
truncate = true;
truncateLower = 0.0000000000;
truncateUpper = 1.0000000000;
createNewImage = false;
newImageId = "";
newImageWidth = 0;
newImageHeight = 0;
newImageAlpha = false;
newImageColorSpace = SameAsTarget;
newImageSampleFormat = SameAsTarget;
}
add( p_0 );
// Start time: 2009/04/11 20:21:36 UTC
// Execution time: 13.743 s
var p_1 = new MorphologicalTransformation;
with ( p_1 )
{
operator = Dilation;
interlacingDistance = 1;
lowThreshold = 0.000000;
highThreshold = 0.000000;
numberOfIterations = 3;
amount = 0.55;
selectionPoint = 0.50;
structureName = "5x5 Circular Structure";
structureSize = 5;
structureWayTable = // mask
[
[[0x00,0x01,0x01,0x01,0x00,
0x01,0x01,0x01,0x01,0x01,
0x01,0x01,0x01,0x01,0x01,
0x01,0x01,0x01,0x01,0x01,
0x00,0x01,0x01,0x01,0x00]]];
}
add( p_1 );
setMask( 1, "maske" );
// Start time: 2009/04/11 20:21:51 UTC
// Execution time: 0.125 s
var p_2 = new HistogramTransformation;
with ( p_2 )
{
H = // c0, m, c1, r0, r1
[
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000],
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000],
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000],
[0.07500000, 0.54150198, 1.00000000, 0.00000000, 1.00000000],
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000]];
}
add( p_2 );
setMask( 2, "maske" );
// Start time: 2009/04/11 20:21:53 UTC
// Execution time: 0.125 s
var p_3 = new HistogramTransformation;
with ( p_3 )
{
H = // c0, m, c1, r0, r1
[
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000],
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000],
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000],
[0.13125000, 0.44687500, 1.00000000, 0.00000000, 1.00000000],
[0.00000000, 0.50000000, 1.00000000, 0.00000000, 1.00000000]];
}
add( p_3 );
setMask( 3, "maske" );
invertMask( 3 );
}