comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Scale many regions in one image without using xroi
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Scale many regions in one image without using xroi [message #81687] Mon, 08 October 2012 06:12
eeaal is currently offline  eeaal
Messages: 4
Registered: October 2012
Junior Member
Hi,

I've been searching all morning and can't find an answer to a problem
I'm having:

I have two 2-D arrays which have clusters of 1s in an array of 0s.
I'm interested these clusters (shapes). Some of the shapes are
present in both arrays, some are missing from one or the other and in
array 2 the shapes are too small. I want to scale up the shapes in
array 2 so that the coincident shapes are the same size in both
arrays. I can use label_region to find the shapes and calculate a
correction factor. I just need a way to scale the shapes, presumeably
by growing them from a central point.

Any ideas? I want to include this in a program which loops round
hundreds of images so using XROI is not really an option...

Thanks in advance.

AA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Programming Gods Exacting Revenge
Next Topic: IDL Help on the web

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:41:53 PDT 2025

Total time taken to generate the page: 0.00403 seconds