Dual Windows (image and text) for the same image file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Dual Windows (image and text) for the same image file

Yang Xia
I have been using Spyglass' Transform for a long time for image editing. A
particularly nice feature of Transform is its ability to show the numbers
behind the image. When I want to open an image, it will open initially a 2D
data window with rows/columns of numbers. I can generate an image based on
the data window. If I click at one pixel on the image, the number at this
pixel is highlighted in the data window. If I select a region in the image,
the numbers of this region are also highlighted in the data window. One can
do lots of things with the numbers in the data window (such as math
operations of multiple windows).

I am wondering if this feature is possible in ImageJ? I am sure ImageJ has
the data window in the background. Bring it to the front will offer the
opportunity of examining the details behind each pixel.

Transform is ancient software and runs only on Mac OS 9. Its company has
been sold - the new owner has no plan to update it.

I greatly appreciate if someone knows how to implement this feature in
ImageJ or some other software that has this feature.

Thanks in advance.

Yang

[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Dual Windows (image and text) for the same image file

Michael Schmid
Hi Yang,

of course, ImageJ has the image data in memory, but it does
not have a "hidden" window with the data as text.

What one could do is writing a plugin that shows the pixel
values of the immediate surrounding of the current pixel,
e.g. 5x5 pixels around the cursor. An alternative (or extension)
would be writing a plugin that writes these pixel values to
the Results table. Would that solve your problem?

Having a table of ALL image data would be a challange at least
for slower computers and big images - I don't think that this
would be useful.

I am not aware of an existing plugin that could do this; maybe
someone else knows a suitable plugin.

Doing math with ImageJ should not be a problem (Process>Math,
Process>Image Calculator, Analyze>Measure); operations except
ImageCalculator support selections.


Michael
________________________________________________________________

On 26 Nov 2007, at 15:31, Yang Xia wrote:

> I have been using Spyglass' Transform for a long time for image  
> editing. A
> particularly nice feature of Transform is its ability to show the  
> numbers
> behind the image. When I want to open an image, it will open  
> initially a 2D
> data window with rows/columns of numbers. I can generate an image  
> based on
> the data window. If I click at one pixel on the image, the number  
> at this
> pixel is highlighted in the data window. If I select a region in  
> the image,
> the numbers of this region are also highlighted in the data window.  
> One can
> do lots of things with the numbers in the data window (such as math
> operations of multiple windows).
>
> I am wondering if this feature is possible in ImageJ? I am sure  
> ImageJ has
> the data window in the background. Bring it to the front will offer  
> the
> opportunity of examining the details behind each pixel.
>
> Transform is ancient software and runs only on Mac OS 9. Its  
> company has
> been sold - the new owner has no plan to update it.
>
> I greatly appreciate if someone knows how to implement this feature in
> ImageJ or some other software that has this feature.
>
> Thanks in advance.
>
> Yang
>
> [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Dual Windows (image and text) for the same image file

Michael Schmid
In reply to this post by Yang Xia
Hi Yang,

since this was on my wishlist anyhow, I have created a plugin
that displays the pixel values around the cursor position:

http://imagejdocu.tudor.lu/imagej-documentation-wiki/plugins/ 
pixel_inspector

Michael
________________________________________________________________


On 26 Nov 2007, at 15:31, Yang Xia wrote:

> I have been using Spyglass' Transform for a long time for image  
> editing. A
> particularly nice feature of Transform is its ability to show the  
> numbers
> behind the image. When I want to open an image, it will open  
> initially a 2D
> data window with rows/columns of numbers. I can generate an image  
> based on
> the data window. If I click at one pixel on the image, the number  
> at this
> pixel is highlighted in the data window. If I select a region in  
> the image,
> the numbers of this region are also highlighted in the data window.  
> One can
> do lots of things with the numbers in the data window (such as math
> operations of multiple windows).
>
> I am wondering if this feature is possible in ImageJ? I am sure  
> ImageJ has
> the data window in the background. Bring it to the front will offer  
> the
> opportunity of examining the details behind each pixel.
>
> Transform is ancient software and runs only on Mac OS 9. Its  
> company has
> been sold - the new owner has no plan to update it.
>
> I greatly appreciate if someone knows how to implement this feature in
> ImageJ or some other software that has this feature.
>
> Thanks in advance.
>
> Yang
>
> [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Dual Windows (image and text) for the same image file

Nino Pereira
As a new user of ImageJ I haven't had time to find out
for myself whether you can edit images within ImageJ, but a
recent question brought up the topic: it makes me think you can't.
Hence my question: can you crop inside ImageJ? and if so, how?

Specifically, my (Epson) scanner produces a 16-bit RGB image
of a whole (8.5 x 11 inch, or basically A4) page. The result is
what I think of as an enormous (13 Mb) file that's difficult
to email around. I need only a 10 by 100 mm fraction that should
be much smaller.

On my linux system I can crop the image with the Gimp, but only
after converting to 8-bit RGB, which I don't want to do.

I can get what I need (the value over the central part of
my image, integrated over the small direction, in the red
image only) by hand, selecting a region, integrating and then
exporting the numbers, but this still leaves me with a large
file to store. I understand I can split the image into its R,
G, and B components (although I haven't tried that yet),
but I haven't seen any pointer to whether an image can be cropped.

Any pointers?

Thank you,

Nino R. Pereira

Michael Schmid wrote:

> Hi Yang,
>
> since this was on my wishlist anyhow, I have created a plugin
> that displays the pixel values around the cursor position:
>
> http://imagejdocu.tudor.lu/imagej-documentation-wiki/plugins/pixel_inspector 
>
>
> Michael
> ________________________________________________________________
>
>
> On 26 Nov 2007, at 15:31, Yang Xia wrote:
>
>> I have been using Spyglass' Transform for a long time for image
>> editing. A
>> particularly nice feature of Transform is its ability to show the numbers
>> behind the image. When I want to open an image, it will open initially
>> a 2D
>> data window with rows/columns of numbers. I can generate an image
>> based on
>> the data window. If I click at one pixel on the image, the number at this
>> pixel is highlighted in the data window. If I select a region in the
>> image,
>> the numbers of this region are also highlighted in the data window.
>> One can
>> do lots of things with the numbers in the data window (such as math
>> operations of multiple windows).
>>
>> I am wondering if this feature is possible in ImageJ? I am sure ImageJ
>> has
>> the data window in the background. Bring it to the front will offer the
>> opportunity of examining the details behind each pixel.
>>
>> Transform is ancient software and runs only on Mac OS 9. Its company has
>> been sold - the new owner has no plan to update it.
>>
>> I greatly appreciate if someone knows how to implement this feature in
>> ImageJ or some other software that has this feature.
>>
>> Thanks in advance.
>>
>> Yang
>>
>> [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Dual Windows (image and text) for the same image file

Bill Christens-Barry
In reply to this post by Yang Xia
Michael Schmid's pixel inspector plugin is a nice tool.

One comment/question: the y-axis (row) labeling in its text window increases in the upward
direction, yet I no longer find an option in ImageJ to invert the y-coordinates. Is this directionality
intentional?

I see that the visual location of pixel values in the text window corresponds to their location in the
image, which is good, but for someone using the text window to note the pixel values at particular
coordinates this could be confusing. Perhaps the directionality of the y-axis could be made a user
option.

Thanks.

Bill Christens-Barry
Reply | Threaded
Open this post in threaded view
|

Re: Dual Windows (image and text) for the same image file

Gabriel Landini
On Tuesday 27 November 2007 20:54:21 Bill Christens-Barry wrote:
> One comment/question: the y-axis (row) labeling in its text window
> increases in the upward direction, yet I no longer find an option in ImageJ
> to invert the y-coordinates. Is this directionality intentional?

It doesn't in my install. You must have the Analyze>Set Measurements>Invert Y
Coordinates box ticked.

BTW, the plugin is really good. A nice additional feature would be to be able
to show RGB values.
G.
Reply | Threaded
Open this post in threaded view
|

Re: Dual Windows (image and text) for the same image file

Bill Christens-Barry
In reply to this post by Yang Xia
Thanks, Gabriel, I see that I had lost track of how to set this user option in ImageJ. My contentment is
complete.

Bill Christens-Barry
Reply | Threaded
Open this post in threaded view
|

Re: Dual Windows (image and text) for the same image file

Michael Schmid
In reply to this post by Gabriel Landini
Hi everyone,

a new version of the Pixel Inspector is online:

http://imagejdocu.tudor.lu/imagej-documentation-wiki/plugins/ 
pixel_inspector

New features:

- Different readout options (calibrated/uncalibrated, RGB/gray value,  
hex).
- Table size (radius) can be changed from the Prefs menu.
- Copy values to clipboard.
- Fixing the position to see how a filter affects the pixel values.

Michael
________________________________________________________________

On 28 Nov 2007, at 10:46, Gabriel Landini wrote:

> ...
> A nice additional feature would be to be able
> to show RGB values.
> G.