i am just wondering because this application has a calibration utility. does this application has a function or anything that can change the dpi of an image?
i was subscribed to a forum and asked on changing the dpi of images. and they suggested why not try it here. i just need an idea as to how to do this... im not new in java but im new in image processing. i have no idea what classes to use. changing image dpi and displaying it on screen... i would gladly accept any information on this... ---x---x--- if you can't be the sun, be a star. ---x---x--- --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. |
To answer your question:
Yes. I direct your attention to the docs at http://rsb.info.nih.gov/ij/docs/ In particular, see the documentation for "Set Scale..." under the Analyze menu. You don't need to know anything about classes to use ImageJ. Its an application with a great built-in macro language to automate image processing and analysis tasks. If you NEED to program in Java using ImageJ classes, the best place to start is with the developers' resources page at http://rsb.info.nih.gov/ij/developer/index.html. I found the "Writing ImageJ Plugins - A Tutorial" link to be a godsend for me as a junior Java programmer. -- Harry Parker ----- Original Message ---- From: whirlpool_fj <[hidden email]> To: [hidden email] Sent: Wednesday, March 21, 2007 9:14:29 PM Subject: query on the product i am just wondering because this application has a calibration utility. does this application has a function or anything that can change the dpi of an image? i was subscribed to a forum and asked on changing the dpi of images. and they suggested why not try it here. i just need an idea as to how to do this... im not new in java but im new in image processing. i have no idea what classes to use. changing image dpi and displaying it on screen... i would gladly accept any information on this... ---x---x--- if you can't be the sun, be a star. ---x---x--- --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news |
In reply to this post by whirlpool_fj
>Hi,
DPI refers to dot per inch. ImageJ does not refer internally to this concept. Images are always calculated as absolute pixel x pixel values. The calibration seting, though, is very similar to DPI but the units are entrely arbitrary =user-selected you can calibrate to micro-meters, meters, kilometers, miles, inches etc. You only type in the scale factor, or if you dont know the number you can measure a structure with a known size and then use the measurement as the feed-in into the calibrtation. cheers _______________________________________________________________________ Dr Dimiter Prodanov, MD, Ph.D. Neural Engineering Rehabilitation Laboratory (Laboratoire de Génie de la Réhabilitation Neurale) Département de Physiologie et Pharmacologie Université catholique de Louvain Avenue Hippocrate, 54 POBox UCL-5446 / B-1200 Bruxelles -Belgique- Phone: 00-322-764 5596 Fax: 00-322-764 9422 http://www.md.ucl.ac.be/gren |
Hi,
On Thu, 22 Mar 2007, Dimiter Prodanov wrote: > DPI refers to dot per inch. ImageJ does not refer internally to this concept. > Images are always calculated as absolute pixel x pixel values. > The calibration seting, though, is very similar to DPI > but the units are entrely arbitrary =user-selected > you can calibrate to micro-meters, meters, kilometers, miles, inches etc. > You only type in the scale factor, or if you dont know the number > you can measure a structure with a known size and then use the > measurement as the feed-in into the calibrtation. In effect, you _can_ set DPI, by setting the voxel sizes accordingly. But as far as I can tell, there is no dialog to set that yet. As a workaround, you can create a new macro, and write something like setVoxelSize(2.3, 1, 10.2, "inch"); and run that macro, to set the voxel dimensions 2.3 x 1 x 10.2 inch^3. Hth, Dscho P.S.: If you need it as a user-friendly dialog, I can write a simple plugin for that. |
Free forum by Nabble | Edit this page |