## Fereydoon_Shekofte

Mr. Fereydoon Shekofte

## 213 Reputation

11 years, 164 days

## Social Networks and Content at Maplesoft.com

http://forum.imagej.net/ http://imagej.1557.x6.nabble.com/

summum bonum

## you are subtle !...

thanks for branching ...

## copy&past problem ......

i do not know why while copying and pasting subscripts lik this , the structure of the original expression don't remain intact ?

## indeed...

so dummy i didn't notic to it so far :(

## example...

@Carl Love thanks a lot for your attention !

in this 64x64 pixel image is a Khaki circle with RGB values [240, 230, 140]

now my purpose is to manipulate only the pixels that located on the khaki circle and change their colors regardless of rest of image ...

by this way i want to extract the positions first , then count them , and assign new color values to them according to my custom function !

## description ......

i have an image processing project that is relevant to finding the coordinate of special pixels in an image

the only command i know for my purpose is ArrayTools[SearchArray]

http://www.maplesoft.com/support/help/Maple/view.aspx?path=ArrayTools/SearchArray

but unfortunately it only return two indices (usabele only for monochrom images , not RGB images) and also it match all nonzero values but i need exact value ! ( do you have a better offer ? )

then i found my desierd function in mathematica : PixelValuePositions

as you see it return the indices in the form : {{x,y} , ..}

i am not very familiar with mathematica and i have to do my project in maple and as you know

for making an array from indices the construction is (x,y)=value ...

i will become so glad if you know an efficient different way ?

## stylish manner...

now i think we have the equivalent ++ operator here !

## stylish manner...

now i think we have the equivalent ++ operator here !

## one of the best method...

indeed

i should try it :-)

## one of the best method...

indeed

i should try it :-)

## that is a simple and nice...

i wondered that i can't figure your way myself ! really smart

`I do not see, how a C-style '++' would answer your question`

i will try to show it in another example but i need some time ...

## that is a simple and nice...

i wondered that i can't figure your way myself ! really smart

`I do not see, how a C-style '++' would answer your question`

i will try to show it in another example but i need some time ...

## i need an efficient method...

`that way is too long for my purpose !`

`because i need the value of the counter while generating the sequences ( that is only a simple example , i have a complex nested sequences ... )`

## i need an efficient method...

`that way is too long for my purpose !`

`because i need the value of the counter while generating the sequences ( that is only a simple example , i have a complex nested sequences ... )`

## history of blogs in Mapleprimes by pagan...

@pagan

i appreciate for your nice comment ! and history of blogs in Mapleprimes

now i know about important role of tags in posts .

therefore if we elaborate tags , there is a lots of advantages ...

 4 5 6 7 Page 6 of 7
﻿