Search found 11 matches

by rsangole
2014-07-27T06:10:59-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

Solved: https://support.rstudio.com/hc/communities/public/questions/200629578-system-call-from-RStudio-does-not-find-path-same-command-from-commandline-R-works-fine- By default OSX GUI applications don't inherit the environment variables set in the .profile file. The easiest way to solve this is sim...
by rsangole
2014-07-27T05:38:47-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

... 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. Rahuls-MacBook-Pro:~ Rahul$ $MAGICK_HOME -b...
by rsangole
2014-07-26T22:13:05-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

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

http://www.r-project.org/
by rsangole
2014-07-26T21:55:08-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

Perfect! I've gone from concept-idea in my head, to a working extraction of X Y coordinates within a day, thanks to you! I'll try and use the Hough transform later... but for now, will try to integrate a batch script in R.
by rsangole
2014-07-26T21:48:10-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

P.S. Did you rename the files? --> Yea, I'm using my own filenames...
by rsangole
2014-07-26T21:46:03-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

Yep, that works. How do I save this to a file through the command line?
by rsangole
2014-07-26T21:40:03-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

2nd command also results in gray(), not black/white
by rsangole
2014-07-26T21:37:30-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

Tried the 1st command: convert edge.png txt:- Output: 467,33: (0,0,0) #000000 gray(0) 468,33: (0,0,0) #000000 gray(0) 469,33: (0,0,0) #000000 gray(0) 470,33: (0,0,0) #000000 gray(0) 471,33: (0,0,0) #000000 gray(0) 472,33: (0,0,0) #000000 gray(0) 473,33: (0,0,0) #000000 gray(0) 474,33: (0,0,0) #00000...
by rsangole
2014-07-26T21:00:52-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

Ah. Okay. I'll read up on this. I got the PATHs fixed too, thanks. The last command to get the X Y points doesn't work for me: Rahuls-MacBook-Pro:ImageAnalysis Rahul$ edge_points=`convert edge.png txt:- | grep "white" | sed -n 's/^\([0-9]*,[0-9]*\).*$/\1/p'` Rahuls-MacBook-Pro:ImageAnalysi...
by rsangole
2014-07-26T19:33:44-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Re: Edge Detection, Image Manipulation, and Data Extractio

Fred, Many thanks for that. It was more than I expected from a 1st response... much much appreciated. I had no idea what code you were writing... but figured it was ImageMagick. Then I read up on what this is.. installed it on my mac, and got it working (Barely... can't figure out how to permanently...
by rsangole
2014-07-26T14:02:15-07:00
Forum: Digital Image Processing
Topic: Edge Detection, Image Manipulation, and Data Extractio
Replies: 18
Views: 37685

Edge Detection, Image Manipulation, and Data Extractio

I'm new to this community, and to image processing, but not new to programming (C, VB, Matlab, APDL etc). I'm creating an engineering evaluation tool for a product, that needs to quantify the quality of the edge of a vane. I'll be evaluating hundreds of such vanes using an automated platform with a ...