Login  Register

(no subject)

Posted by Prof. Miron Weinreb on Jan 29, 2015; 11:32am
URL: http://imagej.273.s1.nabble.com/no-subject-tp5011364p5011367.html

Thanks Philippe, but I meant doing this continuously: as you move your
original ROI with the cursor, it is copied to an identical-sized target ROI
on the image.
This is an example in another software:
http://www.imageeffects.8m.com/advclone.html


-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Philippe CARL
Sent: יום ה 29 ינואר 2015 12:39
To: [hidden email]
Subject:

Dear Miron,

> How do I clone in ImageJ (copy a small circular or rectangular area of
> the
image to another part of the image by dragging the cursor)?

Just with Ctrl + C / Ctrl + V...
You drag a circular ROI (or selection up to you how you prefer to name it),
you do Edit->Copy (Ctrl + C) and then Edit->Paste (Ctrl + V) and move around
the copied ROI by means of the mouse or cursor...

The following macro is illustrating it on the "Blobs" example:
run("Blobs (25K)");
//setTool("oval");
makeOval(31, 39, 83, 75);
run("Copy");
run("Paste");
makeOval(126, 142, 83, 75);
run("Paste");
 
My best regards,

Philippe

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html