Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

manipulation of tiff images of size around 500 mb

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I have come across a requirement in project:
1. Reading of pathological images (input file in .tif format of around 500 mb or more size)
2. This has to be read by doctors on go (so mobile app may be apt)
3. Feature to compare two such images (one of the patient , and another of the normal sized person).
I am open to all suggestions, but primarily i think of something like google map, where the image is always expandable and can be zoomed to very minute details. I have googled for google map logic of satellite images , with such details. I wasn't able to get much information.
I would request some suggestions if someone has some experience. Any idea is welcomed .
 
Rancher
Posts: 1051
27
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Keep your original image separate from your working image, so any time you have a image to display to the user, use "getSubImage" from the BufferedImage API to display the section of image you want, you can use "drawImage" from the Graphics API to write or scale the area to the viewable size you want. I used that scheme to give a window/viewport in a game I made some time ago and it works very quickly as each uses native Java counterparts to do what is needed to the selection area and scaling of the image to view.
 
Aditya Narayan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Morgan, I will try to implement it and let you know . It was great help to give me some starting points. Thanks again.
 
Les Morgan
Rancher
Posts: 1051
27
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome. In the game I was able to sustain 40+ fps with this scheme. My image was only 100MB, but you will not have to sustain live video quality.

Aditya Narayan wrote:Thanks Morgan, I will try to implement it and let you know . It was great help to give me some starting points. Thanks again.

 
What do you have to say for yourself? Hmmm? Anything? And you call yourself a tiny ad.
The trailboss has a kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic