Skip to content

Commit

Permalink
adapted normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
chiarasch committed Jul 29, 2024
1 parent 3699866 commit 9997992
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions scripts/phenoimager2mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@
# AUTHOR: Chiara Schiller <chiara.schiller@uni-heidelberg.de>
# DESCRIPTION: Convert PhenoImager output .tif tiles to a single .tif file with correct OME-XML metadata
########################################################################################################

import os
import numpy as np

import argparse
import warnings
import copy
import platform
from argparse import RawDescriptionHelpFormatter
import os

import numpy as np
import tifffile as tiff
from PIL import Image
import xml.etree.ElementTree as ET
import ome_types
from ome_types.model import OME,Instrument,Pixels,TiffData,Channel,Plane,Pixels_DimensionOrder
from ome_types.model.simple_types import PixelsID
from ome_types.model.pixels import DimensionOrder
import copy
import platform
from uuid import uuid4
from ome_types import to_xml
from skimage import util
Expand Down Expand Up @@ -300,7 +298,7 @@ def create_ome(all_tile_metadata, input_dir, num_markers):
the_t=0,
the_z=0,
position_x=0,
position_y=0,
position_y=0,
position_z=0,
exposure_time=0
))
Expand Down

0 comments on commit 9997992

Please sign in to comment.