Error loading OpenCV in Java for Image Processing -


i facing problem in loading opencv in java(eclipse, mac osx). new java , main target image processing.i have checked several examples online but....i have few queries actually:

0) can instruct me how use opencv library java in eclipse in mac os x? have downloaded jar , done import....

1) below sample of code

mat = highgui.imread("/users/.../dropbox/imagejspace/image_0001.jpg", 1);     mat b = null;     imgproc.cvtcolor(a, b, imgproc.color_bgr2gray);      highgui.imwrite("/users/.../dropbox/imagejspace/image_0001gray.jpg", b); 

in section, trying read image, covert matrix, graysale , save image again. in examples checked online, have mentioned cvtcolor overtime try write doesn't work. have write highgui.cvtcolor , each keyword new library.

2) following error:

exception in thread "main" java.lang.unsatisfiedlinkerror: no opencv_java in java.library.path @ java.lang.classloader.loadlibrary(classloader.java:1764) @ java.lang.runtime.loadlibrary0(runtime.java:823) @ java.lang.system.loadlibrary(system.java:1044) @ org.opencv.highgui.highgui.<clinit>(highgui.java:416) @ expertising.imagemodifications.mat2img(imagemodifications.java:382) @ expertising.main.main(main.java:7) 

i don't know how rid of this..

3) clear program, longer section, have used following imports:

import org.opencv.core.core; import org.opencv.core.mat; import org.opencv.core.size; import org.opencv.highgui.highgui; import org.opencv.imgproc.imgproc; 

4) want process dicom images using opencv. there method work that?

5) have imported imagej library work dicom. can open , display. can read , work pixels?

6) interested in studying structure tensor in dicom images. how can read individual pixels dicom?

7) working in studying directionality. there method better explore it?

8) can convert dicom image matrix , explore pixels matrix use of jama?

please help,, lot....

i don't know opencv here tutorial on how use opencv eclipse.

as dicom found this:

opencv not support dicom images have find suitable libary (like http://dicom.offis.de/dcmtk.php.en ) , convert loaded image cv::mat.

i suggest using opencv questions site question.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -