1 month back I wrote C++ code using Magick++ to zoom a image without distorting the Pixels . In that Code we can extact the Pixel attributes which are the Combination of Red , Blue and Green and Alpha attributes(Contributes to Picture Transparancy So , not present in Every Image ). But RBG combination is present in every image . Each attributes contribute to 1 byte (32 bits ) .
Every 4bytes/3 bytes Constitute a single pixel depending alpha attribute is present or not in the pic . If u want to get Quantize the image then u have to read the Pixel's Property starting from (0,0) to (M,N) , where MxN is the dimension of the image . This Attibutes are representated in 2D array and is sufficient to serve ur purpose . And I this is Offcourse Supported for Java except for TIFF and JPEG 2000(plugin required separately) . There are many plugins also available for extracting this attributes . Some plug in enables you to read the Image and and and it will return you the starting address of the index (0,0) Corner left of the Image . And from there u can read the Bytes to get the attributes depending the picture support the Tranparency Property(alpha attribute). On 1/8/12, sravanreddy001 <[email protected]> wrote: > @Deepak: Digitization of the image doesn't have a algorithmic approach, > (unless you need to compress it) > > But, i see that you are asking for a way to convert the image (jpg) into a > memory representation. > I am not sure of matlab, but, using java (images API) you have to read the > data into digital form (format needed for the neutal network) > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/OdrIp1J5tbsJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Somnath Singh -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
