Viewing Gigapixel Images - image-processing

I am processing gigapixel images and want to display them.I have the subimages at different levels of the image pyramid.Now I need a viewer which can be used to show these images in the output? I looked at deep zoom and indeed my output is like the one wanted by it but I do not want to use deep zoom composer .I want to directly link the subsampled images that I create with the viewer.Is it possible to do so and if so how?

I'm not sure what you are doing, but maybe Nip2 can help?

If you have created your deepzoom image in .dzi format, this will help. Download the openseadragon folder from https://github.com/openseadragon/openseadragon/releases/download/v2.3.1/openseadragon-bin-2.3.1.zip.
Copy script from https://openseadragon.github.io/docs/ and give correct path of image directory and openseadragon folder and save it in .HTML to view the .dzi image from browser. You can write your own code to automatically link the image path and openseadragon js folder if you need. Hope this help.

Related

Image Manipulation/Processing

Google has this 1 whole png image.
They were able to separate it piece by piece and made it into this:
But when I tried looking at the source image, what I got was the whole image at the top.
What did they use to manipulate/cut the image and place it into the order above? (Well it doesn't have to be exactly what they used.)
Any ideas?
Google "sprites" that should get you all you need

Solution for display image in library website

In my website, I have a library contain all image of user, I want to display all image in this library. How can I do it?
I have solution but I can’t do it. This’s my solution. I’ll create thumbnail for each image and display it in library. Size of thumbnail is very small, so I don’t worry about performance. If I create thumbnail in my server. It must download, read and resize these images, then it return for my website. This way I feel not good. I have many images, each customer have about hundreds images, size of each image about 1mb or 2mb. I think have no server can handle it. Another way is create thumbnail on client by jQuery, but I can’t do it and my friend talk with me. jQuery don’t handle it. How can I do it for my solution? Hope you understand what I mean
I think you can use pagination if you would like to return million images in a page
so for instance 50 images per page to keep up with your web performance
You need to generate thumbnails on server and show thumbnails in the gallery. When a user clicks on a thumbnail in the gallery, show the full image.
I think your first idea is better. Because you don't want to show the images in actual size and you want to make them smaller. So using their thumbnail is a good solution. If you think this could add some complexity you can make the thumbnails for each image when user uploads them and in your view just use the thumbnails.

AV Foundation Capture Image

My basic task is to capture a part of an image and then use it. To give you an overview, I am creating an app based on OCR, I allow to user to take a picture using camera. However, rather than processing the entire image, I only want some part of it to be selected and send for processing (Preferably a rectangle). So, to sum it up, I want an overlay to be provided, and I want the image inside that overlay to be further used rather than the entire clicked image.
Now, by my understanding, I realize that AVFoundation is the tool to capture the image, however in my app I have used UIImagePicker. I am totally confused since I am a newbie and not sure hot to proceed ahead. Appreciate all for the help. Thanks again
There is fine open source library for OCR in iOS :
https://github.com/nolanbrown/Tesseract-iPhone-Demo
This will work best if the image resolution is 150 * 150 . For more in formation of other libraries you can also refer the SO question:OCR Lib

Programmatically rotate tiff image (or pdf)

Does anyone know a way of rotating an image (jpg or gif) in a TWebBrowser control (using Delphi)
Update
The file would be local.
Update 2
So I guess the question should be how do I rotate an image or pdf.
If you have control over the content return in the TWebBrowser it can be done via JavaScript.
Here is an example on JavaScript Image Rotation.
If you want to do it with a TImage there are several options listed in this Q/A.
I guess that you already use this approach to show the HTML content in your TWebBrowser.
Now, instead of JavaScript (as suggested by Robert), you use CSS in the generated HTML document.
I haven't tested this, but you should be able to rotate the image (and other HTML-elements) by using this CSS code (for IE-based browsers):
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
See details at MSDN
Well if it's on a website (in the TWebBrowser) then you can't rotate it. The best you can do is if the image is on your website you can use PHP/ASP/etc. to load the image, and produce a rotated version of it.

How can a webserver do images like this?

Below is a thumbnail type image that is on a post from http://doctype.com/, if you haven't been on the site yet, it is similar to this site but for css/design stuff and when you post a question you can have it post a screenshot image as well for you of a website url.
Below is one of them I saw, do you think this is something done programmticly?
IF so how would you do this server side?
(source: doctype.com)
You can achieve this screenshot-in-a-note effect by having a template image of the curled-paperclipped-note (the curled border, the paper clip, the shadow) and a mask for where the screenshot of the site should fit inside the template. Once you get the screenshot you just rotate it slightly and compose it with the template.
To compose it programmatically you could use ImageMagick as sugested by cpharmston.
Here's an alternative of how to compose the two images with PIL and python.
If it is done programmatically, it likely uses an image processing library. GD and ImageMagick are two of the more popular ones.
Yes, you need to do it programmatically on the server. There are some flash plugins to do it, but I think server side is the way to go.
This is how I did it:
http://www.guangmingsoft.net/htmlsnapshot/html2image.htm
http://www.imagemagick.org/script/index.php

Resources