[BioC] cursor position on image

Oleg Sklyar osklyar at ebi.ac.uk
Wed Jan 9 11:05:02 CET 2008


It is actually on a TODO list to implement the coordinate tracker, it 
should be done soon. Oleg

Dr Oleg Sklyar * EBI-EMBL, Cambridge CB10 1SD, England * +44-1223-494466


Peter Hietz wrote:
> Hi,
> 
> I am using the EBImage package for image display and analysis and want 
> to read the cursor (mouse) position on the image. The R-function 
> "locator()" would be ideal, but this appears to work only on plots, not 
> images.
> 
>> a <- Image((0:(w^2))/w^2, c(w,w))
>> if ( interactive() ) display(a)
>> locator(n = 10, type = "p")
> Error in locator(n = 10, type = "p") : plot.new has not been called yet
> 
> 
> Is there a similar function that works with dispalyed images ?
> 
> thanks
> Peter
> 
> 
> 
> ----------------------------------------------------
> Peter Hietz
> Institute of Botany
> University of Natural Resources 
> and Applied Life Sciences
> Gregor Mendel-Str.33
> 1180 Vienna, Austria
> tel: +43-1-47654-3154
> fax: +43-1-47654-3180
> email: peter.hietz at boku.ac.at
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list