Mercurial > cortex
comparison org/gabor.org @ 373:6205677359e9
minor formatting.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 12 Mar 2013 04:22:40 +0000 |
parents | 182f890a9a9d |
children | 31f15781db36 |
comparison
equal
deleted
inserted
replaced
372:182f890a9a9d | 373:6205677359e9 |
---|---|
289 | 289 |
290 new-mat (Mat.) | 290 new-mat (Mat.) |
291 | 291 |
292 ] | 292 ] |
293 | 293 |
294 (org.opencv.imgproc.Imgproc/filter2D i new-mat CvType/CV_32F kernel) | 294 (org.opencv.imgproc.Imgproc/filter2D |
295 i new-mat CvType/CV_32F kernel) | |
295 | 296 |
296 (org.opencv.highgui.Highgui/imwrite "/home/r/ppp.png" new-mat) | 297 (org.opencv.highgui.Highgui/imwrite "/home/r/ppp.png" new-mat) |
297 | 298 |
298 (view (ImagePlus. input)) | 299 (view (ImagePlus. input)) |
299 (view (ImagePlus. output)))) | 300 (view (ImagePlus. output)))) |
306 new-mat (Mat.)] | 307 new-mat (Mat.)] |
307 | 308 |
308 (println dest) | 309 (println dest) |
309 (if (not (.exists (File. dest))) | 310 (if (not (.exists (File. dest))) |
310 (do | 311 (do |
311 (org.opencv.imgproc.Imgproc/filter2D i new-mat CvType/CV_32F kernel) | 312 (org.opencv.imgproc.Imgproc/filter2D |
313 i new-mat CvType/CV_32F kernel) | |
312 (org.opencv.highgui.Highgui/imwrite dest new-mat) | 314 (org.opencv.highgui.Highgui/imwrite dest new-mat) |
313 (println "mogrify" "-modulate" "1000%" dest) | 315 (println "mogrify" "-modulate" "1000%" dest) |
314 (sh "mogrify" "-modulate" "1000%" dest))))) | 316 (sh "mogrify" "-modulate" "1000%" dest))))) |
315 | 317 |
316 | 318 |