MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: non rectangular crop


On 7/2/2010 7:28 AM, Alessandro wrote:
> is it possible to have a not rectangular image in Mathematica?
>
> I have a lot of images acquired by microscope - they are all squared,
> with the circular field of view surrounded by black.
> I'd like - for further processing - to crop all the black region
> outside the circle.
>
> Or perhaps images are all rectangular in M?

disk = Graphics[Disk[]]

ImageAdd[disk, pic]

Where pic is your original image. You might have to adjust the size of 
the disk.

See the Documentation for lots of other functions for working with images:

guide/ImageProcessing


-- 
Helen Read
University of Vermont


  • Prev by Date: Re: Need to Speed up Position[]
  • Next by Date: Is it possible to query current plot range values (or have
  • Previous by thread: Re: non rectangular crop
  • Next by thread: Re: non rectangular crop