example image:
https://drive.google.com/file/d/0ByRgd8_Fg3FkQW44REF1SWo5Q2M/view?usp=sharing -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Paul,
you could try the 'Versatile Wand' plugin, with the following options: 'eydropper color' selected, mode = 'Non-contigupus', and a small value tolerance (maybe 2 or so) Then use the eydropper to select the prototype color, select the Versatile Wand tool and click somewhere into the image. It will select all areas having the eydropper color within the tolerance. Of course, this assumes that the prototype colors and the object (teeth) have been photographed with exactly the same illumination conditions. In your images, there are reflections, so this condition is not really fulfilled. It may help to blur the areas with the prototype colors before using the eyedropper, to reduce the noise. http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_wand:start Michael ________________________________________________________________ On Jul 10, 2015, at 16:48, Paul Labno wrote: > example image: > https://drive.google.com/file/d/0ByRgd8_Fg3FkQW44REF1SWo5Q2M/view?usp=sharing > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html On Jul 10, 2015, at 16:44, Paweł Łabno wrote: > how to match color inside selection with another color? > in example: selection should match A3 below the image -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
i tried to use Versatile Wand but have some problems:
console log: Compiling 1 file in C:\Users\I3\AppData\Local\Temp\java8607712318324216977 Note: C:\Users\I3\AppData\Local\Temp\java8607712318324216977\src\main\java\Versatile_Wand.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. if i click Versatile Wand tool on menu and select some point a dialog appears with text: Could not load class Versatile Wand on line 3: call ("Versatile_Wand.mousePressed", x, y <)>; so i think it has some problem with getting coordinates. when i enter them manually it works. [image: Inline images 1] On 10 July 2015 at 17:22, Michael Schmid <[hidden email]> wrote: > Hi Paul, > > you could try the 'Versatile Wand' plugin, with the following options: > 'eydropper color' selected, mode = 'Non-contigupus', and a small value > tolerance (maybe 2 or so) > Then use the eydropper to select the prototype color, select the Versatile > Wand tool and click somewhere into the image. It will select all areas > having the eydropper color within the tolerance. > > Of course, this assumes that the prototype colors and the object (teeth) > have been photographed with exactly the same illumination conditions. In > your images, there are reflections, so this condition is not really > fulfilled. > > It may help to blur the areas with the prototype colors before using the > eyedropper, to reduce the noise. > > > http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_wand:start > > Michael > ________________________________________________________________ > On Jul 10, 2015, at 16:48, Paul Labno wrote: > > > example image: > > > https://drive.google.com/file/d/0ByRgd8_Fg3FkQW44REF1SWo5Q2M/view?usp=sharing > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > On Jul 10, 2015, at 16:44, Paweł Łabno wrote: > > > how to match color inside selection with another color? > > in example: selection should match A3 below the image > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > ImageJ mailing list: http://imagej.nih.gov/ij/list.html q1.jpg (514K) Download Attachment |
On Sat, July 11, 2015 10:18, Pawel Labno wrote:
> i tried to use Versatile Wand but have some problems: > > console log: > Compiling 1 file in C:\Users\I3\AppData\Local\Temp\java8607712318324216977 > Note: > C:\Users\I3\AppData\Local\Temp\java8607712318324216977\src\main\java\Versatile_Wand.java > uses or overrides a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > > > if i click Versatile Wand tool on menu and select some point a dialog > appears with text: > Could not load class Versatile Wand on line 3: > call ("Versatile_Wand.mousePressed", x, y <)>; > Hi Pawel, If it works manually, you can also try the Command Finder (shift-L) and see what class it reports for the Versatile Wand. If the class has some prefix, please add it to the first argument of the 'call' command in the macro. It may be also related to the infamous Fiji 'Compile&Run' bug. Please download the .class file from the plugin's page. It seems that compiling with 'Compile&Run' currently only works well with plain ImageJ. [yes, I know, the first problem could be avoided by converting the Versatile Wand to a PlugInTool, but I am currently too busy with other things to do it] Michael -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Michael Schmid
Hi Paul,
Another option could be the color segmentation plugin from Daniel Saga (http://bigwww.epfl.ch/sage/soft/colorsegmentation/). Obviously the problem Michael points out is not solved with it. Kees -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Michael Schmid Sent: 10 July 2015 16:22 To: [hidden email] Subject: Re: example Hi Paul, you could try the 'Versatile Wand' plugin, with the following options: 'eydropper color' selected, mode = 'Non-contigupus', and a small value tolerance (maybe 2 or so) Then use the eydropper to select the prototype color, select the Versatile Wand tool and click somewhere into the image. It will select all areas having the eydropper color within the tolerance. Of course, this assumes that the prototype colors and the object (teeth) have been photographed with exactly the same illumination conditions. In your images, there are reflections, so this condition is not really fulfilled. It may help to blur the areas with the prototype colors before using the eyedropper, to reduce the noise. http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_wand:start Michael ________________________________________________________________ On Jul 10, 2015, at 16:48, Paul Labno wrote: > example image: > https://drive.google.com/file/d/0ByRgd8_Fg3FkQW44REF1SWo5Q2M/view?usp= > sharing > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html On Jul 10, 2015, at 16:44, Paweł Łabno wrote: > how to match color inside selection with another color? > in example: selection should match A3 below the image -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
i try to find the closest matching color to patients tooth and it works by
using Versatile Wand. but I have some problem with quality: 1)when i open RAW/NEF photo it is a very small 75k image, originally it is 42mb. when i import it, i've got black window. working on jpg file is loosing quality i need. 2)should i work on rgb/Lab color mode? [image: Inline images 2][image: Inline images 1] On 13 July 2015 at 09:44, Straatman, Kees (Dr.) <[hidden email]> wrote: > Hi Paul, > > Another option could be the color segmentation plugin from Daniel Saga ( > http://bigwww.epfl.ch/sage/soft/colorsegmentation/). Obviously the > problem Michael points out is not solved with it. > > Kees > > -----Original Message----- > From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of > Michael Schmid > Sent: 10 July 2015 16:22 > To: [hidden email] > Subject: Re: example > > Hi Paul, > > you could try the 'Versatile Wand' plugin, with the following options: > 'eydropper color' selected, mode = 'Non-contigupus', and a small value > tolerance (maybe 2 or so) Then use the eydropper to select the prototype > color, select the Versatile Wand tool and click somewhere into the image. > It will select all areas having the eydropper color within the tolerance. > > Of course, this assumes that the prototype colors and the object (teeth) > have been photographed with exactly the same illumination conditions. In > your images, there are reflections, so this condition is not really > fulfilled. > > It may help to blur the areas with the prototype colors before using the > eyedropper, to reduce the noise. > > > http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_wand:start > > Michael > ________________________________________________________________ > On Jul 10, 2015, at 16:48, Paul Labno wrote: > > > example image: > > https://drive.google.com/file/d/0ByRgd8_Fg3FkQW44REF1SWo5Q2M/view?usp= > > sharing > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > On Jul 10, 2015, at 16:44, Paweł Łabno wrote: > > > how to match color inside selection with another color? > > in example: selection should match A3 below the image > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |