Commit 01874472 authored by Jan Eichler's avatar Jan Eichler
Browse files

patch for issue #2

parent fc299a81
......@@ -23,7 +23,7 @@
#include "marray.hxx"
#include "seg.h"
std::string cAxes_version = "21.02.11 slim";
std::string cAxes_version = "21.03.01 slim";
class Grains
{
......
......@@ -421,13 +421,13 @@ int analysis()
vigra::IImage boundary_label_image(mWidth,mHeight);
vigra::seededRegionGrowing(vigra::srcImageRange(grain_label_image), vigra::srcImage(grain_label_image), vigra::destImage(boundary_label_image),
gradstat, vigra::CompleteGrow);
/*
// mask background in boundary label image
for (int y=0; y<mHeight; y++)
for (int x=0; x<mWidth; x++)
if (bground_image(x,y)==0)
boundary_label_image(x,y) = 0;
*/
//array to store regions
unsigned int** region_image=new unsigned int* [mHeight];
for (int i=0; i<mHeight; i++) region_image[i]=new unsigned int[mWidth];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment