hello,
i was very happy to find that with the function 'mphimage2geom' provided in Matlab LiveLink it's possible to convert a grey scale image into geometry. It's quite cool. A comsol model can be generated with the function. then physics can be assigned to the geometry in the comsol model. But now my problem is that the functions sometime works, sometimes not.
Details about my problem: 2 images are attached here. the image named 'test_original.tif' can be directly converted into geometry without any problem. but with the image 'test_processed.tif' in which the empty space is filled in ImageJ , it doesn't work anymore. Matlab gives error message on matrix dimension problem. But the image dimension was not changed at all. Can someone help to explain where it goes wrong? Has anyone had this problem before?
Thank you!
Chunyan
i was very happy to find that with the function 'mphimage2geom' provided in Matlab LiveLink it's possible to convert a grey scale image into geometry. It's quite cool. A comsol model can be generated with the function. then physics can be assigned to the geometry in the comsol model. But now my problem is that the functions sometime works, sometimes not.
Details about my problem: 2 images are attached here. the image named 'test_original.tif' can be directly converted into geometry without any problem. but with the image 'test_processed.tif' in which the empty space is filled in ImageJ , it doesn't work anymore. Matlab gives error message on matrix dimension problem. But the image dimension was not changed at all. Can someone help to explain where it goes wrong? Has anyone had this problem before?
Thank you!
Chunyan