Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11138

Re: why is imagelines performance so bad?

From Matthias Odisio <matthias@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: why is imagelines performance so bad?
Date 2012-07-31 02:19 +0000
Message-ID <jv7fav$1fm$1@smc.vnet.net> (permalink)
References <20120728063939.E30F9684B@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Larry,

On 7/28/12 1:39 , larry wrote:
> Why is ImageLines performance so bad when I have cleaned up an image to have thick checkerboard pattern but ImageLines produces a lot of extra lines. I don't see where it's getting it.
> Can we add images here?
> 

It would be nice to see the problematic image; perhaps with suitable
settings of the parameters and the method option the results could be
improved.

For example on this checkerboard the automatic settings work just fine:

img = ImageResize[
  Image[ArrayPad[IdentityMatrix[2], 3, "Reflected"], "Bit"], 256,
  Resampling -> "Nearest"]

e = EdgeDetect[img]

l = ImageLines[e];

Show[img, Graphics[{Blue, Thick, Line /@ l}]]


Matthias Odisio
Wolfram Research

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: why is imagelines performance so bad? Matthias Odisio <matthias@wolfram.com> - 2012-07-31 02:19 +0000

csiph-web