MathGroup Archive 2013

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

Search the Archive

Re: ImageTaker[img, {{x1,y1},{x2,y2}} ] useful toolfunction


Am Samstag, 30. M=E4rz 2013 09:07:02 UTC+1 schrieb roby:
> Just a little bit more compact version:
>
>
>
> ImageTaker[img_, c_] := ImageTake[img, Sequence @@ (
>
>     c // Transpose // Reverse // Sort /@ #& //
>
>      MapAt[First@ImageDimensions@img - Reverse@#&, #, 1]&)]
>
>
>
>
>
> Robert

Ok just, learned that starting with Mathematica 8

ImageTrim[]

does the miracle.

thx to Matthias Odisio

Robert



  • Prev by Date: Re: useful toolfunction
  • Next by Date: Re: IntegerPart
  • Previous by thread: Re: useful toolfunction
  • Next by thread: Re: Quit is grayed out in Mathematica 8.0.4