Edge Detection, Image Manipulation, and Data Extractio

Discuss digital image processing techniques and algorithms. We encourage its application to ImageMagick but you can discuss any software solutions here.
rsangole
Posts: 11
Joined: 2014-07-26T13:57:41-07:00
Authentication code: 6789

Re: Edge Detection, Image Manipulation, and Data Extractio

Post by rsangole »

fmw42 wrote:What is R? Ruby?
Nope. R is a statistical programming language.

http://www.r-project.org/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Edge Detection, Image Manipulation, and Data Extractio

Post by fmw42 »

rsangole wrote:
fmw42 wrote:What is R? Ruby?
Nope. R is a statistical programming language.

http://www.r-project.org/
That is pretty neat! I did not know about that. I will have to look into that further. So I take it you just want to get x,y points and pass them to R for your analysis. Perhaps that will be all you will need and not the Hough data.

Please get back with what results you are able to get from using it on this data set. I am curious to see how you get the information you need from just the list of x,y coordinates.
rsangole
Posts: 11
Joined: 2014-07-26T13:57:41-07:00
Authentication code: 6789

Re: Edge Detection, Image Manipulation, and Data Extractio

Post by rsangole »

snibgo wrote:
rsangole wrote:... can't figure out how to permanently change the PATH and MAGICK_HOME variables
Re white/gray(255): perhaps IM can't find colors.xml, which should be in MAGICK_HOME.
You're probably right. Wierdly... through terminal, $PATH and $MAGICK_HOME turn out OK.

Code: Select all

Rahuls-MacBook-Pro:~ Rahul$ $MAGICK_HOME
-bash: /Users/Rahul/Documents/ImageMagick-6.8.9: is a directory
Rahuls-MacBook-Pro:~ Rahul$ $PATH
-bash: /Users/Rahul/Documents/ImageMagick-6.8.9/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin: No such file or directory
Rahuls-MacBook-Pro:~ Rahul$ 
But, calling them through R, I don't get the same results:

Code: Select all

> system("$PATH")
sh: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/opt/local/bin: No such file or directory
> system("$MAGICK_HOME")
> 
Any ideas?
rsangole
Posts: 11
Joined: 2014-07-26T13:57:41-07:00
Authentication code: 6789

Re: Edge Detection, Image Manipulation, and Data Extractio

Post by rsangole »

Solved:

https://support.rstudio.com/hc/communit ... orks-fine-
By default OSX GUI applications don't inherit the environment variables set in the .profile file. The easiest way to solve this is simply to invoke RStudio from the Terminal using the following command:
open -a RStudio
which will open it using the .profile settings you've configured on your machine.
Post Reply