[Jprogramming] cleanest diamond
Linda Alvord
lindaalvord at verizon.net
Thu Jun 29 01:07:06 UTC 2017
Here is how I wrote your verb. How would you write it as an explicit verb?
f=: [:>./([:([:>:i.)#)([: >./[ * <./\)"0 1 ]
f qq
7030779
Linda
-----Original Message-----
From: Programming [mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Raul Miller
Sent: Wednesday, June 28, 2017 12:33 PM
To: Programming forum <programming at jsoftware.com>
Subject: Re: [Jprogramming] cleanest diamond
Technically, any result which is not a reversible transformation of the image can be thought of as "losing information".
--
Raul
On Wed, Jun 28, 2017 at 12:29 PM, Don Guinn <donguinn at gmail.com> wrote:
> Are you losing information by applying the threshold to each point without
> regard to the points around it? If most or all the points around it are
> large values then it is more likely that the threshold should be lower than
> if the point is surrounded by lower values. Also, maybe look at the overall
> brightness of the image to help set the threshold.
>
> On Wed, Jun 28, 2017 at 5:46 AM, Brian Schott <schott.brian at gmail.com>
> wrote:
>
>> Linda,
>>
>> I see it and it is a beautiful diamond.
>> Thanks,
>>
>> On Tue, Jun 27, 2017 at 10:02 PM, Linda Alvord <lindaalvord at verizon.net>
>> wrote:
>>
>> >
>> > load 'viewmat'
>> > ]B=:A*.|.A*.|.A=:-.(500+x)</|x=:i:500
>> > ]P=:2 3$255 255 255 255 0 0
>> > P viewmat B
>>
>>
>>
>> > I couldn't resist making a "beginner's diamond.
>> >
>> > Good luck with the cards. I'm looking forward to seeing wha you make.
>> >
>> > Linda
>> >
>> >
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list