Posted by
Jan Eglinger on
Jun 27, 2014; 8:34am
URL: http://imagej.273.s1.nabble.com/Contrast-brightness-in-selected-areas-tp5008461p5008463.html
Hi Søren,
an alternative method in your case is to use the
'Image > Stacks > Tools > Montage to Stacks...'
command, then make the adjustments on each slice and redo the montage
using 'Image > Stacks > Make Montage...'.
The respective macro commands are:
run("Montage to Stack...", "images_per_row=2 images_per_column=2");
run("Make Montage...", "columns=2 rows=2 scale=1 increment=1");
Cheers,
Jan
On 27.06.2014, 9:45 AM, Straatman, Kees (Dr.) wrote:
> Dear Søren,
>
> You can duplicate your selection, make your changes in the duplicated image, copy the optimised image, select your original image with the selection still in place and paste the optimised selection back in the ROI.
>
> Best wishes
>
> Kees
>
> -----Original Message-----
> From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Søren Roesgaard Nielsen
> Sent: 27 June 2014 08:24
> To:
[hidden email]
> Subject: Contrast/brightness in selected areas
>
> Hi all
>
> I am new to IMAGEJ/Fiji and have some troubles.
>
> I have a TEM picture which is composed from 4 collectors and merged automatically into one picture.
> However, the setup is not calibrated properly, leading to different contrast/brightness for the different collectors.
> Therefore I am trying to go through the four sub pictures one by one and adjust the contrast so that I get a nice final picture
>
> However no matter what I try the adjust contrast/brightness is effecting the whole image and not the selection I have made.
>
> Hopefully it is possible to create a macro that can do this adjustment for all of my pictures, but right now I just need help getting started.
>
> A sample image can be found here:
>
>
https://drive.google.com/folderview?id=0B-5vWo4CxRjub1ZaRG9KVkxHVkk&usp=sharing>
> Thanks in advance
>
> Søren Roesgaard
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html